Comment 12 for bug 1582220

Revision history for this message
Sofiia Andriichenko (sandriichenko) wrote :

Reproduce only for CI 9.1 snapshot #119, can't reproduce manual
Tests:
test_list_user_roles_by_unauthorized_user
test_remove_user_role_by_unauthorized_user
test_remove_user_role_non_existent_tenant
test_remove_user_role_request_without_token
test_role_create_blank_name
test_role_create_duplicate
test_create_role_request_without_token
test_delete_role_by_unauthorized_user
test_delete_role_non_existent
test_delete_role_request_without_token
test_list_roles_request_without_token
test_list_user_roles_request_without_token
test_remove_user_role_non_existent_role

Configuration:
Settings:
Compute - QEMU.
Network - Neutron with VLAN segmentation.
Storage Backends - Ceph RBD for volumes (Cinder), Ceph RBD for ephemeral volumes (Nova), Ceph RBD for images (Glance), Ceph RadosGW for objects (Swift API)
Additional services - Install Ironic, Install Sahara

In tab Settings->Compute check Nova quotas
In tab Networks->Other check enable Neutron DVR

Nodes: controller, compute, ironic, ceph-osd (ironic + controller, 2 compute + ceph-osd)

tempest.api.identity.admin.v2.test_roles_negative.RolesNegativeTestJSON.test_list_user_roles_by_unauthorized_user:
Traceback (most recent call last):
  File "/home/rally/.rally/tempest/for-deployment-8d455a20-7a0b-4484-af9f-42c2c4e0f7c6/tempest/api/identity/admin/v2/test_roles_negative.py", line 234, in test_list_user_roles_by_unauthorized_user
    (user, tenant, role) = self._get_role_params()
  File "/home/rally/.rally/tempest/for-deployment-8d455a20-7a0b-4484-af9f-42c2c4e0f7c6/tempest/api/identity/admin/v2/test_roles_negative.py", line 25, in _get_role_params
    user = self.setup_test_user()
  File "/home/rally/.rally/tempest/for-deployment-8d455a20-7a0b-4484-af9f-42c2c4e0f7c6/tempest/api/identity/base.py", line 131, in setup_test_user
    tenant = self.setup_test_tenant()
  File "/home/rally/.rally/tempest/for-deployment-8d455a20-7a0b-4484-af9f-42c2c4e0f7c6/tempest/api/identity/base.py", line 142, in setup_test_tenant
    description=data_utils.rand_name('desc'))['tenant']
  File "/home/rally/.rally/tempest/for-deployment-8d455a20-7a0b-4484-af9f-42c2c4e0f7c6/tempest/lib/services/identity/v2/tenants_client.py", line 31, in create_tenant
    resp, body = self.post('tenants', post_body)
  File "/home/rally/.rally/tempest/for-deployment-8d455a20-7a0b-4484-af9f-42c2c4e0f7c6/tempest/lib/common/rest_client.py", line 273, in post
    return self.request('POST', url, extra_headers, headers, body, chunked)
  File "/home/rally/.rally/tempest/for-deployment-8d455a20-7a0b-4484-af9f-42c2c4e0f7c6/tempest/lib/common/rest_client.py", line 667, in request
    resp, resp_body)
  File "/home/rally/.rally/tempest/for-deployment-8d455a20-7a0b-4484-af9f-42c2c4e0f7c6/tempest/lib/common/rest_client.py", line 755, 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'}

snapshot: https://drive.google.com/a/mirantis.com/file/d/0BxPLDs6wcpbDR3pEVVRyS0hScEU/view?usp=sharing