nova stop/start or reboot --hard resets uefi nvram
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Undecided
|
Jack Ding |
Bug Description
Using nova to boot UEFI instances in certain circumstances the nvram is cleared
e.g. on a deployed node my nvram is set too boot from the grub installed on the EFI partition
[root@t1 boot]# efibootmgr
Timeout: 0 seconds
BootOrder: 0004,0002,
Boot0000* EFI Floppy
Boot0001* EFI Floppy 1
Boot0002* EFI Hard Drive
Boot0003* EFI Network
Boot0004* centos
This is working I can run
> nova reboot dbdc6b36-
but if I run a nova reboot --hard or a combination of nova stop/start then the libvirt domain is redefined, as part of this process the nvram is reset, the boot process stalls at the boot menu and I have to select boot from file
[root@t1 boot]# efibootmgr
Timeout: 0 seconds
BootOrder: 0002,0000,0001,0003
Boot0000* EFI Floppy
Boot0001* EFI Floppy 1
Boot0002* EFI Hard Drive
Boot0003* EFI Network
Changed in nova: | |
assignee: | nobody → 赵明俊 (falseuser) |
Changed in nova: | |
assignee: | 赵明俊 (falseuser) → nobody |
Changed in nova: | |
assignee: | nobody → Jack Ding (jackding) |
Changed in nova: | |
assignee: | Jack Ding (jackding) → Chris Friesen (cbf123) |
Changed in nova: | |
assignee: | Chris Friesen (cbf123) → yao (yaozhou) |
Changed in nova: | |
assignee: | yao (yaozhou) → Boxiang Zhu (bxzhu-5355) |
Changed in nova: | |
assignee: | Boxiang Zhu (bxzhu-5355) → Jack Ding (jackding) |
Related bug https:/ /bugs.launchpad .net/ironic- python- agent/+ bug/1632637