diff options
| author | Justin Santa Barbara <justin@fathomdb.com> | 2011-03-23 01:02:13 -0700 |
|---|---|---|
| committer | Justin Santa Barbara <justin@fathomdb.com> | 2011-03-23 01:02:13 -0700 |
| commit | a822941d1fbfcfff7d52e2e42f2a50cb8aca6f0d (patch) | |
| tree | 6c5e528f5c9ca31f31c0740d9b070f108ce5b5a3 | |
| parent | 9e9ebb70183eb0466eef148ebb837440bd1de256 (diff) | |
| download | nova-a822941d1fbfcfff7d52e2e42f2a50cb8aca6f0d.tar.gz nova-a822941d1fbfcfff7d52e2e42f2a50cb8aca6f0d.tar.xz nova-a822941d1fbfcfff7d52e2e42f2a50cb8aca6f0d.zip | |
Report the exception (happens when can't import libvirt)
| -rw-r--r-- | nova/compute/manager.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/compute/manager.py b/nova/compute/manager.py index 576937cd8..4f338135b 100644 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -118,8 +118,8 @@ class ComputeManager(manager.Manager): try: self.driver = utils.import_object(compute_driver) - except ImportError: - LOG.error("Unable to load the virtualization driver.") + except ImportError as e: + LOG.error(_("Unable to load the virtualization driver: %s") % (e)) sys.exit(1) self.network_manager = utils.import_object(FLAGS.network_manager) |
