[2.3, snap] Rack Controller from the snap fails to power manage on IPMI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Andres Rodriguez |
Bug Description
This was reported to me by a user trying to deploy a note on one of our MAAS networks for testing purposes. We're on 2.3.0~alpha3 from the experimental3 ppa (was on this PPA after consulting a while back with the MAAS team).
So Sam reported that when he tried deploying a node, he got a Power Error message and a popup error warning that said:
Error:[Errno 2] No such file or directory: '/usr/sbin/
/usr/sbin/ipmipower is clearly there, and clearly works from a console:
ubuntu@landmaas:~$ which ipmipower
/usr/sbin/ipmipower
ubuntu@landmaas:~$ /usr/sbin/ipmipower -s -h 172.24.25.55 -u maas -p <PASSWORD>
172.24.25.55: on
This is also an intermittent error. I am able to easily reproduce this by simply clicking the Check Power link a few times. It seems to happen anywhere between about 40 - 80% of the time for me. I've attached a short video showing the reproduction in action.
(Note, ignore the Failed Deployment message, this is due to a separate Petitboot issue and is not related to power control).
ubuntu@landmaas:~$ apt-cache policy maas
maas:
Installed: 2.3.0~alpha3-
Candidate: 2.3.0~alpha3-
Version table:
*** 2.3.0~alpha3-
500 http://
500 http://
100 /var/lib/
2.
500 http://
500 http://
2.
500 http://
500 http://
2.
500 http://
500 http://
Related branches
- Newell Jensen (community): Approve
- MAAS Maintainers: Pending requested
-
Diff: 175 lines (+20/-30)7 files modifiedsrc/maasserver/models/node.py (+0/-9)
src/provisioningserver/drivers/power/fence_cdu.py (+2/-2)
src/provisioningserver/drivers/power/ipmi.py (+3/-4)
src/provisioningserver/drivers/power/moonshot.py (+3/-3)
src/provisioningserver/drivers/power/tests/test_fence_cdu.py (+9/-9)
src/provisioningserver/drivers/power/tests/test_ipmi.py (+2/-2)
src/provisioningserver/drivers/power/tests/test_moonshot.py (+1/-1)
summary: |
- [2.3.0] Power Error when checking power status + [2.3, snap] Rack Controller from the snap fails to power manage on IPMI |
Changed in maas: | |
importance: | Undecided → Critical |
assignee: | nobody → Andres Rodriguez (andreserl) |
status: | Incomplete → Triaged |
milestone: | none → 2.3.0 |
tags: | added: snap |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 2.3.0 → 2.3.0alpha3 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Hi Jeff,
Can you please attach logs? That is :
- /var/log/Maas/*log
- events for the machine (all of them, you can grab them via the "events" endpoint)