summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorChris Behrens <cbehrens@codestud.com>2011-05-26 19:37:51 +0000
committerChris Behrens <cbehrens@codestud.com>2011-05-26 19:37:51 +0000
commit04785db717492c8ba7c2d184924b3773ec944f4c (patch)
treef9977aaa3ab0acdfa77c6db0a0e0392f95a110d5 /plugins
parent4d8995813d070530f1b6aa4a8d07758cd7d74ec2 (diff)
downloadnova-04785db717492c8ba7c2d184924b3773ec944f4c.tar.gz
nova-04785db717492c8ba7c2d184924b3773ec944f4c.tar.xz
nova-04785db717492c8ba7c2d184924b3773ec944f4c.zip
fix image_path in glance plugin
Diffstat (limited to 'plugins')
-rw-r--r--plugins/xenserver/xenapi/etc/xapi.d/plugins/glance3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/xenserver/xenapi/etc/xapi.d/plugins/glance b/plugins/xenserver/xenapi/etc/xapi.d/plugins/glance
index 039d1b8f6..fef31a9ff 100644
--- a/plugins/xenserver/xenapi/etc/xapi.d/plugins/glance
+++ b/plugins/xenserver/xenapi/etc/xapi.d/plugins/glance
@@ -203,7 +203,8 @@ def _import_vhds(sr_path, staging_path, uuid_stack):
paths_to_move.append(image_info[0])
- snap_info = prepare_if_exists(staging_path, 'snap.vhd', image_path)
+ snap_info = prepare_if_exists(staging_path, 'snap.vhd',
+ image_info[0])
if snap_info:
paths_to_move.append(snap_info[0])
# We return this snap as the VDI instead of image.vhd