juju 2 doesn't remove openstack security groups
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Martin Packman | ||
2.0 |
Fix Released
|
High
|
Liam Young | ||
2.1 |
Fix Released
|
High
|
Unassigned | ||
2.2 |
Fix Released
|
High
|
Unassigned | ||
juju-core |
Fix Released
|
Critical
|
Liam Young |
Bug Description
This was most recently observed with 2.0-beta18-
I noticed this with 'destroy-model' and 'kill-controller', but it may happen when removing services and machines too. In my testing, I do see that 'kill-controller' attempts to remove security groups, but is just unsuccessful:
buntu@juju2-
Destroying controller "osa-controller"
Waiting for resources to be reclaimed
All hosted models reclaimed, cleaning up controller machines
WARNING cannot delete security group "juju-b5ee8749-
-0". Used by another model?
ERROR health ping timed out after 30s
WARNING cannot delete security group "juju-b5ee8749-
". Used by another model?
WARNING cannot delete security group "juju-b5ee8749-
-0". Used by another model?
WARNING cannot delete security group "juju-b5ee8749-
". Used by another model?
WARNING cannot delete security group "juju-b5ee8749-
-0". Used by another model?
WARNING cannot delete security group "juju-b5ee8749-
". Used by another model?
WARNING cannot delete security group "juju-b5ee8749-
-0". Used by another model?
A short time later (less then a minute), the security groups could be removed with 'openstack security group delete'. I only see these messages with 'kill-controller'. The 'destroy-model' command didn't appear to attempt to remove any security groups.
This becomes a problem once a couple of deploys have been performed and removed and I start to run out of openstack security groups.
Attached is a script log showing 'bootstrap', 'deploy', 'destroy-model' and 'kill-controller' and the security groups in between.
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Richard Harding (rharding) |
milestone: | none → 2.0.0 |
Changed in juju: | |
status: | Triaged → Incomplete |
Changed in juju: | |
status: | Incomplete → Triaged |
Changed in juju: | |
milestone: | 2.0.0 → 2.0.1 |
assignee: | Richard Harding (rharding) → Alexis Bruemmer (alexis-bruemmer) |
Changed in juju: | |
milestone: | 2.0.1 → none |
summary: |
- juju 2 beta 18 doesn't remove openstack security groups + juju 2 doesn't remove openstack security groups |
tags: | added: ci openstack-provider |
Changed in juju: | |
milestone: | none → 2.1-beta2 |
Changed in juju-core: | |
importance: | Undecided → High |
milestone: | none → 1.25.9 |
status: | New → Triaged |
tags: | added: sts |
Changed in juju: | |
status: | Triaged → In Progress |
assignee: | Alexis Bruemmer (alexis-bruemmer) → Liam Young (gnuoy) |
Changed in juju: | |
milestone: | 2.1-beta2 → none |
Changed in juju: | |
milestone: | none → 2.1-rc1 |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
Changed in juju: | |
milestone: | 2.1-rc1 → 2.1-beta3 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
Which version of Openstack. Juju appears to clean up in some, but not all openstacks.