Exclude Ubuntu Fan addresses
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Medium
|
Joseph Phillips |
Bug Description
Hi,
For dedicated Juju 2.x controllers, agent.conf has the following:
apiaddresses:
- 10.131.X.Y:17070
- 252.170.0.1:17070
- 10.131.X.Y:17070
- 252.248.0.1:17070
- 10.131.X.Y:17070
- 252.109.0.1:17070
From the above, the 252.X.Y.Z addresses are all from Ubuntu Fan Networking[1][2]. These are unreachable in set ups where Juju controllers are separate environments. I think Juju should exclude Fan addresses when advertising the list of IPs of the controllers as well as on the agent side discovering Juju controllers.
Looking at the ubuntu-fan package source, in particular debian/
250.0.0.0/8
251.0.0.0/8
252.0.0.0/8
253.0.0.0/8
254.0.0.0/8
[1]https:/
[2]https:/
summary: |
- Exclude Ubuntu FAN addresses + Exclude Ubuntu Fan addresses |
Changed in juju: | |
assignee: | nobody → Joseph Phillips (manadart) |
Changed in juju: | |
status: | Triaged → Fix Committed |
milestone: | none → 2.9.35 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
Changed in juju: | |
status: | Fix Released → Triaged |
milestone: | 2.9.35 → none |
Changed in juju: | |
status: | Triaged → Won't Fix |
Changed in juju: | |
status: | Won't Fix → Triaged |
Just to confirm, Haw, is this something that causes actual issues, or just something that is juju not taking into account routing when supplying addresses? (I would assume that logs will include entries that indicate it is trying but not succeeding at using those addresses, but it should successfully connect to the other addresses)
I'm loathe to just have a special case that strips them, because I would like to have a clearer model of networking that includes routing, that would naturally say "you're not on the same fan as the controller, therefore those addresses are not routable, and should thus not be included."
In a practical sense, we know that Fan isn't inherently better than normal addresses for this use case (we won't be putting controllers into LXD containers any time soon). So we could just strip them.