commit db68dc8670fc8943dfc142ebb0f3f1f405c04e4b
Author: Matt Riedemann <email address hidden>
Date: Wed Oct 9 14:38:25 2013 -0700
Fix vmwareapi driver get_diagnostics calls
The vmware driver is calling vmops.get_info for both the get_info and
get_diagnostics APIs which is wrong since they should be returning
different information. Given the hypervisor support matrix doesn't list
the vmware driver as supporting the nova diagnostics API, it seems this
was just an oversight.
This patch changes the driver code to call the vmops.get_diagnostics
method which raises NotImplementedError. It also fixes the tests to
actually ensure covers get_diagnostics for both the ESX driver and the
VC driver.
Reviewed: https:/ /review. openstack. org/50761 github. com/openstack/ nova/commit/ db68dc8670fc894 3dfc142ebb0f3f1 f405c04e4b
Committed: http://
Submitter: Jenkins
Branch: master
commit db68dc8670fc894 3dfc142ebb0f3f1 f405c04e4b
Author: Matt Riedemann <email address hidden>
Date: Wed Oct 9 14:38:25 2013 -0700
Fix vmwareapi driver get_diagnostics calls
The vmware driver is calling vmops.get_info for both the get_info and
get_diagnostics APIs which is wrong since they should be returning
different information. Given the hypervisor support matrix doesn't list
the vmware driver as supporting the nova diagnostics API, it seems this
was just an oversight.
This patch changes the driver code to call the vmops.get_ diagnostics rror. It also fixes the tests to
method which raises NotImplementedE
actually ensure covers get_diagnostics for both the ESX driver and the
VC driver.
Closes-Bug: #1237622
Change-Id: I0c9015f1f7d5dd 219548196de479e 87e878ea0fd