MAAS retains child devices' IP addresses when a parent node is released
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Mike Pontillo | ||
1.8 |
Won't Fix
|
Critical
|
Unassigned | ||
juju-core |
Invalid
|
High
|
Unassigned | ||
1.25 |
Fix Released
|
Critical
|
Unassigned |
Bug Description
LXC container IPs are not released when Juju QA tests Juju 1.25.2 and the MAAS version is 1.8.3; even when the --force option is passed to destroy-
These symptoms started occuring around the time Juju 1.25.1 was changed to use MAAS devices for container IPs. The Juju-QA test environment was also updated from MAAS 1.8.2 to 1.8.3.
With the 1.25.0 released version of Juju, containers are allocated an IP from the dynamic range, that's been defined in the MAAS cluster config. This is true for both MAAS version 1.8.2 and 1.8.3. The dynamic range IPs are listed in /var/lib/
lease 10.0.20.17 {
starts 3 2016/01/06 20:26:06;
ends 4 2016/01/07 08:26:06;
cltt 3 2016/01/06 20:26:06;
binding state active;
next binding state free;
rewind binding state free;
hardware ethernet 00:16:3e:c2:18:f5;
client-hostname "juju-machine-
}
Development buids of Juju 1.25.2 tested against MAAS 1.8 are allocated an IP from the static range, that's been defined in the MAAS cluster config. Entries in /var/lib/
host 10.0.80.117 {
dynamic;
hardware ethernet 00:16:3e:3a:1e:e1;
fixed-address 10.0.80.117;
}
During testing, an environment is deployed using a bundle, that installs two services into LXC containers. The container IPs can be seen in the Juju status output. Once the environment is destroyed the /var/lib/
host 10.0.20.111 {
dynamic;
deleted;
}
Changed in juju-core: | |
status: | Triaged → Incomplete |
Changed in juju-core: | |
milestone: | 1.26-alpha3 → 2.0-alpha1 |
description: | updated |
Changed in juju-core: | |
importance: | Critical → High |
description: | updated |
description: | updated |
Changed in juju-core: | |
milestone: | 2.0-alpha1 → none |
Some logs will be needed to see what's going on..