curtin Xenial install does not uefi boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Undecided
|
Unassigned |
Bug Description
On a Xenial 16.04.1 MASS region controller with MAAS 2.1.1+bzr5544-
I am able to discover other nodes and configure their power control settings, commission, and start a Xenial 16.04 install.
The nodes are UEFI x86_64 servers managed by IPMI 2 management controllers.
The curtin installer completes, and the node reboots, and at this point it does not boot from the local disk, but rather PXE boots again from the rack controller. The Rack controller PXE boots the node into grub with the following '*Local' boot entry:
>>>
setparams 'Local'
echo 'Booting local disk...'
search --set=root --file /efi/ubuntu/
chainloader /efi/ubuntu/
>>>
The node fails to boot using this configuration - grub boot fails with 'error: cannot load image' and falls back to the grub menu. The node sits in this state until MAAS decides the deploy timed out and marks the node as failed.
I can remote the system to create a uefi boot entry manually, and it will start off the local disk, so the installed Xenial is bootable if the uefi boot entry exists. Installing Xenial from the DVD also correctly creates the uefi boot entry, so this seems specific to MAAS/curtin.
Should MAAS/curtin be creating UEFI boot entries on each node as part of the install, or should it be providing a usable PXE grub *Local startup configuration?
testflr@fp2u33:~$ sudo ls -l /var/log/maas/*
lrwxrwxrwx 1 root root 16 Nov 18 11:17 /var/log/
-rw-r--r-- 1 syslog syslog 16184 Dec 6 14:14 /var/log/
-rw-r--r-- 1 syslog syslog 42476 Dec 6 06:14 /var/log/
-rw-r--r-- 1 syslog syslog 1844 Dec 5 06:14 /var/log/
-rw-r--r-- 1 syslog syslog 1739 Dec 4 06:14 /var/log/
-rw-r--r-- 1 syslog syslog 1855 Dec 3 06:14 /var/log/
-rw-r--r-- 1 syslog syslog 1863 Dec 2 06:14 /var/log/
-rw-r--r-- 1 syslog syslog 3182 Dec 1 06:14 /var/log/
-rw-r--r-- 1 syslog syslog 1860 Nov 30 06:14 /var/log/
-rw-r--r-- 1 maas maas 3640028 Dec 6 14:19 /var/log/
-rw-r--r-- 1 maas maas 3750947 Dec 6 14:27 /var/log/
-rw-r--r-- 1 maas maas 804213 Dec 5 06:24 /var/log/
-rw-r--r-- 1 maas maas 668053 Nov 29 06:24 /var/log/
-rw-r--r-- 1 maas maas 450393 Nov 21 06:24 /var/log/
/var/log/
total 756
-rw-r----- 1 proxy proxy 384150 Dec 6 13:58 access.log.1
-rw-r----- 1 proxy proxy 20 Nov 17 13:28 access.log.2.gz
-rw-r----- 1 proxy proxy 98063 Dec 6 13:58 cache.log.1
-rw-r----- 1 proxy proxy 3671 Nov 18 11:33 cache.log.2.gz
-rw-r----- 1 proxy proxy 264430 Dec 6 14:17 store.log.1
-rw-r----- 1 proxy proxy 604 Nov 18 10:30 store.log.2.gz
/var/log/
total 8
drwxr-xr-x 6 syslog syslog 4096 Dec 6 10:51 fp2u29
drwxr-xr-x 4 syslog syslog 4096 Nov 22 09:32 fp2u31
testflr@fp2u33:~$
testflr@fp2u33:~$ sudo dpkg -l '*maas*'|cat
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii maas 2.1.1+bzr5544-
ii maas-cli 2.1.1+bzr5544-
un maas-cluster-
ii maas-common 2.1.1+bzr5544-
ii maas-dhcp 2.1.1+bzr5544-
ii maas-dns 2.1.1+bzr5544-
ii maas-proxy 2.1.1+bzr5544-
ii maas-rack-
ii maas-region-api 2.1.1+bzr5544-
ii maas-region-
un maas-region-
un python-django-maas <none> <none> (no description available)
un python-maas-client <none> <none> (no description available)
un python-
ii python3-django-maas 2.1.1+bzr5544-
ii python3-maas-client 2.1.1+bzr5544-
ii python3-
attaching maas sosreport