Cant not upload image to vmware bankend
Bug #1551633 reported by
zehua
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glance_store |
Invalid
|
Undecided
|
Unassigned |
Bug Description
A image is uploading to glance by the following commend:
glance --debug image-create --name cirros-0.3.4-x64 --container-format bare --disk-format vmdk --property vmware_
In glance-api, debug a Traceback like this:
'Communication error sending http PUT requestto the url /folder/
To post a comment you must log in.
The problem code:
response = session.put(url, data=data, headers=headers) bugs.python. org/issue16062. Here, we log the error
'to the url %(url)s.\n'
'Got IOError %(e)s') % {'method': 'PUT',
'url' : url,
'e' : e}
url = loc.https_url
try:
except IOError as e:
# TODO(sigmavirus24): Figure out what the new exception type would
# be in requests.
# When a session is not authenticated, the socket is closed by
# the server after sending the response. http_client has an open
# issue with https that raises Broken Pipe
# error instead of returning the response.
# See http://
# and continue to look into the response.
msg = _LE('Communication error sending http %(method)s request '