summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorDavid Shrewsbury <shrewsbury.dave@gmail.com>2012-06-29 12:18:50 -0400
committerDavid Shrewsbury <shrewsbury.dave@gmail.com>2012-06-29 16:50:30 -0400
commitdabbb82904928fa5c020a1cbb13ff679781f1745 (patch)
treebae2ba8238f8627cfebf74af6f42fe875576ea37 /nova/exception.py
parent1a4cb537e402a9cfb8f2a007c4033b2da90828f6 (diff)
downloadnova-dabbb82904928fa5c020a1cbb13ff679781f1745.tar.gz
nova-dabbb82904928fa5c020a1cbb13ff679781f1745.tar.xz
nova-dabbb82904928fa5c020a1cbb13ff679781f1745.zip
Add check for no domains in libvirt driver.
A check is needed to see if there are any domains before calling the listDomainsID() method. This check is needed to add support for OpenVZ which will throw an exception from this method if there are no domains. The 'virsh' source code does this check, too. This change circumvents this libvirt bug: https://bugzilla.redhat.com/show_bug.cgi?id=836647 Change-Id: Ia71d996722a1b531e720e91c1fa68f561ad4d58d
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions