SetAPIHostPorts shouldn't record just one address per API server

Bug #1497094 reported by Menno Finlay-Smits
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Menno Finlay-Smits
juju-core
Fix Released
High
Menno Finlay-Smits
1.24
Fix Released
High
Menno Finlay-Smits
1.25
Fix Released
High
Menno Finlay-Smits

Bug Description

configInternal.SetAPIHostPorts (agent/agent.go) writes just one cloud-local address per API server to the agent config. This can lead to situations where the wrong address is chosen for the particular agent (especially if LXC bridge address filtering has failed).

SetAPIHostPorts should write out every candidate address for every server.

Tags: api
Changed in juju-core:
status: New → Triaged
summary: - SetAPIHostPorts shouldn't record just address per API server
+ SetAPIHostPorts shouldn't record just one address per API server
Revision history for this message
Menno Finlay-Smits (menno.smits) wrote :
Revision history for this message
Menno Finlay-Smits (menno.smits) wrote :
Revision history for this message
Menno Finlay-Smits (menno.smits) wrote :
Changed in juju-core:
status: Triaged → In Progress
Curtis Hovey (sinzui)
tags: added: api
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
Changed in juju-core:
milestone: 1.26.0 → 2.0-alpha1
affects: juju-core → juju
Changed in juju:
milestone: 2.0-alpha1 → none
milestone: none → 2.0-alpha1
Changed in juju-core:
assignee: nobody → Menno Smits (menno.smits)
importance: Undecided → High
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.