Comment 1 for bug 1204551

Revision history for this message
Mate Lakat (mate-lakat) wrote :

[req-30f756c0-ba1d-4083-9465-0edf84ac4fe2 a53185bbbbf04985b8982fd63ef54cb0 41dfc04eb23b47f0af5bb88cae28c2d6] Exception during message handling
Traceback (most recent call last):
  File "/opt/stack/cinder/cinder/openstack/common/rpc/amqp.py", line 433, in _process_data
    **args)
  File "/opt/stack/cinder/cinder/openstack/common/rpc/dispatcher.py", line 148, in dispatch
    return getattr(proxyobj, method)(ctxt, **kwargs)
  File "/opt/stack/cinder/cinder/volume/manager.py", line 716, in copy_volume_to_image
    payload['message'] = unicode(error)
  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
    self.gen.next()
  File "/opt/stack/cinder/cinder/volume/manager.py", line 710, in copy_volume_to_image
    image_meta)
  File "/opt/stack/cinder/cinder/volume/drivers/lvm.py", line 246, in copy_volume_to_image
    self.local_path(volume))
  File "/opt/stack/cinder/cinder/image/image_utils.py", line 294, in upload_volume
    image_service.update(context, image_id, {}, image_file)
  File "/opt/stack/cinder/cinder/image/glance.py", line 276, in update
    _reraise_translated_image_exception(image_id)
  File "/opt/stack/cinder/cinder/image/glance.py", line 274, in update
    **image_meta)
  File "/opt/stack/cinder/cinder/image/glance.py", line 149, in call
    return getattr(client.images, method)(*args, **kwargs)
  File "/opt/stack/python-glanceclient/glanceclient/v1/images.py", line 300, in update
    'PUT', url, headers=hdrs, body=image_data)
  File "/opt/stack/python-glanceclient/glanceclient/common/http.py", line 271, in raw_request
    return self._http_request(url, method, **kwargs)
  File "/opt/stack/python-glanceclient/glanceclient/common/http.py", line 232, in _http_request
    raise exc.from_response(resp, body_str)
HTTPInternalServerError: 500 Internal Server Error
Failed to upload image 8f4afc05-bf03-4274-94ff-0ee039d05faf
    (HTTP 500)