Skip to content
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

[ocs-metrics-exporter] Seeing unexpected error message lines in metrics exporter logs #2327

Open
aruniiird opened this issue Dec 15, 2023 · 0 comments

Comments

@aruniiird
Copy link
Contributor

On an MCO cluster environment, ocs-metrics-exporter is throwing following error message lines,

failed to get PVC appset1/busybox-pvc: persistentvolumeclaims "busybox-pvc" is forbidden:
User "system:serviceaccount:openshift-storage:ocs-metrics-exporter" cannot get resource "persistentvolumeclaims" in API group "" in the namespace "appset1"

Initial check from the error message is that:
We have recently changed the metrics exporter design to watch only local namespace in which it is being deployed. So by default it which watch for PVC (and other resources) only on openshift-storage namespace (which is the namespace exporter is currently deployed).
Thus when asked to get info on a PVC in appset1 namespace, the error is being thrown.

Need further investigation on how the code path is reached.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant