Correct host count in instance_usage_audit_log extension.
This fixes bug 1030106. Basically we were not counting disabled hosts
in the total host count. Also I have refactored the get_audit_task_logs
method, it's really part of the extension (only the extension uses it),
so I've moved it out of nova.compute.utils into the extension itself.
(the tests that exercise it already lived in the extension's tests anyway.)
Reviewed: https:/ /review. openstack. org/10427 github. com/openstack/ nova/commit/ aad7743f42e559a efde37bb4462298 6df4e2ae98
Committed: http://
Submitter: Jenkins
Branch: master
commit aad7743f42e559a efde37bb4462298 6df4e2ae98
Author: Monsyne Dragon <email address hidden>
Date: Fri Jul 27 19:51:32 2012 +0000
Correct host count in instance_ usage_audit_ log extension.
This fixes bug 1030106. Basically we were not counting disabled hosts
in the total host count. Also I have refactored the get_audit_task_logs
method, it's really part of the extension (only the extension uses it),
so I've moved it out of nova.compute.utils into the extension itself.
(the tests that exercise it already lived in the extension's tests anyway.)
Change-Id: Iaf42d887b824ba 0cbf6ab0ed143a4 c01b37b0cb1