juju destroy-service deletes openstack volumes
Bug #1592887 reported by
Jacek Nykis
This bug affects 8 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Andrew Wilkins | ||
juju-core |
Won't Fix
|
Undecided
|
Unassigned | ||
1.25 |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I am testing juju storage support in openstack and I noticed dangerous default behaviour.
I deployed my service like this:
juju deploy --repository=. --storage metrics=3G local:trusty/
This worked fine and 3GB nova volume was attached to my instance. I wanted to redeploy my service so I run:
juju destroy-service charmname
Which silently wiped my nova volume.
This is IMO dangerous. One of the most important reasons I use nova volumes is that they are persistent so I think juju should prompt user before deleting data.
juju 1.25.5-trusty-amd64
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: canonical-is |
Changed in juju-core: | |
milestone: | none → 2.0.0 |
tags: | added: blocker |
tags: | removed: blocker |
tags: | added: landscape |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.1.0 → none |
milestone: | none → 2.1.0 |
Changed in juju-core: | |
importance: | Undecided → Critical |
status: | New → Triaged |
Changed in juju: | |
assignee: | nobody → Alexis Bruemmer (alexis-bruemmer) |
Changed in juju: | |
milestone: | 2.1.0 → 2.0-beta18 |
Changed in juju-core: | |
status: | Triaged → Invalid |
importance: | Critical → Undecided |
Changed in juju: | |
milestone: | 2.0-beta18 → 2.0-beta19 |
Changed in juju: | |
milestone: | 2.0-beta19 → 2.0-rc1 |
Changed in juju: | |
milestone: | 2.0-rc1 → 2.0-rc2 |
Changed in juju: | |
milestone: | 2.0-rc2 → 2.1.0 |
Changed in juju-core: | |
status: | Invalid → Triaged |
importance: | Undecided → Critical |
Changed in juju-core: | |
milestone: | none → 1.25.11 |
tags: | added: uosci |
Changed in juju: | |
milestone: | 2.2-beta1 → 2.2-beta2 |
Changed in juju: | |
milestone: | 2.2-beta2 → 2.2-beta3 |
Changed in juju: | |
milestone: | 2.2-beta3 → 2.3-alpha1 |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
What you're seeing is the expected behavior. Support for disassociating volumes from the lifetime of a service is a potential future enhancement, but it isn't currently implemented.