kill-controller leaves instances with storage behind

Bug #1566345 reported by Charles Butler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
In Progress
High
Andrew Wilkins

Bug Description

WHen issuing kill-controller i expect it to issue termination commands with extreme prejudice and ordinance.

This doesn't appear to be happening on amazon when a unit has storage volumes attached. I can understand and respect juju not cleaning up the storage volumes as there is potential there for data loss, and we should do our best to preserve data volumes when we are aware of their existence

However, units which have storage attached dont seem to be getting cleaned up, as the volumes are never detached, which prevents kill-controller from actually terminating the unit, regardless of kill-controller, destroy-controller or otherwise.

Steps to reproduce:

juju deploy a service which supports storage (WIP using layer-docker)

juju add-storage docker/# disk-pool=ebs,,8G

chill while it attaches, formats, etc.

then issue a kill-controller to reset everything to zero, and log into the AWS control panel and view your instance still present, as well as any volumes you've provisioned.

Revision history for this message
Cheryl Jennings (cherylj) wrote :

@lazypower, if you have the output from a kill-controller --debug where it leaves things behind, can you attach it?

Changed in juju-core:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.0.0
tags: added: juju-release-support kill-controller
Revision history for this message
Andrew Wilkins (axwalk) wrote :

I suspect this is due to lp:1566011.

Andrew Wilkins (axwalk)
Changed in juju-core:
status: Triaged → In Progress
assignee: nobody → Andrew Wilkins (axwalk)
Revision history for this message
Andrew Wilkins (axwalk) wrote :

I have confirmed that kill-controller does cleanup instances with volumes in the admin model, so I'm marking this as a duplicate.

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.