UEFI deployment broken in MAAS 1.9
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | MAAS |
Critical
|
Unassigned | ||
Bug Description
UEFI-mode deployment seems to be broken in MAAS 1.9. Enlistment and commissioning work fine, as does most of deployment; however, there seems to be a problem with the GRUB configuration. Instead of the normal boot at the end of deployment, I get a GRUB menu with one option. Selecting that fails and, after a prompt to press a key, brings up the same menu. The GRUB on the hard disk seems to work, though; I'm able to boot to it via a boot to rEFInd on a USB drive and boot the system. Thus, it seems to be the GRUB being sent via PXE from the MAAS server that's unable to redirect to GRUB on the hard disk (or use the disk-based GRUB files).
Here's the version information:
$ dpkg -l '*maas*'|cat
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii maas 1.9.0~alpha5+
ii maas-cert-server 0.2.6-0~
ii maas-cli 1.9.0~alpha5+
ii maas-cluster-
ii maas-common 1.9.0~alpha5+
ii maas-dhcp 1.9.0~alpha5+
ii maas-dns 1.9.0~alpha5+
ii maas-proxy 1.9.0~alpha5+
ii maas-region-
ii maas-region-
ii python-django-maas 1.9.0~alpha5+
ii python-maas-client 1.9.0~alpha5+
ii python-
I'm attaching the /var/log/maas directory tree. Note that I've reconfigured my two UEFI-based nodes to boot in BIOS/CSM/legacy mode to work around this issue for the time being.
Related branches
- Blake Rouse: Approve on 2015-10-29
- Mike Pontillo: Approve on 2015-10-29
-
Diff: 266 lines (+106/-50)5 files modifiedetc/maas/templates/uefi/config.local.amd64.template (+2/-2)
src/provisioningserver/boot/powerkvm.py (+5/-1)
src/provisioningserver/boot/tests/test_powerkvm.py (+4/-0)
src/provisioningserver/boot/tests/test_uefi.py (+75/-2)
src/provisioningserver/boot/uefi.py (+20/-45)
| Rod Smith (rodsmith) wrote : | #1 |
| Rod Smith (rodsmith) wrote : | #2 |
| Andres Rodriguez (andreserl) wrote : | #3 |
Hi Rod,
Can you please attache the install log from the node details webui?
Thankls
| Changed in maas: | |
| importance: | Undecided → Critical |
| milestone: | none → 1.9.0 |
| Rod Smith (rodsmith) wrote : | #4 |
I'm attaching the installation output from the web UI of a failed deployment. (This was taken while the system still showed up as "deploying" in the MAAS web UI, but it had reached its failure point on the screen.) Also, here's a more precise description of what shows up on the screen at the point of failure:
1. Normal firmware displays
2. "Press any key to continue..." prompt.
3. If I press a key, "Failed to boot both default and fallback entries" appears, followed by "Press any key to continue..." again.
4. If I press a key, GRUB 2.02~beta2-9 menu appears, featuring one entry called "Local".
5. If I select the "Local" GRUB entry, "Press any key to continue..." appears again.
6. GOTO 4.
| Changed in maas: | |
| status: | New → Triaged |
| Chris Gregan (cgregan) wrote : | #5 |
I have a system effected by this as well. Same resulting grub menu in the bootstrapped node: https:/
| tags: | added: cdo-qa |
| Rod Smith (rodsmith) wrote : | #6 |
I've also now run into this bug under MAAS 1.8 (version information below).
$ dpkg -l '*maas*'|cat
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii maas 1.8.2+bzr4041-
ii maas-cert-server 0.2.6-0~
ii maas-cli 1.8.2+bzr4041-
ii maas-cluster-
ii maas-common 1.8.2+bzr4041-
ii maas-dhcp 1.8.2+bzr4041-
ii maas-dns 1.8.2+bzr4041-
ii maas-proxy 1.8.2+bzr4041-
ii maas-region-
ii maas-region-
ii python-django-maas 1.8.2+bzr4041-
ii python-maas-client 1.8.2+bzr4041-
ii python-
| tags: | added: blocks-hwcert-server |
| Rod Smith (rodsmith) wrote : | #7 |
Please disregard my previous comment (#6); the MAAS 1.8 problem was actually bug #1437024, which has similar symptoms but is a different bug from this one.
| Changed in maas: | |
| assignee: | nobody → Blake Rouse (blake-rouse) |
| status: | Triaged → In Progress |
| Blake Rouse (blake-rouse) wrote : | #8 |
The issue here is that the grubnetx64.
I built a custom grub that includes the LVM module and the system was able to boot correctly.
The issue is that the grubnetx64.
| Changed in maas: | |
| status: | In Progress → Triaged |
| assignee: | Blake Rouse (blake-rouse) → nobody |
| Changed in grub2-signed (Ubuntu): | |
| status: | New → Confirmed |
| Blake Rouse (blake-rouse) wrote : | #9 |
Bug 1511437 is related but not the full issue.
| Changed in maas: | |
| status: | Triaged → In Progress |
| no longer affects: | grub2-signed (Ubuntu) |
| Changed in maas: | |
| status: | In Progress → Fix Committed |
| Changed in maas: | |
| status: | Fix Committed → Fix Released |
| Pieter (pieter-koorts) wrote : | #10 |
Not sure if this comment is appropriate for this bug or a new bug report however with the release MAAS 1.9 we are unable to boot via UEFI however legacy boot does still work. The service starts the PXE process and then ends up at the grub prompt without continuing.
#############
MAAS clusterd.log
#############
2016-01-06 14:29:06+0000 [TFTP (UDP)] Datagram received from ('10.40.2.33', 1595): <RRQDatagram(
2016-01-06 14:29:06+0000 [-] RemoteOriginRea
2016-01-06 14:29:06+0000 [-] Starting protocol <tftp.bootstrap
2016-01-06 14:29:06+0000 [RemoteOriginRe
2016-01-06 14:29:06+0000 [-] (UDP Port 48264 Closed)
2016-01-06 14:29:06+0000 [-] Stopping protocol <tftp.bootstrap
2016-01-06 14:29:07+0000 [TFTP (UDP)] Datagram received from ('10.40.2.33', 1596): <RRQDatagram(
2016-01-06 14:29:07+0000 [-] RemoteOriginRea
2016-01-06 14:29:07+0000 [-] Starting protocol <tftp.bootstrap
2016-01-06 14:29:07+0000 [RemoteOriginRe
2016-01-06 14:29:07+0000 [-] (UDP Port 44794 Closed)
2016-01-06 14:29:07+0000 [-] Stopping protocol <tftp.bootstrap
2016-01-06 14:29:07+0000 [TFTP (UDP)] Datagram received from ('10.40.2.33', 1597): <RRQDatagram(
2016-01-06 14:29:07+0000 [-] RemoteOriginRea
2016-01-06 14:29:07+0000 [-] Starting protocol <tftp.bootstrap
2016-01-06 14:29:07+0000 [RemoteOriginRe
2016-01-06 14:29:07+0000 [-] (UDP Port 43350 Closed)
2016-01-06 14:29:07+0000 [-] Stopping protocol <tftp.bootstrap
#############
I have attached screenshots of the PXE boot process and the grub prompt waiting. This is using Ubuntu 14.04 as the commissioning image however due to hardware being new the hwe-v kernel is being used. The machine is configured for UEFI booting only and legacy booting is currently disabled. Server is a SuperMicro 6028R-E1CR12L
| Domonkos Tomcsanyi (tomcsanyid) wrote : | #11 |
I have exactly the same issue as Pieter, I keep getting just the GRUB rescue prompt.
MAAS version 1.9.1 installed from MAAS/stable PPA. Regiond is running 14.04, Clusterd running on 15.10.
| Rod Smith (rodsmith) wrote : | #12 |
Pieter and Domonkos: I think you may have a new bug and so should file a new bug report.


This works fine with MAAS 1.8 on the same hardware (MAAS server and nodes).