-
Notifications
You must be signed in to change notification settings - Fork 184
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
Added permissions to resources for metrics exporter #2322
Added permissions to resources for metrics exporter #2322
Conversation
a8b610a
to
8a2a755
Compare
Added the received image health status message from the cluster. Helps user in debugging. Signed-off-by: Arun Kumar Mohan <[email protected]>
024a88e
to
23670dc
Compare
@umangachapagain , we are not seeing any |
cbd79f0
to
1dd4603
Compare
Still seeing error messages, like the following,
This is an expected error message, as we are granting Question here is, above error message popped up in a MCO cluster and is this an expected behavior in this type of scenario? |
This shouldn't happen. There's a bug somewhere.
Not expected in any case. It's a bug. |
Currently unable to repro the error. Raised a separate issue #2327 to track this Attaching the current metrics exporter log |
Remove an accidental role permissions added to prometheus. Add the same (missing) permissions to metrics exporter. This resolves the following error messages in metrics exporter, persistentvolumeclaims "db-noobaa-db-pg-0" is forbidden: User "system:serviceaccount:openshift-storage:ocs-metrics-exporter" cannot get resource "persistentvolumeclaims" in API group "" in the namespace "openshift-storage" pods is forbidden: User "system:serviceaccount:openshift-storage:ocs-metrics-exporter" cannot list resource "pods" in API group "" in the namespace "openshift-storage" Signed-off-by: Arun Kumar Mohan <[email protected]>
A small optization to exporter role and rolebinding functions to remove duplicate codes. Signed-off-by: Arun Kumar Mohan <[email protected]>
We were getting following error message while adding a PV to PVStore as we were expecting only pointer to PV as arg to PVStore Add() method. err: unexpected object of type v1.PersistentVolume Signed-off-by: Arun Kumar Mohan <[email protected]>
1dd4603
to
a63c97a
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aruniiird, umangachapagain The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
15b8d1c
into
red-hat-storage:main
/cherry-pick release-4.15 |
@agarwal-mudit: new pull request could not be created: failed to create pull request against red-hat-storage/ocs-operator#release-4.15 from head openshift-cherrypick-robot:cherry-pick-2322-to-release-4.15: status code 422 not one of [201], body: {"message":"Validation Failed","errors":[{"resource":"PullRequest","code":"custom","message":"No commits between red-hat-storage:release-4.15 and openshift-cherrypick-robot:cherry-pick-2322-to-release-4.15"}],"documentation_url":"https://docs.github.com/rest/pulls/pulls#create-a-pull-request"} In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Remove an accidental role permissions added to prometheus.
Add the same (missing) permissions to metrics exporter.
A minor code refactor to optimize role/rolebinding addition to metrics exporter
and a minor bug fix