[2.4] PXE template for localboot in EFI no longer filters based on OS

Bug #1770436 reported by Andres Rodriguez
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Lee Trager

Bug Description

I'm deploy CentOS on a EFI machine to test the bugfix for [1],[2]. However, what I noticed is that MAAS is not providing the localboot configuration correctly, and instead of providing it for centos, it provides it for Ubuntu.

So this would seem that [1]'s kernel_params.osystem is no longer including the OS System that would allow the template to be rendered correctly.

NOTE: I also modified [2] to hardcode the return of the /efi/centos/grubx64.efi, and the machine successfully booted.

[1]: https://bugs.launchpad.net/maas/+bug/1740925
[2]: https://code.launchpad.net/~andreserl/maas/+git/maas/+merge/345366

### rackd.log (see last line)

2018-05-10 15:46:04 provisioningserver.rackdservices.tftp: [info] bootx64.efi requested by 94:18:82:7a:82:c8
2018-05-10 15:46:04 provisioningserver.rackdservices.tftp: [info] bootx64.efi requested by 94:18:82:7a:82:c8
2018-05-10 15:46:05 provisioningserver.rackdservices.tftp: [info] grubx64.efi requested by 94:18:82:7a:82:c8
2018-05-10 15:46:06 provisioningserver.rackdservices.tftp: [info] /grub/x86_64-efi/command.lst requested by 94:18:82:7a:82:c8
2018-05-10 15:46:06 provisioningserver.rackdservices.tftp: [info] /grub/x86_64-efi/fs.lst requested by 94:18:82:7a:82:c8
2018-05-10 15:46:06 provisioningserver.rackdservices.tftp: [info] /grub/x86_64-efi/crypto.lst requested by 94:18:82:7a:82:c8
2018-05-10 15:46:06 provisioningserver.rackdservices.tftp: [info] /grub/x86_64-efi/terminal.lst requested by 94:18:82:7a:82:c8
2018-05-10 15:46:06 provisioningserver.rackdservices.tftp: [info] /grub/grub.cfg requested by 94:18:82:7a:82:c8
2018-05-10 15:46:06 provisioningserver.rackdservices.tftp: [info] /grub/grub.cfg-94:18:82:7a:82:c8 requested by 94:18:82:7a:82:c8
2018-05-10 15:46:06 provisioningserver.rackdservices.tftp: [info] /grub/grub.cfg-94:18:82:7a:82:c8 requested by 94:18:82:7a:82:c8
2018-05-10 15:46:06 provisioningserver.rackdservices.tftp: [info] /grub/grub.cfg-94:18:82:7a:82:c8 requested by 94:18:82:7a:82:c8
2018-05-10 15:46:06 provisioningserver.rackdservices.tftp: [info] /grub/grub.cfg-94:18:82:7a:82:c8 requested by 94:18:82:7a:82:c8
2018-05-10 15:46:07 provisioningserver.rackdservices.tftp: [info] /efi/ubuntu/grubx64.efi requested by 94:18:82:7a:82:c8

## machine console:

What I see in the console:

Booting local disk...
error: no such device: /efi/ubuntu/grubx64.efi.
error: File not found.

Press any key to continue...

Related branches

Changed in maas:
milestone: none → 2.4.0rc1
importance: Undecided → High
status: New → Triaged
Changed in maas:
importance: High → Critical
assignee: nobody → Lee Trager (ltrager)
Revision history for this message
Tony (tony-sarajarvi) wrote :
Revision history for this message
Andres Rodriguez (andreserl) wrote : Re: [Bug 1770436] Re: [2.4] PXE template for localboot in EFI no longer filters based on OS

Hi Tony,

It’s not the same issue. Here the local boot config is not evaluating the
OS, where as in the, we are not sending the correct boot loader for centos.

On Fri, May 11, 2018 at 7:41 AM Tony <email address hidden>
wrote:

> Duplicate to https://bugs.launchpad.net/maas/+bug/1740925 ?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1770436
>
> Title:
> [2.4] PXE template for localboot in EFI no longer filters based on OS
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/maas/+bug/1770436/+subscriptions
>
> Launchpad-Notification-Type: bug
> Launchpad-Bug: product=maas; milestone=2.4.0rc1; status=Triaged;
> importance=Critical; <email address hidden>;
> Launchpad-Bug-Information-Type: Public
> Launchpad-Bug-Private: no
> Launchpad-Bug-Security-Vulnerability: no
> Launchpad-Bug-Commenters: andreserl tony-sarajarvi
> Launchpad-Bug-Reporter: Andres Rodriguez (andreserl)
> Launchpad-Bug-Modifier: Tony (tony-sarajarvi)
> Launchpad-Message-Rationale: Subscriber
> Launchpad-Message-For: andreserl
>
--
Andres Rodriguez (RoAkSoAx)
Ubuntu Server Developer
MSc. Telecom & Networking
Systems Engineer

Changed in maas:
status: Triaged → In Progress
Changed in maas:
milestone: 2.4.0rc1 → 2.4.0rc2
Changed in maas:
status: In Progress → Fix Committed
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.