xenapi: volume upload fails

Bug #1204551 reported by Mate Lakat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Invalid
Undecided
Mate Lakat

Bug Description

While running full tempest, a test failed with an error:

======================================================================
ERROR: tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_upload[gate]
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/opt/stack/tempest/tempest/api/volume/test_volumes_actions.py", line 108, in test_volume_upload
    self.image_client.wait_for_image_status(image_id, 'active')
  File "/opt/stack/tempest/tempest/services/image/v1/json/image_client.py", line 276, in wait_for_image_status
    raise exceptions.TimeoutException(message)
TimeoutException: Request timed out
Details: Time Limit Exceeded! (400s)while waiting for active, but we got killed.

It needs to be investigated what the error is.

Tags: xenserver
Mate Lakat (mate-lakat)
Changed in cinder:
assignee: nobody → Mate Lakat (mate-lakat)
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)

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

My object store was not bug enough to handle the upload

Changed in cinder:
status: New → Invalid
Revision history for this message
Mate Lakat (mate-lakat) wrote :

s/bug/big/g

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.