diff options
| author | Hisaki Ohara <hisaki.ohara@intel.com> | 2010-10-07 23:03:43 +0900 |
|---|---|---|
| committer | Hisaki Ohara <hisaki.ohara@intel.com> | 2010-10-07 23:03:43 +0900 |
| commit | b7028c0d0262d3d4395077a8bd2d95664c6bf16e (patch) | |
| tree | 6c9f790caa4f801c539611ea53a4e92b3a4adf06 | |
| parent | 8f524607856dbf4cecf7c7503e53e14c42888307 (diff) | |
Imported images_path from nova.objectstore for nova-compute. Without its setting,
it fails to launch instances by exception at _fetch_local_image.
| -rw-r--r-- | nova/virt/images.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nova/virt/images.py b/nova/virt/images.py index 9ba5b7890..dc50764d9 100644 --- a/nova/virt/images.py +++ b/nova/virt/images.py @@ -26,17 +26,15 @@ import time import urlparse from nova import flags -from nova import utils from nova import process from nova.auth import manager from nova.auth import signer +from nova.objectstore import image FLAGS = flags.FLAGS flags.DEFINE_bool('use_s3', True, 'whether to get images from s3 or use local copy') -flags.DEFINE_string('images_path', utils.abspath('../images'), - 'path to decrypted images') def fetch(image, path, user, project): |
