← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1623703] [NEW] libvirt: hard reboot incorrectly create nova/instances/<uuid>/<uuid>_disk with lvm backend

 

Public bug reported:

Configure Nova compute to use lvm backend, spawn an instance based on
glance image, under folder nova/instances/<uuid> we don't see any
<uuid>_disk file and this is correct.  Next, if we do a hard reboot on
this instance then libvirt incorrectly creates file
nova/instances/<uuid>/<uuid>_disk.

Steps to reproduce under devstack:

* On compute node, create LVM volume group "image-lvm-local"
* On compute node, modify nova config file under [libvirt] to enable lvm backend with
  images_type = "lvm" and images_volume_group = "image-lvm-local"
* Start an instance no file nova/instances/<uuid>/<uuid>_disk exists
* Do hard reboot on the instance and nova/instances/<uuid>/<uuid>_disk is incorrectly created.

** 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/1623703

Title:
  libvirt: hard reboot incorrectly create
  nova/instances/<uuid>/<uuid>_disk with lvm backend

Status in OpenStack Compute (nova):
  New

Bug description:
  Configure Nova compute to use lvm backend, spawn an instance based on
  glance image, under folder nova/instances/<uuid> we don't see any
  <uuid>_disk file and this is correct.  Next, if we do a hard reboot on
  this instance then libvirt incorrectly creates file
  nova/instances/<uuid>/<uuid>_disk.

  Steps to reproduce under devstack:

  * On compute node, create LVM volume group "image-lvm-local"
  * On compute node, modify nova config file under [libvirt] to enable lvm backend with
    images_type = "lvm" and images_volume_group = "image-lvm-local"
  * Start an instance no file nova/instances/<uuid>/<uuid>_disk exists
  * Do hard reboot on the instance and nova/instances/<uuid>/<uuid>_disk is incorrectly created.

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