[Bug 1750732] Re: grub package will change the boot order for MaaS deployed system
Po-Hsu Lin
po-hsu.lin at canonical.com
Thu Feb 22 06:51:43 UTC 2018
Hello,
I'm using MaaS 2.3 (2.3.0-6434-gd354690-0ubuntu1~16.04.1)
For the requested information:
1. curtin config: https://pastebin.canonical.com/p/Ksp7YjYYxB/
2. Installation log for that node: https://pastebin.canonical.com/p/8WKwXxM34V/
3. $ sudo debconf-show debconf
debconf/priority: high
debconf-apt-progress/title:
debconf-apt-progress/info:
debconf/frontend: Dialog
debconf-apt-progress/media-change:
debconf-apt-progress/preparing:
$ sudo debconf-get-selections
https://pastebin.canonical.com/p/Sw8jsfcXHw/
4. # DEBIAN_FRONTEND=readline DEBCONF_DEBUG=developer apt-get install grub-efi-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
grub-pc-bin
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
grub-common grub-efi-amd64-bin grub-efi-amd64-signed grub-pc-bin grub2-common
Suggested packages:
multiboot-doc grub-emu xorriso desktop-base
The following packages will be upgraded:
grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub-pc-bin grub2-common
6 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
Need to get 4,129 kB of archives.
After this operation, 4,096 B of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 grub-efi-amd64-signed amd64 1.66.17+2.02~beta2-36ubuntu3.17 [297 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 grub-efi-amd64 amd64 2.02~beta2-36ubuntu3.17 [65.9 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 grub2-common amd64 2.02~beta2-36ubuntu3.17 [511 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 grub-pc-bin amd64 2.02~beta2-36ubuntu3.17 [888 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 grub-efi-amd64-bin amd64 2.02~beta2-36ubuntu3.17 [661 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 grub-common amd64 2.02~beta2-36ubuntu3.17 [1,705 kB]
Fetched 4,129 kB in 0s (42.3 MB/s)
Preconfiguring packages ...
debconf (developer): starting /tmp/grub-efi-amd64.config.qFN0z0 configure 2.02~beta2-36ubuntu3.16
debconf (developer): <-- SET grub2/linux_cmdline
debconf (developer): --> 0 value set
debconf (developer): <-- SET grub2/linux_cmdline_default
debconf (developer): --> 0 value set
debconf (developer): <-- INPUT medium grub2/linux_cmdline
debconf (developer): --> 30 question skipped
debconf (developer): <-- INPUT medium grub2/linux_cmdline_default
debconf (developer): --> 30 question skipped
debconf (developer): <-- INPUT low grub2/force_efi_extra_removable
debconf (developer): --> 30 question skipped
debconf (developer): <-- INPUT low grub2/update_nvram
debconf (developer): --> 30 question skipped
debconf (developer): <-- GO
debconf (developer): --> 0 ok
(Reading database ... 61346 files and directories currently installed.)
Preparing to unpack .../grub-efi-amd64-signed_1.66.17+2.02~beta2-36ubuntu3.17_amd64.deb ...
Unpacking grub-efi-amd64-signed (1.66.17+2.02~beta2-36ubuntu3.17) over (1.66.16+2.02~beta2-36ubuntu3.16) ...
Preparing to unpack .../grub-efi-amd64_2.02~beta2-36ubuntu3.17_amd64.deb ...
Unpacking grub-efi-amd64 (2.02~beta2-36ubuntu3.17) over (2.02~beta2-36ubuntu3.16) ...
Preparing to unpack .../grub2-common_2.02~beta2-36ubuntu3.17_amd64.deb ...
Unpacking grub2-common (2.02~beta2-36ubuntu3.17) over (2.02~beta2-36ubuntu3.16) ...
Preparing to unpack .../grub-pc-bin_2.02~beta2-36ubuntu3.17_amd64.deb ...
Unpacking grub-pc-bin (2.02~beta2-36ubuntu3.17) over (2.02~beta2-36ubuntu3.16) ...
Preparing to unpack .../grub-efi-amd64-bin_2.02~beta2-36ubuntu3.17_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.02~beta2-36ubuntu3.17) over (2.02~beta2-36ubuntu3.16) ...
Preparing to unpack .../grub-common_2.02~beta2-36ubuntu3.17_amd64.deb ...
Unpacking grub-common (2.02~beta2-36ubuntu3.17) over (2.02~beta2-36ubuntu3.16) ...
Processing triggers for install-info (6.1.0.dfsg.1-5) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for systemd (229-4ubuntu21.1) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Setting up grub-common (2.02~beta2-36ubuntu3.17) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Setting up grub2-common (2.02~beta2-36ubuntu3.17) ...
Setting up grub-efi-amd64-bin (2.02~beta2-36ubuntu3.17) ...
Setting up grub-efi-amd64 (2.02~beta2-36ubuntu3.17) ...
debconf (developer): frontend started
debconf (developer): frontend running, package name is grub-efi-amd64
debconf (developer): starting /var/lib/dpkg/info/grub-efi-amd64.config configure 2.02~beta2-36ubuntu3.16
debconf (developer): <-- SET grub2/linux_cmdline
debconf (developer): --> 0 value set
debconf (developer): <-- SET grub2/linux_cmdline_default
debconf (developer): --> 0 value set
debconf (developer): <-- INPUT medium grub2/linux_cmdline
debconf (developer): --> 30 question skipped
debconf (developer): <-- INPUT medium grub2/linux_cmdline_default
debconf (developer): --> 30 question skipped
debconf (developer): <-- INPUT low grub2/force_efi_extra_removable
debconf (developer): --> 30 question skipped
debconf (developer): <-- INPUT low grub2/update_nvram
debconf (developer): --> 30 question skipped
debconf (developer): <-- GO
debconf (developer): --> 0 ok
debconf (developer): starting /var/lib/dpkg/info/grub-efi-amd64.postinst configure 2.02~beta2-36ubuntu3.16
debconf (developer): <-- GET grub2/linux_cmdline
debconf (developer): --> 0
debconf (developer): <-- GET grub2/linux_cmdline_default
debconf (developer): --> 0
debconf (developer): <-- X_LOADTEMPLATEFILE /var/lib/dpkg/info/ucf.templates ucf
debconf (developer): --> 0
debconf (developer): <-- GET grub2/force_efi_extra_removable
debconf (developer): --> 0 false
debconf (developer): <-- GET grub2/update_nvram
debconf (developer): --> 0 false
Installing for x86_64-efi platform.
Installation finished. No error reported.
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.4.0-116-generic
Found initrd image: /boot/initrd.img-4.4.0-116-generic
Adding boot menu entry for EFI firmware configuration
done
Setting up grub-efi-amd64-signed (1.66.17+2.02~beta2-36ubuntu3.17) ...
Installing for x86_64-efi platform.
Installation finished. No error reported.
Setting up grub-pc-bin (2.02~beta2-36ubuntu3.17) ...
Processing triggers for shim-signed (1.33.1~16.04.1+13-0ubuntu2) ...
debconf (developer): frontend started
debconf (developer): frontend running, package name is shim-signed
debconf (developer): starting /var/lib/dpkg/info/shim-signed.postinst triggered shim-secureboot-policy
No DKMS packages installed: not changing Secure Boot validation state.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1750732
Title:
grub package will change the boot order for MaaS deployed system
Status in curtin package in Ubuntu:
New
Status in grub2 package in Ubuntu:
New
Status in maas package in Ubuntu:
Incomplete
Bug description:
Similar to bug 1642298, this issue strikes back (looks like it's only
affecting our node "lodygin - AMD Speedway Naples 2U" in the test
pool)
Steps:
1. Deploy a system with Xenial
2. Check the boot order with `efibootmgr`
3. Upgrade grub-efi-amd64 from proposed
4. Reboot
5. Check the `efibootmgr` again
Result:
* The boot order will be overrided to boot from disk first, MaaS needs it to boot with PXE first.
Package version:
grub-common 2.02~beta2-36ubuntu3.17
grub-efi-amd64 2.02~beta2-36ubuntu3.17
grub-efi-amd64-bin 2.02~beta2-36ubuntu3.17
grub-efi-amd64-signed 1.66.17+2.02~beta2-36ubuntu3.17
grub-pc 2.02~beta2-36ubuntu3.16
grub-pc-bin 2.02~beta2-36ubuntu3.17
grub2-common 2.02~beta2-36ubuntu3.17
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: grub-efi-amd64 2.02~beta2-36ubuntu3.17
ProcVersionSignature: User Name 4.4.0-112.135-generic 4.4.98
Uname: Linux 4.4.0-112-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
Date: Wed Feb 21 06:09:29 2018
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/curtin/+bug/1750732/+subscriptions
More information about the foundations-bugs
mailing list