yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #07999
[Bug 1266711] Re: AttributeError: virConnect instance has no attribute 'registerCloseCallback'
The trigger for this was an inadvertent upgrade to libvirt 1.11 on all
the slaves. When we determined that http://git.openstack.org/cgit
/openstack-infra/config/commit/?id=bdcc115 was broken and reverted it
with http://git.openstack.org/cgit/openstack-
infra/config/commit/?id=f7b9581 (back in late September), we neglected
to remove the /etc/apt/sources.list.d/cloudarchive.list file it left
behind. This went unnoticed because unattended-upgrade job does not
upgrade from unofficial repositories unless explicitly whitelisted, so
it wasn't until early this morning when we approved
http://git.openstack.org/cgit/openstack-infra/config/commit/?id=0385b96
that apt-get ended up pulling libvirt-dev and its dependencies from
Ubuntu Cloud Archive rather than main that this came to light.
The ensuing mayhem was resolved by merging http://git.openstack.org/cgit
/openstack-infra/config/commit/?id=7282ca4 and then using salt.run to
execute the following on all precise.* slaves:
rm -f /etc/apt/sources.list.d/cloudarchive.list
apt-get update
apt-get install -y --force-yes \
libvirt-bin=0.9.8-2ubuntu17.16 \
libvirt-dev=0.9.8-2ubuntu17.16 \
libvirt0=0.9.8-2ubuntu17.16 \
libxenstore3.0=4.1.5-0ubuntu0.12.04.2 \
libxen-dev=4.1.5-0ubuntu0.12.04.2
Since then, subsequent unit tests are back to using old libvirt in CI
and passing normally.
** Changed in: openstack-ci
Status: In Progress => 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/1266711
Title:
AttributeError: virConnect instance has no attribute
'registerCloseCallback'
Status in OpenStack Compute (Nova):
Confirmed
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