2015-08-11 20:14:10 |
Andreas Hasenack |
bug |
|
|
added bug |
2015-08-11 20:14:19 |
Andreas Hasenack |
tags |
|
landscape |
|
2015-08-11 20:14:29 |
Andreas Hasenack |
bug |
|
|
added subscriber Landscape |
2015-08-11 20:15:00 |
Andreas Hasenack |
description |
juju-core 1.24.4
When using a MAAS provider, juju "leaks" container IP addresses by not DHCP releasing them in the following scenarios:
* terminate-machine --force
Any containers in that machine will not release their leases (without --force does not apply, because juju does not allow you to terminate a machine that still has units on it). The IP of the machine itself is correctly released.
* destroy-environment with or without --force
Only the IPs of the actual machines are released. Container IPs "leak"
One use case is the Autopilot: when removing a deployed region, it issues a destroy-environment. If that exits non-zero, landscape then does a destroy-environment --force. Doing it any other way, like issuing destroy-service, is time consuming and exposes Landscape to hook errors.
To give an idea, a cloud deployed on 6 nodes with the autopilot uses 6 IPs for the nodes from MAAS's static range, 37 IPs for the containers from the dynamic range and a few more static ones for virtual IPs for some openstack services. Each time a region is removed, 37 IPs leak in this example.
The cases that are working are:
* terminate-machine with no services: the host IP, taken from the static range, is released
* destroy-service: all container IPs from the service are released. The host IP (from static range) is left untouched because the machine is still up, even though it has no services anymore. It needs a terminate-machine call.
* destroy-unit
* destroy-environment: with or without --force, releases only the host IPs, i.e., the ones acquired from the static range. |
juju-core 1.24.4
Related to bug #1348663
When using a MAAS provider, juju "leaks" container IP addresses by not DHCP releasing them in the following scenarios:
* terminate-machine --force
Any containers in that machine will not release their leases (without --force does not apply, because juju does not allow you to terminate a machine that still has units on it). The IP of the machine itself is correctly released.
* destroy-environment with or without --force
Only the IPs of the actual machines are released. Container IPs "leak"
One use case is the Autopilot: when removing a deployed region, it issues a destroy-environment. If that exits non-zero, landscape then does a destroy-environment --force. Doing it any other way, like issuing destroy-service, is time consuming and exposes Landscape to hook errors.
To give an idea, a cloud deployed on 6 nodes with the autopilot uses 6 IPs for the nodes from MAAS's static range, 37 IPs for the containers from the dynamic range and a few more static ones for virtual IPs for some openstack services. Each time a region is removed, 37 IPs leak in this example.
The cases that are working are:
* terminate-machine with no services: the host IP, taken from the static range, is released
* destroy-service: all container IPs from the service are released. The host IP (from static range) is left untouched because the machine is still up, even though it has no services anymore. It needs a terminate-machine call.
* destroy-unit
* destroy-environment: with or without --force, releases only the host IPs, i.e., the ones acquired from the static range. |
|
2015-08-11 20:15:25 |
Andreas Hasenack |
summary |
MAAS provider: terminate-machine --force or destroy-environment (without --force) don't DHCP release container IPs |
MAAS provider: terminate-machine --force or destroy-environment doesn't DHCP release container IPs |
|
2015-08-11 20:15:58 |
Andreas Hasenack |
summary |
MAAS provider: terminate-machine --force or destroy-environment doesn't DHCP release container IPs |
MAAS provider: terminate-machine --force or destroy-environment don't DHCP release container IPs |
|
2015-08-11 20:49:08 |
Alexis Bruemmer |
juju-core: milestone |
|
1.24.6 |
|
2015-08-12 13:39:09 |
Curtis Hovey |
tags |
landscape |
destroy-machine landscape maas-provider |
|
2015-08-12 13:40:58 |
Curtis Hovey |
juju-core: status |
New |
Incomplete |
|
2015-08-12 19:48:39 |
Curtis Hovey |
juju-core: status |
Incomplete |
Triaged |
|
2015-08-12 19:48:52 |
Curtis Hovey |
juju-core: milestone |
1.24.6 |
1.25.0 |
|
2015-08-12 19:48:59 |
Curtis Hovey |
nominated for series |
|
juju-core/1.24 |
|
2015-08-12 19:48:59 |
Curtis Hovey |
bug task added |
|
juju-core/1.24 |
|
2015-08-12 19:49:06 |
Curtis Hovey |
juju-core/1.24: status |
New |
Triaged |
|
2015-08-12 19:49:11 |
Curtis Hovey |
juju-core: importance |
Undecided |
High |
|
2015-08-12 19:49:14 |
Curtis Hovey |
juju-core/1.24: importance |
Undecided |
High |
|
2015-08-12 19:49:17 |
Curtis Hovey |
juju-core/1.24: milestone |
|
1.24.6 |
|
2015-08-12 21:50:30 |
Dimiter Naydenov |
juju-core: assignee |
|
Dimiter Naydenov (dimitern) |
|
2015-08-12 21:50:35 |
Dimiter Naydenov |
juju-core: status |
Triaged |
In Progress |
|
2015-08-19 01:36:56 |
Dimiter Naydenov |
juju-core: status |
In Progress |
Triaged |
|
2015-08-19 01:37:04 |
Dimiter Naydenov |
juju-core: assignee |
Dimiter Naydenov (dimitern) |
|
|
2015-08-27 14:21:43 |
Curtis Hovey |
juju-core: milestone |
1.25-alpha1 |
1.25-beta1 |
|
2015-09-09 20:48:50 |
Curtis Hovey |
juju-core/1.24: milestone |
1.24.6 |
1.24.7 |
|
2015-09-16 01:06:12 |
Alexis Bruemmer |
juju-core: status |
Triaged |
Incomplete |
|
2015-09-16 01:06:16 |
Alexis Bruemmer |
juju-core/1.24: status |
Triaged |
Incomplete |
|
2015-09-29 15:59:24 |
Curtis Hovey |
juju-core: milestone |
1.25-beta1 |
1.25-beta2 |
|
2015-10-02 03:46:37 |
David Britton |
tags |
destroy-machine landscape maas-provider |
destroy-machine kanban-cross-team landscape maas-provider |
|
2015-10-02 03:49:36 |
David Britton |
tags |
destroy-machine kanban-cross-team landscape maas-provider |
destroy-machine landscape maas-provider |
|
2015-10-08 14:36:38 |
Dean Henrichsmeyer |
juju-core: status |
Incomplete |
Confirmed |
|
2015-10-08 14:36:40 |
Dean Henrichsmeyer |
juju-core/1.24: status |
Incomplete |
Confirmed |
|
2015-10-08 20:54:12 |
Curtis Hovey |
juju-core: status |
Confirmed |
Triaged |
|
2015-10-08 20:54:15 |
Curtis Hovey |
juju-core/1.24: status |
Confirmed |
Triaged |
|
2015-10-15 12:44:49 |
Curtis Hovey |
juju-core/1.24: milestone |
1.24.7 |
1.24.8 |
|
2015-10-22 13:31:53 |
Cheryl Jennings |
juju-core: milestone |
1.25-beta2 |
1.25.1 |
|
2015-10-24 15:48:48 |
Cheryl Jennings |
tags |
destroy-machine landscape maas-provider |
bug-squad destroy-machine landscape maas-provider |
|
2015-10-28 09:20:03 |
Dimiter Naydenov |
juju-core/1.24: assignee |
|
Dimiter Naydenov (dimitern) |
|
2015-10-28 09:20:08 |
Dimiter Naydenov |
juju-core/1.24: status |
Triaged |
In Progress |
|
2015-10-28 09:20:18 |
Dimiter Naydenov |
nominated for series |
|
juju-core/1.25 |
|
2015-10-28 09:20:18 |
Dimiter Naydenov |
bug task added |
|
juju-core/1.25 |
|
2015-10-28 09:20:26 |
Dimiter Naydenov |
juju-core: milestone |
1.25.1 |
1.26-alpha1 |
|
2015-10-28 09:20:34 |
Dimiter Naydenov |
juju-core/1.25: milestone |
|
1.25.1 |
|
2015-10-28 09:20:37 |
Dimiter Naydenov |
juju-core/1.25: assignee |
|
Dimiter Naydenov (dimitern) |
|
2015-10-28 09:20:43 |
Dimiter Naydenov |
juju-core: assignee |
|
Dimiter Naydenov (dimitern) |
|
2015-10-28 09:20:46 |
Dimiter Naydenov |
juju-core/1.25: importance |
Undecided |
High |
|
2015-10-28 09:20:49 |
Dimiter Naydenov |
juju-core/1.25: status |
New |
Triaged |
|
2015-10-28 09:20:57 |
Dimiter Naydenov |
juju-core: assignee |
Dimiter Naydenov (dimitern) |
|
|
2015-10-28 09:21:01 |
Dimiter Naydenov |
juju-core/1.25: assignee |
Dimiter Naydenov (dimitern) |
|
|
2015-11-02 10:14:21 |
Dimiter Naydenov |
juju-core/1.25: assignee |
|
Dimiter Naydenov (dimitern) |
|
2015-11-02 10:14:25 |
Dimiter Naydenov |
juju-core/1.25: status |
Triaged |
In Progress |
|
2015-11-02 10:14:28 |
Dimiter Naydenov |
juju-core/1.24: status |
In Progress |
Triaged |
|
2015-11-02 10:14:31 |
Dimiter Naydenov |
juju-core/1.24: assignee |
Dimiter Naydenov (dimitern) |
|
|
2015-11-03 22:18:39 |
Curtis Hovey |
juju-core: milestone |
1.26-alpha1 |
1.26-alpha2 |
|
2015-11-05 15:40:58 |
Edward Hope-Morley |
tags |
bug-squad destroy-machine landscape maas-provider |
bug-squad destroy-machine landscape maas-provider sts |
|
2015-11-05 15:57:21 |
Dimiter Naydenov |
juju-core/1.24: status |
Triaged |
In Progress |
|
2015-11-05 15:57:25 |
Dimiter Naydenov |
juju-core/1.24: assignee |
|
Dimiter Naydenov (dimitern) |
|
2015-11-10 15:10:31 |
Dimiter Naydenov |
juju-core/1.24: status |
In Progress |
Won't Fix |
|
2015-11-10 15:10:36 |
Dimiter Naydenov |
juju-core/1.24: assignee |
Dimiter Naydenov (dimitern) |
|
|
2015-11-16 10:46:50 |
Dimiter Naydenov |
juju-core/1.25: status |
In Progress |
Fix Committed |
|
2015-11-16 10:46:53 |
Dimiter Naydenov |
juju-core: status |
Triaged |
In Progress |
|
2015-11-16 10:46:55 |
Dimiter Naydenov |
juju-core: assignee |
|
Dimiter Naydenov (dimitern) |
|
2015-11-18 14:08:18 |
Dimiter Naydenov |
juju-core: status |
In Progress |
Fix Committed |
|
2015-11-23 16:48:02 |
Curtis Hovey |
juju-core/1.25: status |
Fix Committed |
Fix Released |
|
2015-11-25 21:03:46 |
Curtis Hovey |
juju-core: status |
Fix Committed |
Fix Released |
|