Juju 1.25.10 is running hooks prior to additional network interfaces being up
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Present in an OpenStack cloud provisioned with Juju 1.25 and the 17.02 series OpenStack charms, deploying services to LXC containers.
Charms deployed to Xenial LXCs, which are then related to hacluster services, also running under Xenial LXCs, fail to detect network interfaces in ha-relation-joined, causing all VIPs to attempt to land on the interface configured in `vip-interface` on the related service. This causes a problem when multiple VIPs are the be configured on different network interfaces, as secondary interfaces configured in the /etc/network/
Running the same hook after system boot shows the correct number of VIPs being configured on the correct interfaces.
An example of this is when relating nova-cloud-
The VIP to CIDR to interface mapping is occuring correctly, and has been tested manually by using the netaddr and netifaces python modules, as is present in the nova_cc_hooks.py file in the nova-cloud-
We're unlikely to do updates to the 1.25 series at this time, but if we do, we can keep this in mind.