** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-1

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

Title:
  libvirt tests fail due to too many connections

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Our libvirt unit tests can open too many connections to libvirt and
  cause a failure:

  ft533.70: 
nova.tests.test_libvirt.LibvirtConnTestCase.test_xml_and_uri_no_ramdisk_StringException:
 Empty attachments:
    stderr
    stdout

  pythonlogging:'nova': {{{
  Loading network driver 'nova.network.linux_net'
  Loading network driver 'nova.network.linux_net'
  Loading network driver 'nova.network.linux_net'
  URI qemu:///system does not support events
  Loading network driver 'nova.network.linux_net'
  Connection to libvirt failed: Cannot recv data: Connection reset by peer
  Traceback (most recent call last):
    File 
"/home/jenkins/workspace/gate-nova-python27/nova/virt/libvirt/driver.py", line 
625, in _connect
      return libvirt.openReadOnly(uri)
    File "/usr/lib/python2.7/dist-packages/libvirt.py", line 247, in 
openReadOnly
      if ret is None:raise libvirtError('virConnectOpenReadOnly() failed')
  libvirtError: Cannot recv data: Connection reset by peer
  URI qemu:///system does not support events
  Connection to libvirt failed: Cannot write data: Broken pipe
  Traceback (most recent call last):
    File 
"/home/jenkins/workspace/gate-nova-python27/nova/virt/libvirt/driver.py", line 
625, in _connect
      return libvirt.openReadOnly(uri)
    File "/usr/lib/python2.7/dist-packages/libvirt.py", line 247, in 
openReadOnly
      if ret is None:raise libvirtError('virConnectOpenReadOnly() failed')
  libvirtError: Cannot write data: Broken pipe
  URI qemu:///system does not support events
  }}}

  Traceback (most recent call last):
    File 
"/home/jenkins/workspace/gate-nova-python27/nova/tests/test_libvirt.py", line 
940, in test_xml_and_uri_no_ramdisk
      expect_kernel=True, expect_ramdisk=False)
    File 
"/home/jenkins/workspace/gate-nova-python27/nova/tests/test_libvirt.py", line 
2012, in _check_xml_and_uri
      rescue=rescue)
    File 
"/home/jenkins/workspace/gate-nova-python27/nova/virt/libvirt/driver.py", line 
2326, in to_xml
      disk_info, rescue, block_device_info)
    File 
"/home/jenkins/workspace/gate-nova-python27/nova/virt/libvirt/driver.py", line 
2145, in get_guest_config
      guest.cpu = self.get_guest_cpu_config()
    File 
"/home/jenkins/workspace/gate-nova-python27/nova/virt/libvirt/driver.py", line 
1996, in get_guest_cpu_config
      cpu = self.get_host_cpu_for_guest()
    File 
"/home/jenkins/workspace/gate-nova-python27/nova/virt/libvirt/driver.py", line 
1937, in get_host_cpu_for_guest
      caps = self.get_host_capabilities()
    File 
"/home/jenkins/workspace/gate-nova-python27/nova/virt/libvirt/driver.py", line 
1922, in get_host_capabilities
      xmlstr = self._conn.getCapabilities()
  AttributeError: 'NoneType' object has no attribute 'getCapabilities'

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to