EthernetDeviceForBridge fails if bridge has external addresses
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
In Progress
|
Medium
|
Joseph Phillips |
Bug Description
I have a host with multiple ips on its bridge: (for example)
my:prefix:
my:prefix:
I have configured juju to only manage the statically assigned addresses on subnet2/64
`juju list-subnets` correctly lists my:prefix:
When juju calls linklayerdevice
for the first address on the bridge (the dynamic one) and since the mask is /128 it fails
with "retrieving subnet my:prefix:
of host machine device br-ens2".
I made it loop over the devices and return the first valid one, and it works.
I'll put a pull request on github shortly and would like your feedback as I'm new to open source :)
Changed in juju: | |
importance: | Undecided → Medium |
status: | Triaged → In Progress |
https:/ /github. com/juju/ juju/pull/ 17015