Cannot destroy a model that uses storage

Bug #1667883 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Critical
Andrew Wilkins

Bug Description

Starting with
    http://reports.vapour.ws/releases/4916
    https://github.com/juju/juju/commit/105b56b0f96ea277944f37aa4a9c834a506e294e

The functional-storage cannot destroy a model that deploy charms that used storage. The command times out at 10 minutes. AWS normally cleans up in less than 5 minutes. The assess_storage.py test was updated to delete applications once the feature under test was complete. So by the time the test calls destroy-controller, the model is empty...juju cannot delete an empty model in 10 minutes!

We can see that the functional-storage job fails for the develop branch consistently with build 4916
    http://reports.vapour.ws/releases/issue/581c994e749a5605e21355ee

Curtis Hovey (sinzui)
Changed in juju:
assignee: nobody → Andrew Wilkins (axwalk)
description: updated
Andrew Wilkins (axwalk)
Changed in juju:
status: Triaged → In Progress
milestone: none → 2.2-rc1
Revision history for this message
Andrew Wilkins (axwalk) wrote :

Seems that I screwed up something to do with machine-bound storage. If you deploy an app with (e.g.) tmpfs and then remove the app and machine, the storage stays behind in state. Should be removed along with the machine.

Revision history for this message
Anastasia (anastasia-macmood) wrote :

PR against develop (2.2): https://github.com/juju/juju/pull/7052

Changed in juju:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju:
status: Fix Committed → Fix Released
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.