Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid TypeError when loading libvirt.LibvirtDriver
Fixes bug 1078304 The libvirt.LibvirtDriver.__init__() signature has changed since: openstack/nova@081b652c 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. Change-Id: I05a9728ceb435a72f5fa8a648cd70b079126396e
- Loading branch information