← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1633447] [NEW] nova stop/start or reboot --hard rests uefi nvram

 

Public bug reported:

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,0000,0001,0003
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-1f17-4722-89e5-117986b10059

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

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1633447

Title:
  nova stop/start or reboot --hard rests uefi nvram

Status in OpenStack Compute (nova):
  New

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,0000,0001,0003
  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-1f17-4722-89e5-117986b10059

  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1633447/+subscriptions