]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
vstart.sh: use output of hostname for cephadm 35813/head
authorPatrick Donnelly <pdonnell@redhat.com>
Sat, 27 Jun 2020 17:49:08 +0000 (10:49 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 30 Jun 2020 14:13:07 +0000 (07:13 -0700)
commit4aba413337e4f9041ade9b5b9e9daee9a08eb419
tree42590eca25d475184f33ebab411a72c718bcd2a6
parent5ccfc2d5d3a03d700cf9c4a48b194d7836328981
vstart.sh: use output of hostname for cephadm

Otherwise I get this error on a dev machine:

        /home/pdonnell/ceph/build/bin/ceph -c /home/pdonnell/ceph/build/ceph.conf -k /home/pdonnell/ceph/build/keyring orch host add senta03
        Error ENOENT: New host senta03 (senta03) failed check: ['INFO:cephadm:podman|docker (/bin/podman) is present', 'INFO:cephadm:systemctl is present', 'INFO:cephadm:lvcreate is present', 'INFO:cephadm:Unit chronyd.service is enabled and running', 'INFO:cephadm:Hostname "senta03" matches what is expected.', 'ERROR: hostname "senta03.front.sepia.ceph.com" does not match expected hostname "senta03"']

If `hostname` is configured to give the fqdn, we get the above error
from cephadm.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/vstart.sh