summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2013-01-27 17:57:56 -0500
committerDan Prince <dprince@redhat.com>2013-01-27 17:57:56 -0500
commit2ca9553d7c5b4f244532caaa9219d1a8d560284b (patch)
treea7cc1be6642552a4d3aef0b69717f5ff68af7261 /nova/exception.py
parente1ce3878b951ea491548c129453bb84a77205649 (diff)
downloadnova-2ca9553d7c5b4f244532caaa9219d1a8d560284b.tar.gz
nova-2ca9553d7c5b4f244532caaa9219d1a8d560284b.tar.xz
nova-2ca9553d7c5b4f244532caaa9219d1a8d560284b.zip
Avoid hard dependency on python-coverage.
Updates the coverage extension in the OpenStack Compute API to avoid a hard dependency on the python coverage module. We now try to import 'coverage' and if it isn't present we return an HTTP 503 (service unavailable error). This gets rid of WARNING errors which occur when running Nova API when the 'coverage' module is not available: 2013-01-27 17:10:28.938 16018 WARNING nova.api.openstack.compute.contrib [-] Failed to load extension nova.api.openstack.compute.contrib.coverage_ext.Coverage_ext: No module named coverage Fixes LP Bug #1101057. Change-Id: I573180aead44d68b8377cd66f30fc6ac849d0272
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions