Actions
Bug #55556
closedcephadm fails to bootstrap when an ipv6 address is provided
% Done:
0%
Source:
Tags:
Backport:
quincy,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Description
root@ceph-node-0 ~]# cephadm --image registry.hub.docker.com/rkachach/ceph:custom-v0.6 bootstrap --mon-ip 2001:0db8:85a3:0000:0000:8a2e:0370:7334 --initial-dashboard-password admin --allow-fqdn-hostname --dashboard-password-noupdate -c /root/ceph.conf Verifying podman|docker is present... Verifying lvm2 is present... Verifying time synchronization is in place... Unit chronyd.service is enabled and running Repeating the final host check... podman (/usr/bin/podman) version 3.4.4 is present systemctl is present lvcreate is present Unit chronyd.service is enabled and running Host looks OK Cluster fsid: 0731542a-cc7a-11ec-9407-52540023bc9f Verifying IP [2001:0db8:85a3:0000:0000:8a2e:0370:7334] port 3300 ... Verifying IP [2001:0db8:85a3:0000:0000:8a2e:0370:7334] port 6789 ... The public CIDR network 2001:0db8:85a3:0000:0000:8a2e:0370:7334/128 (from -c conf file) is not configured locally. Traceback (most recent call last): File "/root/bin/cephadm", line 9125, in <module> main() File "/root/bin/cephadm", line 9113, in main r = ctx.func(ctx) File "/root/bin/cephadm", line 2087, in _default_image return func(ctx) File "/root/bin/cephadm", line 5427, in command_bootstrap (addr_arg, ipv6, mon_network) = prepare_mon_addresses(ctx) File "/root/bin/cephadm", line 4794, in prepare_mon_addresses mon_network = get_public_net_from_cfg(ctx) or infer_mon_network(ctx, addrv_args) File "/root/bin/cephadm", line 4728, in get_public_net_from_cfg if not ip_in_subnets(ctx.mon_ip, public_network): File "/root/bin/cephadm", line 4642, in ip_in_subnets if ipaddress.ip_address(ip_addr) in ipaddress.ip_network(subnet): File "/usr/lib64/python3.9/ipaddress.py", line 53, in ip_address raise ValueError('%r does not appear to be an IPv4 or IPv6 address' % ValueError: '[2001:0db8:85a3:0000:0000:8a2e:0370:7334]' does not appear to be an IPv4 or IPv6 address
Updated by Redouane Kachach Elhichou almost 2 years ago
- Status changed from New to Fix Under Review
- Pull request ID set to 46163
Updated by Redouane Kachach Elhichou almost 2 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Redouane Kachach Elhichou almost 2 years ago
- Backport set to quincy,pacific
Updated by Redouane Kachach Elhichou almost 2 years ago
- Status changed from Pending Backport to Resolved
Actions