In tab Settings->Compute check Nova quotas
In tab Settings->OpenStack Services check enable Install Ceilometer and Aodh
In tab Networks->Other check enable Neutron DVR
Steps to reproduce:
1. Deploy ISO in configuration see (Detailed bug description)
2. Navigate to controller node
3. Install git (use apt-get install git)
4. Clone script to deploy rally + tempest
# git clone https://github.com/obutenko/mos-rally-verify.git
5. Navigate to the https://github.com/obutenko/mos-rally-verify
6. Execute necessary steps to deploy tempest
7. Tun test in debug mode
#rally --debug verify start --regex tempest.api.identity.admin.v2.test_roles_negative.RolesNegativeTestJSON.test_list_user_roles_by_unauthorized_user
Expected results:
Test is passed
Actual result:
Test is Failed
(see comments)
Reproducibility:
See attachment
Workaround:
---
Impact:
---
Description of the environment:
See (Detailed bug description)
Additional information:
Error Message
test failed
Stacktrace
Traceback (most recent call last):
File "/home/rally/.rally/tempest/for-deployment-aac0638e-270e-44e8-bfd0-5c5bc95e1e0e/tempest/api/identity/admin/v2/test_roles_negative.py", line 227, in test_list_user_roles_by_unauthorized_user
(user, tenant, role) = self._get_role_params()
File "/home/rally/.rally/tempest/for-deployment-aac0638e-270e-44e8-bfd0-5c5bc95e1e0e/tempest/api/identity/admin/v2/test_roles_negative.py", line 25, in _get_role_params
self.data.setup_test_user()
File "/home/rally/.rally/tempest/for-deployment-aac0638e-270e-44e8-bfd0-5c5bc95e1e0e/tempest/api/identity/base.py", line 254, in setup_test_user
self.setup_test_tenant()
File "/home/rally/.rally/tempest/for-deployment-aac0638e-270e-44e8-bfd0-5c5bc95e1e0e/tempest/api/identity/base.py", line 261, in setup_test_tenant
description=data_utils.rand_name('desc'))['tenant']
File "/home/rally/.rally/tempest/for-deployment-aac0638e-270e-44e8-bfd0-5c5bc95e1e0e/tempest/services/identity/v2/json/tenants_client.py", line 36, in create_tenant
resp, body = self.post('tenants', post_body)
File "/home/rally/.rally/tempest/for-deployment-aac0638e-270e-44e8-bfd0-5c5bc95e1e0e/tempest/lib/common/rest_client.py", line 259, in post
return self.request('POST', url, extra_headers, headers, body)
File "/home/rally/.rally/tempest/for-deployment-aac0638e-270e-44e8-bfd0-5c5bc95e1e0e/tempest/lib/common/rest_client.py", line 641, in request
resp, resp_body)
File "/home/rally/.rally/tempest/for-deployment-aac0638e-270e-44e8-bfd0-5c5bc95e1e0e/tempest/lib/common/rest_client.py", line 684, in _error_checker
raise exceptions.Unauthorized(resp_body, resp=resp)
tempest.lib.exceptions.Unauthorized: Unauthorized
Details: {u'message': u'The request you have made requires authentication.', u'code': 401, u'title': u'Unauthorized'}
Detailed bug description: user_role_ by_unauthorized _user user_roles_ by_unauthorized _user user_role_ non_existent_ tenant user_role_ request_ without_ token create_ blank_name create_ duplicate role_request_ without_ token roles_request_ without_ token user_roles_ request_ without_ token user_role_ non_existent_ role
test_remove_
test_list_
test_remove_
test_remove_
test_role_
test_role_
test_delete_
test_list_
test_list_
test_remove_
Configuration:
Settings:
Compute - QEMU.
Network - Neutron with VLAN segmentation.
Storage Backends - LVM
Additional services - Install Ironic, Install Sahara
In tab Settings->Compute check Nova quotas
In tab Settings->OpenStack Services check enable Install Ceilometer and Aodh
In tab Networks->Other check enable Neutron DVR
Nodes: controller, compute, ironic,cinder, Telemetry - MongoDB
Steps to reproduce: /github. com/obutenko/ mos-rally- verify. git /github. com/obutenko/ mos-rally- verify api.identity. admin.v2. test_roles_ negative. RolesNegativeTe stJSON. test_list_ user_roles_ by_unauthorized _user
1. Deploy ISO in configuration see (Detailed bug description)
2. Navigate to controller node
3. Install git (use apt-get install git)
4. Clone script to deploy rally + tempest
# git clone https:/
5. Navigate to the https:/
6. Execute necessary steps to deploy tempest
7. Tun test in debug mode
#rally --debug verify start --regex tempest.
Expected results:
Test is passed
Actual result:
Test is Failed
(see comments)
Reproducibility:
See attachment
Workaround:
---
Impact:
---
Description of the environment:
See (Detailed bug description)
Additional information:
Error Message
test failed
Stacktrace
Traceback (most recent call last): rally/. rally/tempest/ for-deployment- aac0638e- 270e-44e8- bfd0-5c5bc95e1e 0e/tempest/ api/identity/ admin/v2/ test_roles_ negative. py", line 227, in test_list_ user_roles_ by_unauthorized _user role_params( ) rally/. rally/tempest/ for-deployment- aac0638e- 270e-44e8- bfd0-5c5bc95e1e 0e/tempest/ api/identity/ admin/v2/ test_roles_ negative. py", line 25, in _get_role_params data.setup_ test_user( ) rally/. rally/tempest/ for-deployment- aac0638e- 270e-44e8- bfd0-5c5bc95e1e 0e/tempest/ api/identity/ base.py" , line 254, in setup_test_user setup_test_ tenant( ) rally/. rally/tempest/ for-deployment- aac0638e- 270e-44e8- bfd0-5c5bc95e1e 0e/tempest/ api/identity/ base.py" , line 261, in setup_test_tenant =data_utils. rand_name( 'desc') )['tenant' ] rally/. rally/tempest/ for-deployment- aac0638e- 270e-44e8- bfd0-5c5bc95e1e 0e/tempest/ services/ identity/ v2/json/ tenants_ client. py", line 36, in create_tenant 'tenants' , post_body) rally/. rally/tempest/ for-deployment- aac0638e- 270e-44e8- bfd0-5c5bc95e1e 0e/tempest/ lib/common/ rest_client. py", line 259, in post 'POST', url, extra_headers, headers, body) rally/. rally/tempest/ for-deployment- aac0638e- 270e-44e8- bfd0-5c5bc95e1e 0e/tempest/ lib/common/ rest_client. py", line 641, in request rally/. rally/tempest/ for-deployment- aac0638e- 270e-44e8- bfd0-5c5bc95e1e 0e/tempest/ lib/common/ rest_client. py", line 684, in _error_checker Unauthorized( resp_body, resp=resp) lib.exceptions. Unauthorized: Unauthorized
File "/home/
(user, tenant, role) = self._get_
File "/home/
self.
File "/home/
self.
File "/home/
description
File "/home/
resp, body = self.post(
File "/home/
return self.request(
File "/home/
resp, resp_body)
File "/home/
raise exceptions.
tempest.
Details: {u'message': u'The request you have made requires authentication.', u'code': 401, u'title': u'Unauthorized'}