Project

General

Profile

Actions

Bug #56951

open

rook/smoke: Updating cephclusters/rook-ceph is forbidden

Added by Laura Flores almost 2 years ago. Updated over 1 year ago.

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

0%

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

Description

/a/yuriw-2022-07-27_18:30:47-rados-wip-yuri7-testing-2022-07-27-0808-quincy-distro-default-smithi/6950531

2022-07-27T23:47:19.622 DEBUG:teuthology.orchestra.run.smithi077:> kubectl -n rook-ceph exec rook-ceph-tools-6db9f859bb-svbns -- ceph orch status -f json
2022-07-27T23:47:26.675 INFO:tasks.rook.operator.smithi077.stdout:2022-07-27 23:47:26.678090 I | op-mgr: successful modules: orchestrator modules
2022-07-27T23:47:26.734 INFO:teuthology.orchestra.run.smithi077.stdout:
2022-07-27T23:47:26.736 INFO:teuthology.orchestra.run.smithi077.stdout:{"available": true, "backend": "rook"}
2022-07-27T23:47:26.763 INFO:tasks.rook: mgr/rook orchestrator is active
2022-07-27T23:47:26.764 DEBUG:teuthology.orchestra.run.smithi077:> kubectl -n rook-ceph exec rook-ceph-tools-6db9f859bb-svbns -- ceph config set mgr mgr/rook/storage_class scratch
2022-07-27T23:47:27.384 DEBUG:teuthology.orchestra.run.smithi077:> kubectl -n rook-ceph exec rook-ceph-tools-6db9f859bb-svbns -- ceph orch apply osd --all-available-devices
2022-07-27T23:47:28.422 INFO:teuthology.orchestra.run.smithi077.stderr:Error EINVAL: Failed to update cephclusters/rook-ceph: (403)
2022-07-27T23:47:28.422 INFO:teuthology.orchestra.run.smithi077.stderr:Reason: Forbidden
2022-07-27T23:47:28.423 INFO:teuthology.orchestra.run.smithi077.stderr:HTTP response headers: HTTPHeaderDict({'Audit-Id': 'cafce82c-e9c3-4d6b-ba43-4d3aee8fa9ec', 'Cache-Control': 'no-cache, private', 'Content-Type': 'application/json', 'X-Content-Type-Options': 'nosniff', 'X-Kubernetes-Pf-Flowschema-Uid': '4b5e49ce-8cbd-4f2b-8e2d-42674a94e14d', 'X-Kubernetes-Pf-Prioritylevel-Uid': 'b37c9f7c-4308-4c97-9aa2-f8d682b04653', 'Date': 'Wed, 27 Jul 2022 23:47:28 GMT', 'Content-Length': '398'})
2022-07-27T23:47:28.423 INFO:teuthology.orchestra.run.smithi077.stderr:HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"cephclusters.ceph.rook.io \"rook-ceph\" is forbidden: User \"system:serviceaccount:rook-ceph:rook-ceph-mgr\" cannot patch resource \"cephclusters\" in API group \"ceph.rook.io\" in the namespace \"rook-ceph\"","reason":"Forbidden","details":{"name":"rook-ceph","group":"ceph.rook.io","kind":"cephclusters"},"code":403}
2022-07-27T23:47:28.424 INFO:teuthology.orchestra.run.smithi077.stderr:
2022-07-27T23:47:28.424 INFO:teuthology.orchestra.run.smithi077.stderr:
2022-07-27T23:47:28.427 INFO:teuthology.orchestra.run.smithi077.stderr:command terminated with exit code 22
2022-07-27T23:47:28.430 DEBUG:teuthology.orchestra.run:got remote process result: 22

Actions

Also available in: Atom PDF