summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJosh Kearney <josh.kearney@rackspace.com>2011-03-21 18:46:59 +0000
committerTarmac <>2011-03-21 18:46:59 +0000
commit246b146a46474266d7568b5df5cef8864cdaaa6b (patch)
tree1c219808a8c113bf09b090c32f2aef3c6a5ff7ec /plugins
parentfb8b0636d02e3663485d4c386a362c7d5ef35041 (diff)
parentb3bb847e3dc20611c4a975d3c772256700b2d018 (diff)
downloadnova-246b146a46474266d7568b5df5cef8864cdaaa6b.tar.gz
nova-246b146a46474266d7568b5df5cef8864cdaaa6b.tar.xz
nova-246b146a46474266d7568b5df5cef8864cdaaa6b.zip
Provide more useful exception messages when unable to load the virtual driver.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/xenserver/xenapi/etc/xapi.d/plugins/glance3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/xenserver/xenapi/etc/xapi.d/plugins/glance b/plugins/xenserver/xenapi/etc/xapi.d/plugins/glance
index db39cb0f4..0a45f3873 100644
--- a/plugins/xenserver/xenapi/etc/xapi.d/plugins/glance
+++ b/plugins/xenserver/xenapi/etc/xapi.d/plugins/glance
@@ -216,8 +216,7 @@ def _upload_tarball(staging_path, image_id, glance_host, glance_port, os_type):
'x-image-meta-status': 'queued',
'x-image-meta-disk-format': 'vhd',
'x-image-meta-container-format': 'ovf',
- 'x-image-meta-property-os-type': os_type,
- }
+ 'x-image-meta-property-os-type': os_type}
for header, value in headers.iteritems():
conn.putheader(header, value)