diff options
| author | Josh Kearney <josh.kearney@rackspace.com> | 2011-03-21 18:46:59 +0000 |
|---|---|---|
| committer | Tarmac <> | 2011-03-21 18:46:59 +0000 |
| commit | 246b146a46474266d7568b5df5cef8864cdaaa6b (patch) | |
| tree | 1c219808a8c113bf09b090c32f2aef3c6a5ff7ec /plugins | |
| parent | fb8b0636d02e3663485d4c386a362c7d5ef35041 (diff) | |
| parent | b3bb847e3dc20611c4a975d3c772256700b2d018 (diff) | |
| download | nova-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/glance | 3 |
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) |
