diff options
| author | Josh Kearney <josh.kearney@rackspace.com> | 2011-03-18 15:34:50 -0500 |
|---|---|---|
| committer | Josh Kearney <josh.kearney@rackspace.com> | 2011-03-18 15:34:50 -0500 |
| commit | 8437d947a6e94baf7aa53746ffd34aa5c0f521d9 (patch) | |
| tree | 509a800e2dc5741ecde27ab823087118062f777b /plugins | |
| parent | 699abfe9e645ddbc854b42725247ab8fcd61517e (diff) | |
| download | nova-8437d947a6e94baf7aa53746ffd34aa5c0f521d9.tar.gz nova-8437d947a6e94baf7aa53746ffd34aa5c0f521d9.tar.xz nova-8437d947a6e94baf7aa53746ffd34aa5c0f521d9.zip | |
Better errors when virt driver isn't loaded
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 c996f6ef4..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) |
