-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get_ipv6_addr does not actually check if addresses are dynamic #877
Comments
I'm running into this issue with the openstack-loadbalancer charm as well.
|
mysql-innodb-cluster is also affected. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think this if condition is not correct.
I'm using the
ceph-osd
charm which fails themon-relation-changed
hook saying that there is no valid address.Here's the logs:
The interface the logs refer to, has a
global dynamic
, aglobal
and alink-local
address.get_ipv6_addr
was correctly excluding the link-local one; the condition dynamic_only is weirdly defaulted toTrue
(which I agree with #554 should not be) and the function should've returned theglobal dynamic
one.The original conditions allows the address only if either we're getting dynamic and non-dynamic addresses, or if we're only getting dynamic ones they must have the eui 64 mac at the end which should only be in some SLAAC assigned ones, while it breaks DHCPv6.
The text was updated successfully, but these errors were encountered: