Bootstrap/shutdown should only operate on one environment
Bug #756685 reported by
Kapil Thangavelu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
High
|
Kapil Thangavelu |
Bug Description
These first implemented commands, operate by default against all environments which is far too aggressive. They should be modified to only operate on the default environment. Furthermore shutdown should probably require a prompt considering its destructive nature.
Related branches
lp://staging/~hazmat/pyjuju/bootstrap-shutdown-environment
- Benjamin Saller (community): Approve
- Gustavo Niemeyer: Approve
-
Diff: 303 lines (+178/-42)4 files modifiedensemble/control/bootstrap.py (+21/-17)
ensemble/control/shutdown.py (+28/-11)
ensemble/control/tests/test_bootstrap.py (+57/-8)
ensemble/control/tests/test_shutdown.py (+72/-6)
Changed in ensemble: | |
importance: | Undecided → High |
milestone: | none → budapest |
Changed in ensemble: | |
milestone: | budapest → dublin |
Changed in ensemble: | |
assignee: | nobody → Kapil Thangavelu (hazmat) |
status: | New → In Progress |
Changed in ensemble: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Excerpts from Kapil Thangavelu's message of Sun Apr 10 16:48:30 UTC 2011:
> Public bug reported:
>
> These first implemented commands, operate by default against all
> environments which is far too aggressive. They should be modified to
> only operate on the default environment. Furthermore shutdown should
> probably require a prompt considering its destructive nature.
Have to agree 100% that shutdown is WAY too easy as it eats all your
data. :)
I know you working on it means it will probably get done soon, but
should that falter, I would suggest splitting this into two bugs and
making the shutdown bug Critical.