[SRU] Fast installer - failure to install grub (UEFI mode)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Fix Released
|
High
|
Blake Rouse | ||
curtin (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned | ||
Utopic |
Fix Released
|
High
|
Unassigned | ||
Vivid |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
This causes machines that MAAS / curtin will fail to install to those machines that have UEFI enabled.
[Test Case]
1. Install maas
2. register a system with UEFI enabled.
3. Deploy Ubuntu. It will fail because curtin will fail to deal with UEFI.
[Regression Potential]
Minimal. This actually fixes a regression. This has been tested in various labs and proven to be working on production environments.
[Other Info]
After recent upgrade to 1.7, fast installer trusty deployment with /dev/fioa as boot device does not work. This is for UEFI mode. It worked prior to upgrade. Below is output cloud-init-
"
...
grub-install: error: /usr/lib/
failed to install grub!
Unexpected error while running command.
Command: ['install-grub', '--uefi', '/tmp/tmpBpbjAX
Exit code: 1
Reason: -
Stdout: ''
Stderr: ''
Installation failed with exception: Unexpected error while running command.
Command: ['curtin', 'curthooks']
Exit code: 3
Reason: -
Stdout: "
<< additional log goes here >>
...\nSetting up efibootmgr (0.5.4-7ubuntu1) ...\nSetting up grub-efi-amd64-bin (2.02~beta2-
Stderr: ''
Success
umount: /tmp/tmpBpbjAX/
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
Unexpected error while running command.
Command: ['umount', '/tmp/tmpBpbjAX
Exit code: 1
Reason: -
Stdout: ''
Stderr: ''
2014-10-21 13:04:31,654 - util.py[WARNING]: Failed running /var/lib/
2014-10-21 13:04:31,656 - cc_scripts_
2014-10-21 13:04:31,656 - util.py[WARNING]: Running scripts-user (<module 'cloudinit.
Cloud-init v. 0.7.5 finished at Tue, 21 Oct 2014 13:04:32 +0000. Datasource DataSourceMAAS [http://
"
Related branches
- Blake Rouse (community): Approve
-
Diff: 48 lines (+5/-6)1 file modifiedhelpers/common (+5/-6)
no longer affects: | maas |
Changed in curtin: | |
status: | New → Confirmed |
importance: | Undecided → High |
summary: |
- Fast installer - failure to install grub on non-standard device (UEFI - mode) + Fast installer - failure to install grub (UEFI mode) |
no longer affects: | maas-images |
Changed in curtin: | |
assignee: | nobody → Blake Rouse (blake-rouse) |
Changed in curtin: | |
status: | Confirmed → Fix Committed |
Changed in curtin (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in curtin (Ubuntu Trusty): | |
importance: | Undecided → High |
Changed in curtin (Ubuntu Utopic): | |
importance: | Undecided → High |
summary: |
- Fast installer - failure to install grub (UEFI mode) + [SRU] Fast installer - failure to install grub (UEFI mode) |
description: | updated |
description: | updated |
Adding the log files.