cinder-backup from ceph with ipv6 is broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-brick |
Fix Released
|
Undecided
|
Jon Bernard |
Bug Description
When cinder is configured to use ipv6, a cinder-backup from a ceph volume will
fail to connect. This happens because cinder-backup calls to os-brick to
connect to the ceph cluster - which generates a temporary ceph.conf file in
/tmp. This file contains a list of monitor IP addresses and ports like:
mon_host =
fd00:
fd00:
fd00:
For ipv6, the ip addresses must be enclosed in square brackets to prevent
confusion with the port number. The correct string should instead be:
mon_host =
[fd00:
[fd00:
[fd00:
The same change applied to ipv4 addresses works also, no regressions.
If you need a formal reference, see RFC 3986, Section 3.2.2.
Changed in os-brick: | |
status: | New → Fix Released |
assignee: | nobody → Jon Bernard (jbernard) |
no longer affects: | cinder |
https:/ /review. openstack. org/#/c/ 396356/