Project

General

Profile

Actions

Support #46758

closed

ERROR: hostname "rgw1" does not match expected hostname "rgw1.clyso.cloud"

Added by Tobias Fischer over 3 years ago. Updated over 3 years ago.

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'

Actions #1

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

Actions #2

Updated by Sebastian Wagner over 3 years ago

  • Tracker changed from Feature to Support
  • Description updated (diff)
Actions

Also available in: Atom PDF