diff options
author | David McNally <dave.mcnally@hp.com> | 2013-05-23 14:13:10 +0100 |
---|---|---|
committer | David McNally <dave.mcnally@hp.com> | 2013-05-28 12:05:56 +0100 |
commit | 28b2deac2f9d835cc24d8b5c015762a9780df99b (patch) | |
tree | b187e233b203ceb3241e1c59325ce4ba9fb5073a /nova/utils.py | |
parent | e06ab5877462c83f6574b0304331e3ff906ddb14 (diff) | |
download | nova-28b2deac2f9d835cc24d8b5c015762a9780df99b.tar.gz nova-28b2deac2f9d835cc24d8b5c015762a9780df99b.tar.xz nova-28b2deac2f9d835cc24d8b5c015762a9780df99b.zip |
Removing misleading error message
This function (_get_instances_on_driver) was reporting instances are on the
hypervisor and not in the database with no consideration for the filters being
used in the database query. This resulted in error log messages indicating running
instances were not in the database when in fact the query was filtering for deleted
instances.
To avoid misleading error logs of this nature I've removed the logging from the
function. Currently the locations which call this function provide more accurate
logging on the state of the instances that are returned based on the filters they
have called _get_instances_on_driver with.
bug 1183276
Change-Id: I4ee52fe417f73a90cf157bc531b483be93e34275
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions