diff options
author | Hans Lindgren <hanlind@kth.se> | 2013-06-03 21:36:11 +0200 |
---|---|---|
committer | Hans Lindgren <hanlind@kth.se> | 2013-06-09 14:40:36 +0200 |
commit | fe9eb0f03ca7bca8b742a19b4a775640ad06b5f2 (patch) | |
tree | 4f5857736803d9bc432c2c7c56a7e64b864be3aa /nova/utils.py | |
parent | a317c443794e488237a0aadad79157b0feb83f10 (diff) | |
download | nova-fe9eb0f03ca7bca8b742a19b4a775640ad06b5f2.tar.gz nova-fe9eb0f03ca7bca8b742a19b4a775640ad06b5f2.tar.xz nova-fe9eb0f03ca7bca8b742a19b4a775640ad06b5f2.zip |
Some libvirt driver lookups lacks proper exception handling
Add error handling to list_instance_uuids() and get_memory_mb_used().
While fixing list_instance_uuids, this change also removes an
unnecessary extra lookup for every running instance.
Improve test coverage for list_instances() and list_instance_uuids().
Change-Id: I0cabe5f38d19143a3eb7b2ebce1ea6ea63f36929
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions