to take a new virtapi parameter. This is not required by any
ceilometer usage of the driver, however the absence of a
corresponding argument causes importutils.import_object_ns()
to fail with TypeError.
For testing the nova fake.FakeVirtAPI still uses the old
signature, hence we try both.
Reviewed: https:/ /review. openstack. org/15992 github. com/openstack/ ceilometer/ commit/ 090964310b2eb57 874edfd81001b75 c7cb42c096
Committed: http://
Submitter: Jenkins
Branch: master
commit 090964310b2eb57 874edfd81001b75 c7cb42c096
Author: Eoghan Glynn <email address hidden>
Date: Tue Nov 13 16:31:00 2012 +0000
Avoid TypeError when loading libvirt. LibvirtDriver
Fixes bug 1078304
The libvirt. LibvirtDriver. __init_ _() signature has changed since:
https:/ /github. com/openstack/ nova/commit/ 081b652c
to take a new virtapi parameter. This is not required by any import_ object_ ns()
ceilometer usage of the driver, however the absence of a
corresponding argument causes importutils.
to fail with TypeError.
For testing the nova fake.FakeVirtAPI still uses the old
signature, hence we try both.
Change-Id: I05a9728ceb435a 72f5fa8a648cd70 b079126396e