← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1254405] Re: tempest.api.object_storage.test_container_acl.ObjectTestACLs.test_write_object_with_rights[gate, smoke] failed

 

keystone isn't capable of returning 503's itself... it also looks like
this is a failed request to swift.

** Also affects: swift
   Importance: Undecided
       Status: New

** Changed in: keystone
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1254405

Title:
  tempest.api.object_storage.test_container_acl.ObjectTestACLs.test_write_object_with_rights[gate,smoke]
  failed

Status in OpenStack Identity (Keystone):
  Invalid
Status in OpenStack Object Storage (Swift):
  New
Status in Tempest:
  New

Bug description:
  failed on http://logs.openstack.org/69/43069/2/gate/gate-grenade-
  devstack-vm/dc8c793/testr_results.html.gz

  The response code is 503, I think it's a keystone bug, but need a little more insight on it.
  ft59.4: tempest.api.object_storage.test_container_acl.ObjectTestACLs.test_write_object_with_rights[gate,smoke]_StringException: Empty attachments:
    stderr
    stdout

  pythonlogging:'': {{{
  2013-11-23 09:38:47,817 Request: PUT http://127.0.0.1:8080/v1/AUTH_3673914f25b046aa815ff03fd0f035fd/TestContainer-tempest-122946756
  2013-11-23 09:38:47,818 Request Headers: {'X-Auth-Token': '<Token omitted>'}
  2013-11-23 09:38:47,834 Response Status: 201
  2013-11-23 09:38:47,835 Response Headers: {'content-length': '0', 'x-trans-id': 'tx8f7716fbd9a64a4899b45-00529077a7', 'date': 'Sat, 23 Nov 2013 09:38:47 GMT', 'content-type': 'text/html; charset=UTF-8', 'connection': 'close'}
  2013-11-23 09:38:47,835 Request: POST http://127.0.0.1:8080/v1/AUTH_3673914f25b046aa815ff03fd0f035fd/TestContainer-tempest-122946756
  2013-11-23 09:38:47,835 Request Headers: {'X-Container-Write': 'test_tenant_-tempest-1562797677:test_user_-tempest-2057178357', 'X-Auth-Token': '<Token omitted>'}
  2013-11-23 09:38:47,845 Response Status: 204
  2013-11-23 09:38:47,845 Response Headers: {'content-length': '0', 'x-trans-id': 'tx4a8528db02f043ddbde43-00529077a7', 'date': 'Sat, 23 Nov 2013 09:38:47 GMT', 'content-type': 'text/html; charset=UTF-8', 'connection': 'close'}
  2013-11-23 09:38:47,845 Request: PUT http://127.0.0.1:8080/v1/AUTH_3673914f25b046aa815ff03fd0f035fd/TestContainer-tempest-122946756/Object-tempest-846598070
  2013-11-23 09:38:47,845 Request Headers: {'X-Auth-Token': '<Token omitted>'}
  2013-11-23 09:38:47,846 Request Body: data
  2013-11-23 09:38:47,864 Response Status: 201
  2013-11-23 09:38:47,864 Response Headers: {'content-length': '0', 'last-modified': 'Sat, 23 Nov 2013 09:38:47 GMT', 'connection': 'close', 'etag': '8d777f385d3dfec8815d20f7496026dc', 'x-trans-id': 'tx185bcdcc5d884ed39b5a5-00529077a7', 'date': 'Sat, 23 Nov 2013 09:38:47 GMT', 'content-type': 'text/html; charset=UTF-8'}
  2013-11-23 09:38:47,865 Request: GET http://127.0.0.1:8080/v1/AUTH_3673914f25b046aa815ff03fd0f035fd/TestContainer-tempest-122946756?format=json&limit=9999
  2013-11-23 09:38:47,865 Request Headers: {'X-Auth-Token': '<Token omitted>'}
  2013-11-23 09:38:47,877 Response Status: 200
  2013-11-23 09:38:47,878 Response Headers: {'content-length': '185', 'x-container-object-count': '1', 'x-container-write': 'test_tenant_-tempest-1562797677:test_user_-tempest-2057178357', 'accept-ranges': 'bytes', 'date': 'Sat, 23 Nov 2013 09:38:47 GMT', 'connection': 'close', 'x-timestamp': '1385199527.82633', 'x-trans-id': 'tx07ecbc88de3c44e98fee8-00529077a7', 'x-container-bytes-used': '4', 'content-type': 'application/json; charset=utf-8', 'content-location': u'http://127.0.0.1:8080/v1/AUTH_3673914f25b046aa815ff03fd0f035fd/TestContainer-tempest-122946756?format=json&limit=9999'}
  2013-11-23 09:38:47,878 Response Body: [{"hash": "8d777f385d3dfec8815d20f7496026dc", "last_modified": "2013-11-23T09:38:47.854800", "bytes": 4, "name": "Object-tempest-846598070", "content_type": "application/octet-stream"}]
  2013-11-23 09:38:47,878 Request: DELETE http://127.0.0.1:8080/v1/AUTH_3673914f25b046aa815ff03fd0f035fd/TestContainer-tempest-122946756/Object-tempest-846598070
  2013-11-23 09:38:47,878 Request Headers: {'X-Auth-Token': '<Token omitted>'}
  2013-11-23 09:38:47,891 Response Status: 503
  2013-11-23 09:38:47,891 Response Headers: {'content-length': '118', 'x-trans-id': 'txdb6be9b4235d41cfabb9d-00529077a7', 'date': 'Sat, 23 Nov 2013 09:38:47 GMT', 'content-type': 'text/html; charset=UTF-8', 'connection': 'close'}
  2013-11-23 09:38:47,891 Response Body: <html><h1>Service Unavailable</h1><p>The server is currently unavailable. Please try again at a later time.</p></html>
  }}}

  Traceback (most recent call last):
    File "tempest/api/object_storage/test_container_acl.py", line 46, in tearDown
      self.delete_containers([self.container_name])
    File "tempest/api/object_storage/base.py", line 119, in delete_containers
      object_client.delete_object(cont, obj['name'])
    File "tempest/services/object_storage/object_client.py", line 47, in delete_object
      resp, body = self.delete(url)
    File "tempest/common/rest_client.py", line 308, in delete
      return self.request('DELETE', url, headers)
    File "tempest/common/rest_client.py", line 436, in request
      resp, resp_body)
    File "tempest/common/rest_client.py", line 527, in _error_checker
      raise exceptions.RestClientException(str(resp.status))
  RestClientException: An unknown exception occurred
  Details: 503

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1254405/+subscriptions