← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1183534] Re: libvirt domain creation errors not debuggable from logs alone

 

** Changed in: tripleo
       Status: Triaged => Fix Released

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

Title:
  libvirt domain creation errors not debuggable from logs alone

Status in OpenStack Compute (Nova):
  Fix Released
Status in tripleo - openstack on openstack:
  Fix Released

Bug description:
  in nova/virt/libvirt/driver.py line 2410 - the _create_domain
  function, The XML passed in is used :

           if xml:
              domain = self._conn.defineXML(xml)

  but when an error happens, the value of the xml is not reported, which
  makes reproducing or inspecting the xml for correctness impossible.

  Right now we're debugging an error like :

  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 650, in
  createWithFlags\n    if ret == -1: raise libvirtError
  (\'virDomainCreateWithFlags() failed\', dom=self)\n', u'libvirtError:
  internal error Process exited while reading console log output:
  Warning: option deprecated, use lost_tick_policy property of kvm-pit
  instead.\nchardev: opening backend "file" failed\n\n'

  and having the XML would allow reproduction and analysis.

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