juju destroy-environment is terrifying; please provide an option to neuter it
Bug #1057665 reported by
James Troup
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Unassigned | ||
pyjuju |
Fix Committed
|
High
|
Unassigned |
Bug Description
'juju destroy-
that there's an obvious need for such a command (esp. with test/dev
environment) and there's a prompt, but I still feel it's far too easy
for someone to not notice which window/tab they're on and accidentally
destroy a production environment instead of a local test/dev one.
Could we please have a flag in the juju environment
(e.g. 'unbreakable' or 'indestructible') which if set, causes
destroy-environment to refuse to run?
Related branches
lp://staging/~natefinch/juju-core/022-destroyer
- Juju Engineering: Pending requested
-
Diff: 187 lines (+47/-22)2 files modifiedcmd/juju/cmd_test.go (+15/-12)
cmd/juju/destroyenvironment.go (+32/-10)
Changed in juju: | |
assignee: | nobody → Kapil Thangavelu (hazmat) |
milestone: | none → 0.7 |
status: | Confirmed → In Progress |
Changed in juju: | |
importance: | Undecided → High |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
Changed in juju-core: | |
status: | New → Triaged |
tags: | added: canonical-webops |
Changed in juju-core: | |
importance: | Undecided → High |
tags: | added: destroy-environment |
Changed in juju-core: | |
assignee: | nobody → Nate Finch (natefinch) |
milestone: | none → 2.0 |
status: | Triaged → In Progress |
Changed in juju-core: | |
milestone: | 2.0 → 1.17.0 |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
Changed in juju: | |
assignee: | Kapil Thangavelu (hazmat) → nobody |
Changed in juju-core: | |
assignee: | Nate Finch (natefinch) → nobody |
To post a comment you must log in.
Recommend something like apt does when we do something scary where you have to type in "I know what I am doing do as I say!" or something.