Bug 1959291
| Summary: | cluster-storage-operator should not rely on external networking for health check | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Rom Freiman <rfreiman> | ||||
| Component: | Storage | Assignee: | Jan Safranek <jsafrane> | ||||
| Storage sub component: | Operators | QA Contact: | Qin Ping <piqin> | ||||
| Status: | CLOSED NOTABUG | Docs Contact: | |||||
| Severity: | high | ||||||
| Priority: | unspecified | CC: | aos-bugs, jsafrane, mfojtik, sttts, xxia | ||||
| Version: | 4.8 | ||||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | 1959290 | ||||||
| : | 1959292 (view as bug list) | Environment: | |||||
| Last Closed: | 2021-05-13 10:06:06 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | 1959285, 1959290 | ||||||
| Bug Blocks: | 1959292, 1959293, 1959294 | ||||||
| Attachments: |
|
||||||
|
Description
Rom Freiman
2021-05-11 08:18:41 UTC
I don't undestand this bug. cluster-storage-operator does not have any healthcheck (yeah, maybe it should have one...) The operator may create SubjectAccessReviews for its /healthz endpoint (currently unused) or /metrics, but I don't see a way how it could include "health" and "subjectaccessreviews" in a single audit log. Can you please post complete audit log line? Oh, and please include cluster-storage-operator logs too, just in case. Created attachment 1782545 [details]
cluster-storage-operator audit event
Attaching the audit log
I dont have the cso log.
Thanks for the audit line. It's List on ClusterRoles, /apis/rbac.authorization.k8s.io/v1/clusterroles?limit=500&resourceVersion=0. probably when initializing an informer. The response contains all your keywords (some rules allow accessing "/healthz", some other get/list SubjectAccessReviews), still, it does not mean CSO does any form of health check using SubjectAccessReviews. @jsafrane if this is the case, feel free to close it. Thanks for the explanation. |