Activity log for bug #1906379

Date Who What changed Old value New value Message
2020-12-01 09:37:25 Lee Trager bug added bug
2020-12-01 09:37:31 Lee Trager maas: milestone 2.9.0rc4
2020-12-01 09:44:49 Lee Trager description When MAAS deploys CentOS 7/8 it boots into the user selected commissioning environment(Xenial, Bionic, or Focal) and runs Curtin. If the system uses UEFI Curtin creates a boot entry with efibootmgr. Adding and ordering the entry is logged and I have manually confirmed it is created properly. Once Ubuntu shuts down to boot into the deployed system it seems to be removing CentOS's UEFI boot entry. I have confirmed this happens during the shutdown process by using the system firmware to select a temporary boot device(Ubuntu LiveCD) and running efibootmgr -v to see only the system default boot entries. This can cause booting failures when network booting isn't available or a grub bug such as LP:1906344. When MAAS deploys CentOS 7/8 it boots into the user selected commissioning environment(Xenial, Bionic, or Focal) and runs Curtin. If the system uses UEFI Curtin creates a boot entry with efibootmgr. Adding and ordering the entry is logged and I have manually confirmed it is created properly. Once Ubuntu shuts down to boot into the deployed system it seems to be removing CentOS's UEFI boot entry. I have confirmed this happens during the shutdown process by using the system firmware to select a temporary boot device(Ubuntu LiveCD) and running efibootmgr -v to see only the system default boot entries. This can cause booting failures when network booting isn't available or a grub bug such as LP:1906344. Reproduction: 1. Deploy CentOS 7 or 8 using MAAS to a UEFI system. 2. Verify UEFI boot entry was added in installation/Curtin log 3. In deployed system or rescue environment see `efibootmgr -v` does not include CentOS.
2020-12-04 21:39:13 Lee Trager maas: milestone 2.9.0rc4
2021-01-12 11:15:13 Dimitri John Ledkov bug watch added https://github.com/rhboot/efivar/issues/157
2021-01-14 00:13:17 Lee Trager attachment added curtin-centos-no-uefi.log https://bugs.launchpad.net/maas/+bug/1906379/+attachment/5452765/+files/curtin-centos-no-uefi.log
2021-01-25 11:27:55 Dimitri John Ledkov bug task added curtin
2021-01-25 11:28:03 Dimitri John Ledkov curtin: status New Incomplete
2021-01-25 11:31:20 Launchpad Janitor merge proposal linked https://code.launchpad.net/~xnox/curtin/+git/curtin/+merge/396820
2021-01-25 12:32:19 Launchpad Janitor merge proposal linked https://code.launchpad.net/~xnox/curtin/+git/curtin/+merge/396823
2021-01-25 14:33:35 Dimitri John Ledkov curtin: status Incomplete Confirmed
2021-01-26 03:40:55 Server Team CI bot curtin: status Confirmed Fix Committed
2021-01-27 01:54:51 Michael Hudson-Doyle curtin: status Fix Committed Fix Released
2022-07-01 08:42:09 Adam Collard maas: assignee Lee Trager (ltrager)
2023-08-24 08:28:49 Adam Collard maas: status Triaged Fix Committed
2023-08-24 08:28:49 Adam Collard maas: milestone 3.5.0