Actions
Bug #52446
closedceph bootstrap fails with ipv6 mon-ip
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
$ sudo cephadm -v bootstrap --mon-ip 2001:db8::100
this does spin up the monitor and the mgr, but fails when it tries to add itself with:
Non-zero exit code 22 from /usr/bin/podman run --rm --ipc=host --stop-signal=SIGTERM --net=host --entrypoint /usr/bin/ceph --init -e CONTAINER_IMAGE=docker.io/ceph/ceph:v16 -e NODE_NAME=alpha -e CEPH_USE_RANDOM_NONCE=1 -v /var/log/ceph/f39c0272-08e6-11ec-bb7f-8199fff7b341:/var/log/ceph:z -v /tmp/ceph-tmptrsobuik:/etc/ceph/ceph.client.admin.keyring:z -v /tmp/ceph-tmpr8toh3dl:/etc/ceph/ceph.conf:z docker.io/ceph/ceph:v16 orch host add alpha [2001:db8::100] /usr/bin/ceph: stderr Error EINVAL: Cannot resolve ip for host [2001:db8::100]: [Errno -2] Name or service not known /usr/bin/ceph: stderr You may need to supply an address for [2001:db8::100]
and indeed just to confirm that this doesn't work:
$ sudo ceph orch host add alpha [2001:db8::100] Error EINVAL: Cannot resolve ip for host [2001:db8::100]: [Errno -2] Name or service not known You may need to supply an address for [2001:db8::100]
whereas this works fine:
$ sudo ceph orch host add alpha 2001:db8::100 Added host 'alpha' with addr '2001:db8::100'
The bootstrap command works in Octopus, but this fails in Pacific
Updated by Greg Farnum over 2 years ago
- Project changed from Ceph to Orchestrator
Updated by Sebastian Wagner over 2 years ago
- Status changed from New to Pending Backport
- Pull request ID set to 42589
Updated by Sebastian Wagner over 2 years ago
- Status changed from Pending Backport to Resolved
Actions