2019-10-07 20:04:12 |
Harald Jensås |
description |
This is related to https://bugs.launchpad.net/bugs/1836057, but it is a new issue.
netifaces.ifaddresses('br-ctlplane') does not always return the 'local_ip' of the undercloud as the first one in the list of netifaces.AF_INET6 addresses. This causes the undercloud to try to use the 'undercloud_public_host', the 'undercloud_admin_host' or in potentially the link-local address.
The apache ip vhost only listen to the 'local_ip', so the container-image-prepare fails. |
This is related to https://bugs.launchpad.net/bugs/1836057, but it is a new issue.
netifaces.ifaddresses('br-ctlplane') does not always return the 'local_ip' of the undercloud as the first one in the list of netifaces.AF_INET6 addresses. This causes the undercloud to try to use the 'undercloud_public_host', the 'undercloud_admin_host' or in potentially the link-local address.
>>> addrs = netifaces.ifaddresses('br-ctlplane')
>>> [addr for addr in addrs[netifaces.AF_INET6]]
[{'netmask': 'ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff',
'addr': 'fd12:3456:789a:1::2'},
{'netmask': 'ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff',
'addr': 'fd12:3456:789a:1::3'},
{'netmask': 'ffff:ffff:ffff:ffff::',
'addr': 'fd12:3456:789a:1::1'}, <-- local_ip is idx=2 not idx=0
{'netmask': 'ffff:ffff:ffff:ffff::',
'addr': 'fe80::f816:3eff:fe6b:5586%br-ctlplane'}]
The apache ip vhost only listen to the 'local_ip', so the container-image-prepare fails. |
|
2019-10-07 20:04:54 |
Harald Jensås |
description |
This is related to https://bugs.launchpad.net/bugs/1836057, but it is a new issue.
netifaces.ifaddresses('br-ctlplane') does not always return the 'local_ip' of the undercloud as the first one in the list of netifaces.AF_INET6 addresses. This causes the undercloud to try to use the 'undercloud_public_host', the 'undercloud_admin_host' or in potentially the link-local address.
>>> addrs = netifaces.ifaddresses('br-ctlplane')
>>> [addr for addr in addrs[netifaces.AF_INET6]]
[{'netmask': 'ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff',
'addr': 'fd12:3456:789a:1::2'},
{'netmask': 'ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff',
'addr': 'fd12:3456:789a:1::3'},
{'netmask': 'ffff:ffff:ffff:ffff::',
'addr': 'fd12:3456:789a:1::1'}, <-- local_ip is idx=2 not idx=0
{'netmask': 'ffff:ffff:ffff:ffff::',
'addr': 'fe80::f816:3eff:fe6b:5586%br-ctlplane'}]
The apache ip vhost only listen to the 'local_ip', so the container-image-prepare fails. |
This is related to https://bugs.launchpad.net/bugs/1836057, but it is a new issue.
netifaces.ifaddresses('br-ctlplane') does not always return the 'local_ip' of the undercloud as the first one in the list of netifaces.AF_INET6 addresses. This causes the undercloud to try to use the 'undercloud_public_host', the 'undercloud_admin_host' or in potentially the link-local address.
>>> addrs = netifaces.ifaddresses('br-ctlplane')
>>> [addr for addr in addrs[netifaces.AF_INET6]]
[
{'netmask': 'ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff',
'addr': 'fd12:3456:789a:1::2'},
{'netmask': 'ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff',
'addr': 'fd12:3456:789a:1::3'},
{'netmask': 'ffff:ffff:ffff:ffff::',
'addr': 'fd12:3456:789a:1::1'}, <-- local_ip is idx=2 not idx=0
{'netmask': 'ffff:ffff:ffff:ffff::',
'addr': 'fe80::f816:3eff:fe6b:5586%br-ctlplane'}
]
The apache ip vhost only listen to the 'local_ip', so the container-image-prepare fails. |
|