AMT NUC stuck at boot prompt instead of powering down (no ACPI support in syslinux poweroff)
Bug #1376716 reported by
Raphaël Badin
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Raphaël Badin | ||
1.7 |
Fix Released
|
High
|
Raphaël Badin |
Bug Description
A 'READY' NUC got powered up by mistake; as expected it got a "poweroff" PXE config (i.e. in this state a node shouldn't be powered up and this MAAS asks the node to power off).
The problem is that instead of being powered off, the node got stuck with this on the console:
TFTP prefix:
Trying to load: pxelinux.
APM not present.
boot:
Related branches
lp:~rvb/maas/poweroff-redux
- Gavin Panella (community): Approve
-
Diff: 499 lines (+174/-82)12 files modifiedetc/maas/templates/commissioning-user-data/user_data_poweroff.template (+28/-0)
src/maasserver/api/pxeconfig.py (+7/-12)
src/maasserver/api/tests/test_pxeconfig.py (+9/-4)
src/maasserver/models/node.py (+2/-2)
src/maasserver/preseed.py (+10/-1)
src/maasserver/tests/test_preseed.py (+25/-7)
src/metadataserver/api.py (+8/-2)
src/metadataserver/tests/test_api.py (+19/-3)
src/metadataserver/user_data/poweroff.py (+34/-0)
src/metadataserver/user_data/tests/test_poweroff.py (+31/-0)
src/provisioningserver/boot/__init__.py (+0/-16)
src/provisioningserver/boot/tests/test_boot.py (+1/-35)
lp:~rvb/maas/maas-1.7-3400
- Raphaël Badin (community): Approve
-
Diff: 503 lines (+178/-84)12 files modifiedetc/maas/templates/commissioning-user-data/user_data_poweroff.template (+28/-0)
src/maasserver/api/pxeconfig.py (+7/-12)
src/maasserver/api/tests/test_pxeconfig.py (+13/-6)
src/maasserver/models/node.py (+2/-2)
src/maasserver/preseed.py (+10/-1)
src/maasserver/tests/test_preseed.py (+25/-7)
src/metadataserver/api.py (+8/-2)
src/metadataserver/tests/test_api.py (+19/-3)
src/metadataserver/user_data/poweroff.py (+34/-0)
src/metadataserver/user_data/tests/test_poweroff.py (+31/-0)
src/provisioningserver/boot/__init__.py (+0/-16)
src/provisioningserver/boot/tests/test_boot.py (+1/-35)
Changed in maas: | |
assignee: | nobody → Blake Rouse (blake-rouse) |
status: | Triaged → In Progress |
Changed in maas: | |
importance: | High → Low |
tags: | added: power |
Changed in maas: | |
importance: | Low → High |
Changed in maas: | |
milestone: | next → 1.7.1 |
Changed in maas: | |
assignee: | Blake Rouse (blake-rouse) → nobody |
assignee: | nobody → Raphaël Badin (rvb) |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
After looking into this the poweroff.com module that is used with pxelinux does not support powering off machines without APM. I looked into booting a full Ubuntu to poweroff the node, and its just to much work to get complete in time for 1.7. We need to look into coming up with a fix for this, or just leaving it up to the power management of MAAS to turn the node off, once it notices that its on, and should be off.