-
Notifications
You must be signed in to change notification settings - Fork 243
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
[BUG] Daemon not properly initialized after crc setup #2687
Comments
@adrianriobo does it eventually come up or never come up? |
@praveenkumar come up? what do you mean? |
Should we add a polling loop in crc setup or should this be only in tests? |
|
As you said in the issue if you have |
Setup claims your system is ready to start crc which is not true as you are not ensuring this condition? |
…unning the daemon might take a few seconds to come up and make the api endpoint available it is better to check that the daemon is up by trying to access this endpoint to make sure user is successfully able to do `crc start` after `crc setup`
…unning the daemon might take a few seconds to come up and make the api endpoint available it is better to check that the daemon is up by trying to access this endpoint to make sure user is successfully able to do `crc start` after `crc setup`
…unning the daemon might take a few seconds to come up and make the api endpoint available it is better to check that the daemon is up by trying to access this endpoint to make sure user is successfully able to do `crc start` after `crc setup`
the daemon might take a few seconds to come up and make the api endpoint available it is better to check that the daemon is up by trying to access this endpoint to make sure user is successfully able to do `crc start` after `crc setup`
Fixed by #2722 |
/close |
@adrianriobo: 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. |
The daemon process on macos is started from the tray process. The tray is installed before extracting and uncompressing the bundle, so when this long process happens during the setup the daemon is properly initialized.
When we start crc on a previous environment, and all the commands are included on a script (no delay between setup without require bundle management) the setup ends up successfully but the daemon is not properly initialized, and the start ends up failing.
In this case the setup probably should check the state of the daemon to ack that your system is ready to start crc.
Notice that in this case skipping the update check on the start will produce the error, with the check in place the delay is enough for the daemon.
To reproduce:
Create a pre existing environment
Create a script
Logs from previous script
The text was updated successfully, but these errors were encountered: