1.8b4 Possible to perform power off even if the node is already off
Bug #1442742 reported by
Carla Berkers
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Raphaël Badin |
Bug Description
In 1.8b2, on the node details page
On a ready node:
- I tried to power on a ready node that was powered off, but the only action available is "power off"
- Checking power to make sure it is up to date doesn't make a difference, still only able to power off
- Clicking power off doesn't make the "power on" action appear either
On a deploying node that is currently on
- Only action available is "power on"
- Not sure users should be able to power a machine off during commissioning, but for sure the power on option shouldn't be there when the machine is already on.
Related branches
lp://staging/~rvb/maas/bug-poweroff
- Blake Rouse (community): Approve
-
Diff: 193 lines (+74/-18)4 files modifiedsrc/maasserver/node_action.py (+12/-7)
src/maasserver/node_status.py (+6/-0)
src/maasserver/tests/test_forms_nodeaction.py (+11/-2)
src/maasserver/tests/test_node_action.py (+45/-9)
Changed in maas: | |
assignee: | nobody → Raphaël Badin (rvb) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
You cannot power on a machine that is Ready, you need to deploy it first that way you select the os and release. Once the node is deployed, you can power it off and on.
What is incorrect is that you should not be able to poweroff a machine that is already off.