Not properly handling ipv6 on contrib.network.ip.get_address_in_network
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
New
|
High
|
Jorge Niedbalski |
Bug Description
[Description]
While investigating the root cause of https:/
I discovered a couple of issues on the function get_address_
when using ipv6 addresses.
1) ::1 must be skipped when iterating over the list of available networks
as this is the loopback address.
unit-ceph-
2) IPNetwork doesn't support netmasks for ipv6 addresses,
instead a prefix should be used.
unit-ceph-
tags: | added: sts |
Changed in charm-helpers: | |
importance: | Undecided → High |
assignee: | nobody → Jorge Niedbalski (niedbalski) |
description: | updated |
description: | updated |