tempest all object storage test failing RestClientException
hello
I am having a issue with running tempest on object storage. it works fine for other openstack components expect for object storage. below is the detials for my tempest.conf for object storage.
[object-storage]
catalog_type = object-store
region = xxxx
container_sync_timeout = 120
container_sync_interval = 120
accounts_quotas_available = True
container_quotas_available = True
operator_role = admin
below is the output from tempest run. i have change the endpoint url so i dont show my public url.
ks@M400005Tempest-API-Testing:~/tempest_old/tempest/Tempest_Automated_Test$ nosetests -v /home/ks/tempest_old/tempest/api/object_storage/test_object_expiry.pyc
ERROR
======================================================================
ERROR: test suite for <class 'tempest.api.object_storage.test_object_expiry.ObjectExpiryTest'>
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 208, in run
self.setUp()
File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 291, in setUp
self.setupContext(ancestor)
File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 314, in setupContext
try_run(context, names)
File "/usr/lib/python2.7/dist-packages/nose/util.py", line 478, in try_run
return func()
File "/home/ks/tempest_old/tempest/api/object_storage/test_object_expiry.py", line 33, in setUpClass
cls.container_client.create_container(cls.container_name)
File "/home/ks/tempest_old/tempest/services/object_storage/container_client.py", line 47, in create_container
resp, body = self.put(url, body=None, headers=headers)
File "/home/ks/tempest_old/tempest/common/rest_client.py", line 314, in put
return self.request('PUT', url, headers, body)
File "/home/ks/tempest_old/tempest/common/rest_client.py", line 436, in request
resp, resp_body)
File "/home/ks/tempest_old/tempest/common/rest_client.py", line 527, in _error_checker
raise exceptions.RestClientException(str(resp.status))
RestClientException: An unknown exception occurred
Details: An unknown exception occurred
Details: 411
-------------------- >> begin captured stdout << ---------------------
self.image.client
config:<tempest.config.TempestConfig instance at 0x2e75a70>, user:ksadmin, password:AAPcloud123, auth_url:https://api.aaptest.cci.blah.com:5000/v2.0/, tenant_name:admin, auth_version:v1.0, service:image, base_url:None, region:{'compute': 'aaptest-region1', 'network': 'aaptest-region1', 'image': 'aaptest-region1', 'volume': 'aaptest-region1', 'orchestration': 'aaptest-region1', 'object-store': 'aaptest-region1', 'identity': 'aaptest-region1'}, endpoint_url:publicURL, build_interval:10, build_timeout:600
token:None...,
headers:{'Content-Type': 'application/json', 'Accept': 'application/json'}...
self.image.client_v2
config:<tempest.config.TempestConfig instance at 0x2e75a70>, user:ksadmin, password:AAPcloud123, auth_url:https://api.aaptest.cci.blah.com:5000/v2.0/, tenant_name:admin, auth_version:v1.0, service:image, base_url:None, region:{'compute': 'aaptest-region1', 'network': 'aaptest-region1', 'image': 'aaptest-region1', 'volume': 'aaptest-region1', 'orchestration': 'aaptest-region1', 'object-store': 'aaptest-region1', 'identity': 'aaptest-region1'}, endpoint_url:publicURL, build_interval:10, build_timeout:600
token:None...,
headers:{'Content-Type': 'application/json', 'Accept': 'application/json'}...
self.image.client
config:<tempest.config.TempestConfig instance at 0x2e75a70>, user:tempest_demouser_4, password:secret, auth_url:https://api.aaptest.cci.blah.com:5000/v2.0/, tenant_name:tempest_test2, auth_version:v1.0, service:image, base_url:None, region:{'compute': 'aaptest-region1', 'network': 'aaptest-region1', 'image': 'aaptest-region1', 'volume': 'aaptest-region1', 'orchestration': 'aaptest-region1', 'object-store': 'aaptest-region1', 'identity': 'aaptest-region1'}, endpoint_url:publicURL, build_interval:10, build_timeout:600
token:None...,
headers:{'Content-Type': 'application/json', 'Accept': 'application/json'}...
self.image.client_v2
config:<tempest.config.TempestConfig instance at 0x2e75a70>, user:tempest_demouser_4, password:secret, auth_url:https://api.aaptest.cci.blah.com:5000/v2.0/, tenant_name:tempest_test2, auth_version:v1.0, service:image, base_url:None, region:{'compute': 'aaptest-region1', 'network': 'aaptest-region1', 'image': 'aaptest-region1', 'volume': 'aaptest-region1', 'orchestration ...