Project

General

Profile

Actions

Bug #57226

open

dashboard.rest_client.RequestException: RGW REST API failed request with status code 403

Added by Laura Flores over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

https://jenkins.ceph.com/job/ceph-api/43142/

2022-08-22T15:30:04.312+0000 7fed92cfc640  0 [dashboard INFO rgw_client] Found RGW daemon with configuration: host=172.21.2.3, port=8000, ssl=False
2022-08-22T15:30:04.336+0000 7fed92cfc640  0 [dashboard ERROR rest_client] RGW REST API failed GET req status: 403
2022-08-22T15:30:04.336+0000 7fed92cfc640  0 [dashboard ERROR rgw_client] RGW REST API failed request with status code 403
(b'{"Code":"InvalidAccessKeyId","RequestId":"tx0000083b0ebb119c206c9-006303a0fc'
 b'-1171-default","HostId":"1171-default-default"}')
Traceback (most recent call last):
  File "/home/jenkins-build/build/workspace/ceph-api/src/pybind/mgr/dashboard/services/rgw_client.py", line 415, in __init__
    self.userid = self._get_user_id(self.admin_path) if self.got_keys_from_config \
  File "/home/jenkins-build/build/workspace/ceph-api/src/pybind/mgr/dashboard/rest_client.py", line 537, in func_wrapper
    return func(
  File "/home/jenkins-build/build/workspace/ceph-api/src/pybind/mgr/dashboard/services/rgw_client.py", line 450, in _get_user_id
    response = request()
  File "/home/jenkins-build/build/workspace/ceph-api/src/pybind/mgr/dashboard/rest_client.py", line 324, in __call__
    resp = self.rest_client.do_request(method, self._gen_path(), params,
  File "/home/jenkins-build/build/workspace/ceph-api/src/pybind/mgr/dashboard/rest_client.py", line 422, in do_request
    raise RequestException(
dashboard.rest_client.RequestException: RGW REST API failed request with status code 403
(b'{"Code":"InvalidAccessKeyId","RequestId":"tx0000083b0ebb119c206c9-006303a0fc'
 b'-1171-default","HostId":"1171-default-default"}')
2022-08-22T15:30:04.340+0000 7fed92cfc640  0 [dashboard ERROR exception] Dashboard Exception

Related issues 1 (0 open1 closed)

Related to Dashboard - Bug #57225: ERROR: test_delete (tasks.mgr.dashboard.test_rgw.RgwUserCapabilityTest)Duplicate

Actions
Actions #1

Updated by Ernesto Puerta over 1 year ago

  • Translation missing: en.field_tag_list set to test-failure
Actions #2

Updated by Ernesto Puerta over 1 year ago

  • Related to Bug #57225: ERROR: test_delete (tasks.mgr.dashboard.test_rgw.RgwUserCapabilityTest) added
Actions

Also available in: Atom PDF