Actions
Support #46758
closedERROR: hostname "rgw1" does not match expected hostname "rgw1.clyso.cloud"
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Tags:
Reviewed:
Affected Versions:
Pull request ID:
Description
looks like cephadm is checking /etc/hostname instead of hostname -f:
/etc/hostname = "rgw1" hostname -f = "rgw1.clyso.cloud" ceph orch host add rgw1.clyso.cloud Error ENOENT: New host rgw1.clyso.cloud (rgw1.clyso.cloud) failed check: ['INFO:cephadm:podman|docker (/usr/bin/docker) is present', 'INFO:cephadm:systemctl is present', 'INFO:cephadm:lvcreate is present', 'INFO:cephadm:Unit systemd-timesyncd.service is enabled and running', 'INFO:cephadm:Hostname "rgw1.clyso.cloud" matches what is expected.', 'ERROR: hostname "rgw1" does not match expected hostname "rgw1.clyso.cloud"']
after changing /etc/hostname from "rgw1" to "rgw1.clyso.cloud" it works:
ceph orch host add rgw1.clyso.cloud
Added host 'rgw1.clyso.cloud'
Updated by Tobias Fischer over 3 years ago
my error. should have added host like this ceph orch host add rgw1 rgw1.clyso.cloud
please delete
Updated by Sebastian Wagner over 3 years ago
- Tracker changed from Feature to Support
- Description updated (diff)
Updated by Sebastian Wagner over 3 years ago
- Status changed from New to Resolved
please also have a look at https://docs.ceph.com/docs/master/cephadm/concepts/#fully-qualified-domain-names-vs-bare-host-names
Actions