← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 940539] Re: libvirt deletes VM configuration file after editing uuid

 

** Changed in: libvirt (Ubuntu)
       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/940539

Title:
  libvirt deletes VM configuration file after editing uuid

Status in libvirt:
  Unknown
Status in OpenStack Compute (nova):
  Invalid
Status in libvirt package in Ubuntu:
  Invalid

Bug description:
  https://bugzilla.redhat.com/show_bug.cgi?id=797281

  Description of problem:

  libvirt deleted the XML configuration file for a VM after an edit.

  Version-Release number of selected component (if applicable):

  ii  libvirt-bin                     0.9.2-4ubuntu15                           
  ii  libvirt0                        0.9.2-4ubuntu15                            

  How reproducible: 100%

  Steps to Reproduce:
  1. Create and define a VM, but do not start it.
  2. virsh edit the VM.
  3. Change the UUID
  4. Save and exit the editor.
  5. Error message appears:
  error: operation failed: domain 'orchestra' already exists with uuid
  4dd4e4bc-ec46-d7b8-5935-cbd727dd89c0
  6. Observe XML file in /etc/libvirt/qemu now gone, and never called me mother.

  Actual results:
  XML file vanished, and VM config lost to posterity.

  Expected results:
  VM config should still exist, with an updated UUID.
  libvirt should honour the updated UUID.

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