-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
installer should throw useful error message when pull secret is expired #2689
Comments
Error is Error from server (Forbidden): namespaces is forbidden: User "system:anonymous" cannot create namespaces at the cluster scope: no RBAC policy matched the error doesn't seem like an issue due to pull-secret @vasukulkarni |
@abhinavdahiya I think you are right, it was our must-gather invocation after failed create, but since I used loglevel INFO, there isnt meaningful error message when pull secret has expired, can something be done about that? and probably it can fail sooner than later. Thanks
|
|
@abhinavdahiya I am agreeing with you that installer is not responsible for the above error, but what I am asking is if we can improve the error message check when pull-secret is invalid, my pull-secret had expired yesterday and I was hitting above issue. I can try to give you exact error message when it fails with invalid pull-secret with --debug and I have seen its not very helpful. |
Ahh, I get it now. closing it favor of #2569 as the installer cannot verify access to the release-image because there is no condition that the installer needs to have access to the release-image, only the cluster requires the access. |
@abhinavdahiya: Closing this issue. 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. |
Version
v4.2.7
built from commit 425e4ff
release image registry.svc.ci.openshift.org/ocp/release@sha256:1792f2deda2dc3fd121b445790c01ac4aaf69dfa1f1c88d2d2ea6da3e16d7cda
Platform:
aws
What happened?
when the pull secret is expired, the error message is misleading
Error is Error from server (Forbidden): namespaces is forbidden: User "system:anonymous" cannot create namespaces at the cluster scope: no RBAC policy matched
What you expected to happen?
The installer should do these checks at the very beginning and should error out with clear error message.
How to reproduce it (as minimally and precisely as possible)?
use an expired pull secret key
The text was updated successfully, but these errors were encountered: