MAAS is dropped in grub menu when booting in UEFI mode, and Secure Boot not working

Bug #1730493 reported by Tommy Gingras
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MAAS
New
Undecided
Unassigned

Bug Description

We try to certify our products, we are able to do everything easily in Legacy mode.

In UEFI mode, we have to modify some files.

When we boot the node, we are not able to enlist it with a 1Gb interface, we are only able to do the process with a 10Gb interface.

The node never appear into the MAAS console, the process cannot go further the grub. it failed after Fetching netboot image

When we are in grub, we are not able to type command, the result is couldn't send network packet, but our product receive a valid address.

We also try by removing all partitions from the disk and its doesn't work neither.
We also try to disable all interfaces expect one and the same problem occur.
into the BIOS all UEFI options are enable and working with an another pxe boot in UEFI (Not a MAAS server)

Our drivers :
1Gb interface : i210 & i350
10Gb interface : X552 & X710

On MAAS:
cd /var/lib/maas/boot-resources/current/bootloader/uefi/amd64/
sudo wget http://archive.ubuntu.com/ubuntu/dists/artful/main/uefi/grub2-amd64/2.02~beta3-4ubuntu6/grubnetx64.efi.signed
sudo mv grubx64.efi grubx64.orig
sudo mv grubnetx64.efi.signed grubx64.efi
wget https://launchpad.net/ubuntu/+source/grub2/2.02~beta2-36ubuntu3.14/+build/13571697/+files/grub-efi-amd64-bin_2.02~beta2-36ubuntu3.14_amd64.deb
sudo dpkg -i grub-efi-amd64-bin_2.02~beta2-36ubuntu3.14_amd64.deb
sudo apt-get install grub-efi-amd64-signed grub-efi-amd64 grub-efi-amd64-bin grub2 efibootmgr

On our SUT we have to do these lines to enable the Secure Boot:
sudo apt-get install shim-signed
sudo update-grub
lsblk
### X = where /boot/efi partition is installed.
sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=ubuntu --recheck --debug /dev/sdaX

How to reproduce,
Install Ubuntu Vanilla
Follow the MANIAC guide to install/configure the MAAS server.
Put a client in UEFI mode and boot from pxe.

Our versions :
Linux maas-cert 4.4.0-98-generic #121-Ubuntu SMP Tue Oct 10 14:24:03 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 16.04.3 LTS

MAAS Version
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===============================-====================================-============-==================================================
ii maas 2.2.2-6099-g8751f91-0ubuntu1~16.04.1 all "Metal as a Service" is a physical cloud and IPAM
ii maas-cert-server 0.2.30-0~76~ubuntu16.04.1 all Ubuntu certification support files for MAAS server
ii maas-cli 2.2.2-6099-g8751f91-0ubuntu1~16.04.1 all MAAS client and command-line interface
un maas-cluster-controller <none> <none> (no description available)
ii maas-common 2.2.2-6099-g8751f91-0ubuntu1~16.04.1 all MAAS server common files
ii maas-dhcp 2.2.2-6099-g8751f91-0ubuntu1~16.04.1 all MAAS DHCP server
ii maas-dns 2.2.2-6099-g8751f91-0ubuntu1~16.04.1 all MAAS DNS server
ii maas-proxy 2.2.2-6099-g8751f91-0ubuntu1~16.04.1 all MAAS Caching Proxy
ii maas-rack-controller 2.2.2-6099-g8751f91-0ubuntu1~16.04.1 all Rack Controller for MAAS
ii maas-region-api 2.2.2-6099-g8751f91-0ubuntu1~16.04.1 all Region controller API service for MAAS
ii maas-region-controller 2.2.2-6099-g8751f91-0ubuntu1~16.04.1 all Region Controller for MAAS
un maas-region-controller-min <none> <none> (no description available)
un python-django-maas <none> <none> (no description available)
un python-maas-client <none> <none> (no description available)
un python-maas-provisioningserver <none> <none> (no description available)
ii python3-django-maas 2.2.2-6099-g8751f91-0ubuntu1~16.04.1 all MAAS server Django web framework (Python 3)
ii python3-maas-client 2.2.2-6099-g8751f91-0ubuntu1~16.04.1 all MAAS python API client (Python 3)
ii python3-maas-provisioningserver 2.2.2-6099-g8751f91-0ubuntu1~16.04.1 all MAAS server provisioning libraries (Python 3)

Revision history for this message
Tommy Gingras (tgingras) wrote :
Revision history for this message
Rod Smith (rodsmith) wrote :

I'm not 100% positive, but this sounds like a duplicate of bug #1437024.

Revision history for this message
Lee Trager (ltrager) wrote :

This seems to be a duplicate of both #1711203 and #1437024.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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