summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHisaki Ohara <hisaki.ohara@intel.com>2010-10-07 14:23:27 +0000
committerTarmac <>2010-10-07 14:23:27 +0000
commitdb331240afdbd43d63b0a71cc284fc8d37e7989a (patch)
tree6c9f790caa4f801c539611ea53a4e92b3a4adf06
parentd58da66e2958ff3bb32c8f764c90526be5c601af (diff)
parentb7028c0d0262d3d4395077a8bd2d95664c6bf16e (diff)
downloadnova-db331240afdbd43d63b0a71cc284fc8d37e7989a.tar.gz
nova-db331240afdbd43d63b0a71cc284fc8d37e7989a.tar.xz
nova-db331240afdbd43d63b0a71cc284fc8d37e7989a.zip
Since FLAGS.images_path was not set for nova-compute, I could not launch instances
due to an exception at _fetch_local_image() trying to access to it. I think that this is the reason of Bug655217. I'm not sure whether it is global solution, because FLAGS.images_path is defined in nova/objectstore/image.py too.
-rw-r--r--nova/virt/images.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/virt/images.py b/nova/virt/images.py
index a60bcc4c1..dc50764d9 100644
--- a/nova/virt/images.py
+++ b/nova/virt/images.py
@@ -29,6 +29,7 @@ from nova import flags
from nova import process
from nova.auth import manager
from nova.auth import signer
+from nova.objectstore import image
FLAGS = flags.FLAGS