Bug #16131
openmessenger only uses IPv4 address of hostname
0%
Description
When running rbd with a cluster that runs on ipv6 and a hostname that have both an A and an AAAA dns pointer rbd erroneously tries only the IPv4 address.
That means that i need to hardcode IPv6 addresses in my configuration files instead of using hostnames.
This is the output from the commandline:
root@host002:~# /usr/bin/rbd
p rbd -m 2a02:ed06::223 -n client.admin --keyring /etc/pve/priv/ceph/hackeriet-ceph-storage.keyring --auth_supported cephx ls -l:/1888653444 >> 185.35.202.223:6789/0 pipe(0x3b93550 sd=3 :0 s=1 pgs=0 cs=0 l=1 c=0x3b8c450).fault
root@host002:~# /usr/bin/rbd -p rbd -m host002.hackeriet.no -n client.admin --keyring /etc/pve/priv/ceph/hackeriet-ceph-storage.keyring --auth_supported cephx ls -l
2016-06-02 20:29:25.793542 7f1ba883b700 0 -
2016-06-02 20:29:28.793614 7f1b9b7eb700 0 -- :/1888653444 >> 185.35.202.223:6789/0 pipe(0x7f1b90000c00 sd=4 :0 s=1 pgs=0 cs=0 l=1 c=0x7f1b90004ef0).fault
2016-06-02 20:29:31.793723 7f1ba883b700 0 -- :/1888653444 >> 185.35.202.223:6789/0 pipe(0x7f1b900081b0 sd=4 :0 s=1 pgs=0 cs=0 l=1 c=0x7f1b9000c450).fault
^C
I use the Hammer release.
Updated by Jason Dillaman almost 7 years ago
- Subject changed from rbd only uses IPv4 address of hostname to messenger only uses IPv4 address of hostname