Shipped version incompatible with OpenStack release

Bug #1528646 reported by Mohammed Naser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Cloud Archive
Fix Released
Medium
Unassigned

Bug Description

Hello,

# lsb_release -rd
Description: Ubuntu 14.04.3 LTS
Release: 14.04

Using the Ubuntu Cloud Archive (Kilo) packages, there is no python-libvirt package that is shipped so it's using the one that is shipped with Ubuntu 14.04 that is 1.2.2-0ubuntu2. However, the libvirt release shipped is 1.2.16-2ubuntu11~cloud0.

This causes some problems, mainly in this case that the calls to set_admin_password OpenStack API call fails because the older API does not have the new call: AttributeError: 'virDomain' object has no attribute 'setUserPassword'

2015-12-22 17:51:59.370 23857 ERROR nova.compute.manager [instance: f3135635-2247-4eba-ac7c-23ec3f51d134] Traceback (most recent call last):
2015-12-22 17:51:59.370 23857 ERROR nova.compute.manager [instance: f3135635-2247-4eba-ac7c-23ec3f51d134] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3164, in set_admin_password
2015-12-22 17:51:59.370 23857 ERROR nova.compute.manager [instance: f3135635-2247-4eba-ac7c-23ec3f51d134] self.driver.set_admin_password(instance, new_pass)
2015-12-22 17:51:59.370 23857 ERROR nova.compute.manager [instance: f3135635-2247-4eba-ac7c-23ec3f51d134] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1478, in set_admin_password
2015-12-22 17:51:59.370 23857 ERROR nova.compute.manager [instance: f3135635-2247-4eba-ac7c-23ec3f51d134] guest.set_user_password(user, new_pass)
2015-12-22 17:51:59.370 23857 ERROR nova.compute.manager [instance: f3135635-2247-4eba-ac7c-23ec3f51d134] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/guest.py", line 321, in set_user_password
2015-12-22 17:51:59.370 23857 ERROR nova.compute.manager [instance: f3135635-2247-4eba-ac7c-23ec3f51d134] self._domain.setUserPassword(user, new_pass, 0)
2015-12-22 17:51:59.370 23857 ERROR nova.compute.manager [instance: f3135635-2247-4eba-ac7c-23ec3f51d134] File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 176, in __getattr__
2015-12-22 17:51:59.370 23857 ERROR nova.compute.manager [instance: f3135635-2247-4eba-ac7c-23ec3f51d134] f = getattr(self._obj, attr_name)
2015-12-22 17:51:59.370 23857 ERROR nova.compute.manager [instance: f3135635-2247-4eba-ac7c-23ec3f51d134] AttributeError: 'virDomain' object has no attribute 'setUserPassword'

I would appreciate if the cloud archive team could bring the 1.2.16 release to the Kilo release so that this issue is resolved, as it currently breaks the behaviour of resetting passwords when using qemu-guest-agent.

Thank you,
Mohammed

James Page (james-page)
no longer affects: python-libvirt (Ubuntu)
Changed in cloud-archive:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
James Page (james-page) wrote :

Kilo UCA now has matching libvirt-python:

libvirt-python 1.2.12-0ubuntu1

Revision history for this message
James Page (james-page) wrote :

Matches:

libvirt 1.2.12-0ubuntu14.4

Changed in cloud-archive:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.