← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1266711] Re: AttributeError: virConnect instance has no attribute 'registerCloseCallback'

 

** Also affects: nova/havana
   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/1266711

Title:
  AttributeError: virConnect instance has no attribute
  'registerCloseCallback'

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Compute (nova) havana series:
  New
Status in OpenStack Core Infrastructure:
  Fix Released

Bug description:
  During Jenkins tests I got this error two times with a different
  patchset

  ft1.8205: nova.tests.virt.libvirt.test_libvirt.LibvirtNonblockingTestCase.test_connection_to_primitive_StringException: Empty attachments:
    stderr
    stdout

  pythonlogging:'': {{{WARNING [nova.virt.libvirt.driver] URI
  test:///default does not support events: internal error: could not
  initialize domain event timer}}}

  Traceback (most recent call last):
    File "nova/tests/virt/libvirt/test_libvirt.py", line 7570, in test_connection_to_primitive
      jsonutils.to_primitive(connection._conn, convert_instances=True)
    File "nova/virt/libvirt/driver.py", line 678, in _get_connection
      wrapped_conn = self._get_new_connection()
    File "nova/virt/libvirt/driver.py", line 664, in _get_new_connection
      wrapped_conn.registerCloseCallback(
    File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/tpool.py", line 172, in __getattr__
      f = getattr(self._obj,attr_name)
  AttributeError: virConnect instance has no attribute 'registerCloseCallback'

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


References