Skip to content
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] When initialization failed, impossible to recover and move forward with the extension #181

Open
slemeur opened this issue Oct 3, 2023 · 2 comments
Labels

Comments

@slemeur
Copy link

slemeur commented Oct 3, 2023

General information

  • OS: macOS
  • Did you run crc setup before starting it (Yes/No)? No
  • Running CRC on: Laptop

CRC version

CRC version: 2.27.0+71615e
OpenShift version: 4.13.12
Podman version: 4.4.4

CRC status

DEBU CRC version: 2.27.0+71615e
DEBU OpenShift version: 4.13.12
DEBU Podman version: 4.4.4
DEBU Running 'crc status'
crc does not seem to be setup correctly, have you run 'crc setup'?

CRC config

- consent-telemetry                     : no
- preset                                : microshift

Host Operating System

ProductName:		macOS
ProductVersion:		14.0
BuildVersion:		23A344

Steps to reproduce

  1. Failed installation of OpenShift Local.
  2. Try to go to settings > resources

Expected

User is able to restart the process

Actual

Impossible to move forward in the flow. The bog button redirects to the settings.

Screenshot 2023-10-03 at 15 04 51

On the dashboard no action button is given either.

Screenshot 2023-10-03 at 15 16 43

Logs

Before gather the logs try following if that fix your issue

$ crc delete -f
$ crc cleanup
$ crc setup
$ crc start --log-level debug

Please consider posting the output of crc start --log-level debug on http://gist.github.com/ and post the link in the issue.

@anjannath
Copy link
Member

If we go the Settings > Extension > OpenShift Local and then Disable the extension and then enable it again, the Initialize button on the dashboard re-appears.

Maybe in the dashboard on the OpenShift Local tile, we can mention this workaround, to disable and enable the extension from the Settings > Extension > OpenShift Local (this also helps when the detection checks fails and we want the detection checks to run again)

image

@deboer-tim
Copy link
Contributor

That's not bad as a last resort, but it's like telling someone to try rebooting if the CRC cli fails. Couldn't we check and reset the state after any installation attempt (success or failure)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants