← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1226393] Re: hard_reboot fails to start instance when libvirt_images_type=lvm and using config_drive

 

Long incomplete bug

** Changed in: nova
       Status: Incomplete => Invalid

-- 
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/1226393

Title:
  hard_reboot fails to start instance when libvirt_images_type=lvm and
  using config_drive

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  even when libvirt_images_type is set to LVM, the config_drive is still
  created as a file backed image.

  When an instance is powercycled, nova is unable to launch the instance
  as it expects that the config_drive path is an LVM path, which it is
  not.

  The error message reported in nova-compute.log:

  2013-09-16 20:52:30.429 ERROR nova.compute.manager [req-e2259ddf-1af5-4b05-bdac-6c7b735f3082 5bbbcc1c565546c38be9c47f89c90335 21a619da59ebbab0e1d998ea035c3469] [instance: ecfa7090-758c-4024-b5e0-410c945e1772] Cannot reboot instance: Unexpected error while running command.
  Command: sudo nova-rootwrap /etc/nova/rootwrap.conf lvs -o lv_size --noheadings --units b --nosuffix /dev/nova-volume/instance-00000296_/var/lib/nova/instances/ecfa7090-758c-4024-b5e0-410c945e1772/disk.config
  Exit code: 5
  Stdout: ''
  Stderr: ' "nova-volume/instance-00000296_/var/lib/nova/instances/ecfa7090-758c-4024-b5e0-410c945e1772/disk.config": Invalid path for Logical Volume\n'

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