EFI systems don't boot under maas in 2.1.3-proposed

Bug #1651452 reported by David Britton
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Server
Fix Released
LaMont Jones
Fix Released
LaMont Jones

Bug Description

MAAS Version:


What happened:

When I boot EFI systems through MAAS, they get stuck very early in the PXE process. Commission/enlist/deploy are all affected.

From some debugging with andres:

Basically, MAAS now sends ""cc:{'datasource_list': ['MAAS']}end_cc"" in the kernel command line to select the MAAS datasource to address issues where cloud-init reads cloud-config from localdisk first.

However, the following errors are shown. Note that this only happens when booting EFI/grub. Any ideas?

error: syntax error.
error: Incorrect command.
error: syntax error.
error: Incorrect command.
error: syntax error.
alloc magic is broken at 0x3ec88940: 0
Aborted. Press any key to exit.error: you need to load the kernel first.

I captured this terminal output from a *good* (non-efi) machine on 2.1.3, in case it's useful. The EFI machines (*broken*) I have all don't seem to show this when booting, so I can't give you what is shown for those.

PXELINUX 6.03 PXE 20151222 Copyright (C) 1994-2014 H. Peter Anvin et al
Booting under MAAS direction...
nomodeset iscsi_target_name=iqn.2004-05.com.ubuntu:maas:ephemeral-ubuntu-amd64-g
a-16.04-xenial-daily iscsi_target_ip= iscsi_target_port=3260 iscsi_ini
tiator=albany ip=::::albany:BOOTIF ip6=off ro root=/dev/disk/by-path/ip-10.96.0.
-daily-lun-1 overlayroot=tmpfs cc:{'datasource_list': ['MAAS']}end_cc cloud-conf
-2c59e54ace74/?op=get_preseed log_host= log_port=514 --- console=ttyS1
Loading ubuntu/amd64/ga-16.04/xenial/daily/boot-k...

Tags: landscape

Related branches

David Britton (dpb)
Changed in landscape:
milestone: none → 16.11
importance: Undecided → High
status: New → Confirmed
LaMont Jones (lamont)
Changed in maas:
assignee: nobody → LaMont Jones (lamont)
LaMont Jones (lamont)
Changed in maas:
milestone: none → 2.2.0
importance: Undecided → Critical
status: New → In Progress
Revision history for this message
LaMont Jones (lamont) wrote :

This was introduced to 2.1 with rev 5561, backporting a fix for Bug#1562323. pxeboot and uefi parse things just a little bit differently, so only uefi broke.

+ # Select the MAAS datasource by default.
+ "cc:{'datasource_list': ['MAAS']}end_cc",

Changed in maas:
status: In Progress → Fix Committed
Changed in landscape:
milestone: 16.11 → 16.12
Changed in landscape:
milestone: 16.12 → 17.01
Chad Smith (chad.smith)
Changed in landscape:
milestone: 17.01 → 17.02
Chad Smith (chad.smith)
Changed in landscape:
milestone: 17.02 → none
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.