Uploaded image for project: 'Airship'
  1. Airship
  2. AIRSHIP-39

[Airship][CNTT] Permission denied in Swift quota testing

XMLWordPrintable

      jamesgu Could you please check rgw keystone accepted admin roles in ceph.conf?

      Even admin gets permission denied in Swift quota testing.

      It could be quickly confirmed via RadosGW log.

      CC: rabi_abdel fuqiao

      <testcase classname="tempest.api.object_storage.test_account_quotas.AccountQuotasTest" id="63f51f9f-5f1d-4fc6-b5be-d454d70949d6" name="test_admin_modify_quota" time="0.148" timestamp="2020-03-29T13:58:42+000
      <failure>Traceback (most recent call last):
      File "/root/.rally/verification/verifier-65439c6f-675b-44f0-8a08-7790e98d4c11/repo/tempest/api/object_storage/test_account_quotas.py", line 57, in setUp
      "POST", url="", headers=headers, body="")
      File "/root/.rally/verification/verifier-65439c6f-675b-44f0-8a08-7790e98d4c11/repo/tempest/lib/common/rest_client.py", line 679, in request
      self._error_checker(resp, resp_body)
      File "/root/.rally/verification/verifier-65439c6f-675b-44f0-8a08-7790e98d4c11/repo/tempest/lib/common/rest_client.py", line 780, in _error_checker
      raise exceptions.Forbidden(resp_body, resp=resp)
      tempest.lib.exceptions.Forbidden: Forbidden
      Details: AccessDenied
      </failure>
      </testcase>
      <testcase classname="tempest.api.object_storage.test_account_quotas.AccountQuotasTest" id="a22ef352-a342-4587-8f47-3bbdb5b039c4" name="test_upload_valid_object" time="0.125" timestamp="2020-03-29T13:58:42+00
      <failure>Traceback (most recent call last):
      File "/root/.rally/verification/verifier-65439c6f-675b-44f0-8a08-7790e98d4c11/repo/tempest/api/object_storage/test_account_quotas.py", line 57, in setUp
      "POST", url="", headers=headers, body="")
      File "/root/.rally/verification/verifier-65439c6f-675b-44f0-8a08-7790e98d4c11/repo/tempest/lib/common/rest_client.py", line 679, in request
      self._error_checker(resp, resp_body)
      File "/root/.rally/verification/verifier-65439c6f-675b-44f0-8a08-7790e98d4c11/repo/tempest/lib/common/rest_client.py", line 780, in _error_checker
      raise exceptions.Forbidden(resp_body, resp=resp)
      tempest.lib.exceptions.Forbidden: Forbidden
      Details: AccessDenied
      </failure>
      </testcase>

            jamesgu James Gu
            ollivier Cedric Ollivier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: