Activity log for bug #1633221

Date Who What changed Old value New value Message
2016-10-13 21:04:53 Joshua White bug added bug
2016-10-13 21:36:48 Joshua White summary Tempest conf reseller_admin_role defaults to reseller_admin OSA creates reseller_admin role but role should be ResellerAdmin
2016-10-13 21:39:52 Joshua White description OSA creates role reseller_admin and sets Tempest config to reseller_admin_role = reseller_admin. The issue is it seems Swift expects reseller_admin_role = ResellerAdmin. Therefore, it throws a forbidden error if reseller_admin role is used. Example Tempest fails when running with reseller_admin_role = reseller_admin: tempest.api.object_storage.test_account_quotas.AccountQuotasTest.test_admin_modify_quota. {0} tempest.api.object_storage.test_account_quotas.AccountQuotasTest.test_admin_modify_quota [0.896237s] ... FAILED ============================== Failed 1 tests - output below: ============================== tempest.api.object_storage.test_account_quotas.AccountQuotasTest.test_admin_modify_quota[id-63f51f9f-5f1d-4fc6-b5be-d454d70949d6,smoke] --------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "tempest/api/object_storage/test_account_quotas.py", line 58, in setUp body="") File "tempest/lib/common/rest_client.py", line 665, in request resp, resp_body) File "tempest/lib/common/rest_client.py", line 758, in _error_checker raise exceptions.Forbidden(resp_body, resp=resp) tempest.lib.exceptions.Forbidden: Forbidden Details: <html><h1>Forbidden</h1><p>Access was denied to this resource.</p></html> Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2016-10-13 20:55:36,992 31477 INFO [tempest.lib.common.rest_client] Request (AccountQuotasTest:setUp): 403 POST http://xxx.xxx.x.xxx:8080/v1/AUTH_06c36adfe0b14834b147e6aac077937f 0.894s Solution I believe: Instead of creating reseller_admin role on deployment create ResellerAdmin role. OSA creates role reseller_admin. The issue is it seems Swift expects reseller_admin_role to be ResellerAdmin not reseller_admin. Example Tempest fails when running with reseller_admin_role = reseller_admin: tempest.api.object_storage.test_account_quotas.AccountQuotasTest.test_admin_modify_quota. {0} tempest.api.object_storage.test_account_quotas.AccountQuotasTest.test_admin_modify_quota [0.896237s] ... FAILED ============================== Failed 1 tests - output below: ============================== tempest.api.object_storage.test_account_quotas.AccountQuotasTest.test_admin_modify_quota[id-63f51f9f-5f1d-4fc6-b5be-d454d70949d6,smoke] --------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~     Traceback (most recent call last):       File "tempest/api/object_storage/test_account_quotas.py", line 58, in setUp         body="")       File "tempest/lib/common/rest_client.py", line 665, in request         resp, resp_body)       File "tempest/lib/common/rest_client.py", line 758, in _error_checker         raise exceptions.Forbidden(resp_body, resp=resp)     tempest.lib.exceptions.Forbidden: Forbidden     Details: <html><h1>Forbidden</h1><p>Access was denied to this resource.</p></html> Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~     2016-10-13 20:55:36,992 31477 INFO [tempest.lib.common.rest_client] Request (AccountQuotasTest:setUp): 403 POST http://xxx.xxx.x.xxx:8080/v1/AUTH_06c36adfe0b14834b147e6aac077937f 0.894s Solution I believe: Instead of creating reseller_admin role on deployment create ResellerAdmin role.
2016-10-14 02:29:19 Praveen N openstack-ansible: assignee Praveen N (praveenn)
2016-10-14 11:20:06 Jean-Philippe Evrard tags newton-rc-potential
2016-10-14 14:55:04 OpenStack Infra openstack-ansible: status New In Progress
2016-10-14 14:55:04 OpenStack Infra openstack-ansible: assignee Praveen N (praveenn) Andy McCrae (andrew-mccrae)
2016-10-14 15:49:22 Joshua White openstack-ansible: assignee Andy McCrae (andrew-mccrae) Joshua White (joshua-l-white)
2016-10-14 17:11:19 OpenStack Infra openstack-ansible: assignee Joshua White (joshua-l-white) Andy McCrae (andrew-mccrae)
2016-10-16 11:14:33 OpenStack Infra openstack-ansible: status In Progress Fix Released
2016-10-17 14:10:12 OpenStack Infra tags newton-rc-potential in-stable-newton newton-rc-potential
2016-10-17 18:16:33 OpenStack Infra tags in-stable-newton newton-rc-potential in-stable-mitaka in-stable-newton newton-rc-potential