-
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
lack of feedback when using invalid pull secret #901
Comments
#711 adds some validation to the format of the pull secret. It won't validate that the pull secret provided will grant the necessary permissions to pull all the images used by the cluster, though. |
#711 has landed. Personally I'm fine closing is based on that PR. We still don't cover the "are my creds sufficient for all the images I'll need?", but short if drilling into the update payload and attempting to pull each referenced image (which would be a lot of overhead) I don't seee a robust way to pre-check. We may be able to surface these issues though, with something like @crawford's streaming-logs idea or similar. Thoughts? |
it's not just the pre-flight checks (which are helpful nonetheless), but just having no visibility when the reason the install isn't progressing is due to the bad pull secret makes it hard for someone not familiar with the internals of the installation process. |
This is a very bad experience. All of the pods get stuck in Pending and there is no feedback as to why. In addition to wasting a half hour in raw time, there is the lost time in trying to debug what could possibly be wrong. Throw on top of this that there is no option to re-prompt during create cluster so new users are forced to figure out that problem as well in order to reset the auth. |
Can you post more details from your cluster? What version of the installer did you use? What were your
from the topic post. But in that case there would be no cluster at all, so what API would be showing you pending pods?
How are you re-running
I agree that increasing visibility here would be good. Currently you only see:
so newcomers will need to start at the Kubernetes API is Unavailable docs and work down until they get to the Troubleshooting the Bootstrap Node docs. Something like @crawford's bootstrap log-streaming would help, but at the moment the installer is just as clueless about why the Kubernetes API isn't coming up as the user is. And I don't see a clear way for the installer to SSH into the bootstrap node to check on things, because it only has the public SSH key (not the private key) and the user may have decided to not configure a SSH key at all. |
Cross-linking Bugzilla. |
Closing this issue as bz is a much better tracking tool. |
Version
Platform (aws|libvirt|openstack):
aws
What happened?
Attempted an install with an invalid pull secret. The installer makes a lot of progress and ends up endlessly waiting with these lines repeated:
Jumping into the bootstrap node you can see that it's an auth problem:
What you expected to happen?
Installer should make it more clear that I'm trying to use an invalid pull secret.
How to reproduce it (as minimally and precisely as possible)?
Attempt to install using https://github.com/openshift/installer/releases/download/v0.6.0/openshift-install-linux-amd64 with an invalid pull secret (I changed a couple of characters in my pull secret to get an invalid one).
Anything else we need to know?
?
References
The text was updated successfully, but these errors were encountered: