-
Notifications
You must be signed in to change notification settings - Fork 95
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
finch fails with "unrecognized system status" #171
Comments
how did you install finch? via homebrew or the github release? |
Via the GitHub release (pkg file). |
Had you installed via homebrew previously by any chance? |
No, never. |
Ok, just wanted to rule out any chance that there were two running instances of Finch using the same disk. That's the only context where we've seen this bug before, but it seems like this might be something else. In any case, #154 should help prevent this issue from happening. We'll have a release with that PR out soon. |
Just wanted to add a comment here on how to get back into a good state if you run into this issue. The first thing I would try is to manually delete the Lima instance directory, then re-init the finch VM.
If this doesn't fix the issue or if other issues arise with
|
Signed-off-by: Sam Berning <[email protected]> Issue #, if available: #171 *Description of changes:* Adds a force flag to `finch vm stop` and `finch vm remove`. This gives us a native way to recover from "unrecognized system status" as seen in #171. *Testing done:* Unit testing, E2E testing. Force "unrecognized system status" by messing with the Lima instance ``` $ ./_output/bin/finch vm stop FATA[0000] unrecognized system status $ ./_output/bin/finch vm stop --force INFO[0000] Forcibly stopping Finch virtual machine... INFO[0001] Finch virtual machine stopped successfully $ ./_output/bin/finch vm start INFO[0000] Starting existing Finch virtual machine... INFO[0038] Finch virtual machine started successfully ``` ``` $ ./_output/bin/finch vm stop FATA[0000] unrecognized system status $ ./_output/bin/finch vm remove --force INFO[0000] Forcibly removing Finch virtual machine... INFO[0000] Finch virtual machine removed successfully $ ./_output/bin/finch vm status Nonexistent ``` - [x] I've reviewed the guidance in CONTRIBUTING.md #### License Acceptance By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. Signed-off-by: Sam Berning <[email protected]>
I get same error when I updated and restarted the Mac OS with finch vm running. Because I had installed with brew, it fixed by uninstalling and re-installing finch with brew. |
Describe the bug
finch can get into a state where, when running any command, it will fail and print
Additional context
Requested by engineers:
The text was updated successfully, but these errors were encountered: