-
Notifications
You must be signed in to change notification settings - Fork 55
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
Openshift.getEvents() fails #361
Comments
isn't it fabric8io/kubernetes-client#2205? It should be fixed in 4.10.2 |
@simkam Seems it can be it. With the update to 4.10.1 also all openshift event references were changed from: |
Ok, what about to revert 4.10.1-> 4.7.1 and wait for the new version? fyi @Crumby |
@mocenas Version change is only commit since 0.16 release. You can use that one till f8 10.1.2 is out. We can revert if more is coming into the code and new version still isn't out. Optionally try downgrade to 4.9.2... |
@Crumby |
Update to fabric 4.10.1 in PR360 seems to break getting events from OCP.
Code
openShift.getEvents()
ends with:io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: GET at: https://api.perf2.xpaas:8443/apis/events.k8s.io/v1beta1/namespaces/mocenas/events. Message: events.events.k8s.io is forbidden: User "xpaasqe" cannot list events.events.k8s.io in the namespace "mocenas": no RBAC policy matched. Received status: Status(apiVersion=v1, code=403, details=StatusDetails(causes=[], group=events.k8s.io, kind=events, name=null, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=events.events.k8s.io is forbidden: User "xpaasqe" cannot list events.events.k8s.io in the namespace "mocenas": no RBAC policy matched, metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=Forbidden, status=Failure, additionalProperties={}).
Tested against OCP 3.11 and 4.4.4
The text was updated successfully, but these errors were encountered: