Project

General

Profile

Actions

Fix #11007

open

docs: federated rgw setup is not explicit about short hostname needs

Added by Alfredo Deza about 9 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
documentation
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Brought Yehuda to give me a hand and he had to add a `-x` to the init script (!) to actually get some output as to
why the daemon isn't starting.

The init script now sent errors to `/var/log/messages` where we saw:

Feb 20 13:42:25 magna123 ceph-radosgw: ++ ceph-conf -n client.radosgw.magna host
Feb 20 13:42:25 magna123 ceph-radosgw: + host=magna123.ceph.redhat.com
Feb 20 13:42:25 magna123 ceph-radosgw: ++ hostname -s
Feb 20 13:42:25 magna123 ceph-radosgw: + hostname=magna123
Feb 20 13:42:25 magna123 ceph-radosgw: + '[' magna123.ceph.redhat.com '!=' magna123 ']'

The init script (or the logs) need to be explicit and explain why there was an error: "fatal error: expected $some-hostname, but got $other-hostname from $config-file"

We had to change `ceph.conf` to do:

host = magna123 # magna123.ceph.redhat.com

Never in the docs it was mentioned that we were required to use the output of `shortname -s`, but even if it did, the user should be able to tell what is going on from an error report of any sort.

No data to display

Actions

Also available in: Atom PDF