-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mgr: enable rook orchestrator mgr module by default #13761
Conversation
f9b349d
to
b2a2a81
Compare
2caff7b
to
1133034
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A thought, can check in go code if dashboard is enabled then only enable mgr module, or there are other uses cases of mgr module?
IIRC in the past it was true only but we changed that to false since we have some issue probably in dashboard or somewhere. Those error may not exist today but just sharing the thoughts.
Agreed, if the dashboard module is enabled, it will be good to automatically enable the rook module. Perhaps we don't even need to support enabling/disabling the |
Still not clear what are the benefits of doing this in code as we have the support to enable/disable modules through configuration. I'd prefer to keep this kind of functionality in conf unless there's really a good reason to move it to code. |
The main question for me is if we want to consider it's "required" to have the In practice, it will likely be sufficient to just add the |
This pull request has merge conflicts that must be resolved before it can be merged. @rkachach please rebase it. https://rook.io/docs/rook/latest/Contributing/development-flow/#updating-your-fork |
1133034
to
19bf178
Compare
Since v18.2.2 is out, it would be great to enable this by default now. How about just rebasing to get the latest CI fixes? |
19bf178
to
0abdf3b
Compare
Done |
previously, we had kept the Rook orchestrator manager module disabled so far because it was causing a bunch of issues and errors on the dashboard. But with the recent changes made in the cephv v18.2.1 release, we've fixed those issues and made some overall improvements to the dashboard user experience when Rook is enabled. With all that in mind, it's time to switch on the Rook orchestrator by default. Fixes: rook#13760 Signed-off-by: Redouane Kachach <rkachach@redhat.com>
0abdf3b
to
d262bf7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a permission is missing for tests where there is a cluster in a second namespace:
2024-03-13 19:29:22.737236 I | ceph-spec: ceph-file-controller: CephCluster "my-cluster" found but skipping reconcile since ceph health is &{Health:HEALTH_ERR Details:map[MGR_MODULE_ERROR:{Severity:HEALTH_ERR Message:Module 'rook' has failed: (403)
Reason: Forbidden
HTTP response headers: HTTPHeaderDict({'Audit-Id': '6b518229-d6e1-49d1-a16b-247e2eab237f', 'Cache-Control': 'no-cache, private', 'Content-Type': 'application/json', 'X-Content-Type-Options': 'nosniff', 'X-Kubernetes-Pf-Flowschema-Uid': '2609213b-bd67-4367-9804-46c4e37b0667', 'X-Kubernetes-Pf-Prioritylevel-Uid': 'f640617f-7d82-45fd-a24b-f5ffd9e34525', 'Date': 'Wed, 13 Mar 2024 19:19:40 GMT', 'Content-Length': '295'})
HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"nodes is forbidden: User \"system:serviceaccount:rook-ceph-secondary:rook-ceph-mgr\" cannot list resource \"nodes\" in API group \"\" at the cluster scope","reason":"Forbidden","details":{"kind":"nodes"},"code":403}
}] LastChecked:2024-03-13T19:28:50Z LastChanged:2024-03-13T19:20:42Z PreviousHealth:HEALTH_OK Capacity:{TotalBytes:6442450944 UsedBytes:28209152 AvailableBytes:6414241792 LastUpdated:2024-03-13T19:28:50Z} Versions:0xc00156fc00 FSID:3be4c34b-e180-4f6b-a346-0034aa37a77d}
f4ef149
to
3068db3
Compare
The full stack trace from the error:
|
0fdd1a3
to
1bc7ced
Compare
80baf0a
to
9a20106
Compare
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
fb84147
to
308236d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
previously, we had kept the Rook orchestrator manager module disabled so far because it was causing a bunch of issues and errors on the dashboard. But with the recent changes made in the
cephv v18.2.1
release, we've fixed those issues and made some overall improvements to the dashboard user experience when Rook is enabled. With all that in mind, it's time to switch on the Rook orchestrator by default.Fixes: #13760
Checklist: