Upgrade of grub-pc during install fails
Bug #1481992 reported by
Jill Rouleau
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Undecided
|
Unassigned | ||
curtin |
Fix Released
|
Low
|
Unassigned | ||
curtin (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Trusty |
Confirmed
|
Low
|
Unassigned |
Bug Description
When installing with a dist-upgrade included in the preseed, grub-pc upgrade causes install to fail since the trusty/grub-pc around 5/13. So far can reliably reproduce on Dell (R620, R630, R730) but not HP or Supermicro.
If grub-pc is held, or no dist-upgrade, install succeeds. Upgrading grub-pc after boot shows legacy grub present, with menu.lst for /boot/grub.. Upgrading prompts for install partition which seems to be where the failure is when upgrading during maas-curtin. HWE install also fails. Logs attached taken from ephemeral boot with dist-upgrade in the preseed.
Related branches
Changed in maas: | |
status: | New → Incomplete |
Changed in maas: | |
status: | New → Invalid |
To post a comment you must log in.
Hi, FRONTEND= noninteractive apt-get --option= Dpkg::Options: :=--force- confold \
--option= Dpkg::options: :=--force- unsafe- io --assume-yes
I'd like 2 bits of info:
a.) I'd like to get a run logged with verbosity increased.
b.) change your config to so that you're running the dist-upgrade like this:
curtin in-target env DEBIAN_
rather than this:
curtin config in-target apt-get --assume-yes dist-upgrade
I suspect 'b' will solve your install failure, but may result in a sytem that doesnt boot properly.
== to run with increased verbosity ==
You can do this in older versions of curtin (less than bzr rev 243) only by changing 'curtin/pack.py' on the maas region controller.
To do that, in 'pack_install' method, just change:
command = ["curtin", "install"]
to
command = ["curtin", "-vvv", "install"]
In newer version of curtin, you can simply change config that is passed to curtin (such as where you're running 'dist-upgrade' from). The config just looks like:
verbosity: 3