-
-
Notifications
You must be signed in to change notification settings - Fork 419
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
Inability to start colima on GitHub macOS-14 runners: "HV_UNSUPPORTED" #970
Comments
I suspect the runner is a VM on a machine with an M1 chip, which doesn't support nested virtualization (you can't run a VM inside the VM). It requires M2 or later architecture... The same limitation was true on the Windows and Linux runners until about 2 weeks ago when Github moved the runners to new hardware that does support nested virtualization. The macOS Intel runners have supported nested virtualization as long as I can remember. |
@jandubois Thanks a lot for clearing this up so quickly! The runners are indeed running on M1 chips. Somehow the nested virtualization limitation didn't cross my mind even though I actually use an M1 chip machine. I'm guessing that there's thus no "good" way to run colima on those M1 runners, outside of emulation. I just realized that this actually got brought up on actions/runner-images#9254 (comment), which also mentioned a line in the macOS larger runner docs:
Thanks again, I was stuck and wasn't exactly sure where to ask. |
Apologies for necroposting, but some might find this useful. That's the startup code (https://github.com/mikekazakov/nimble-commander/blob/df0a21832d7fa9f0a1e98525ce0b1c2af011ff7d/.github/workflows/build.yml#L46):
|
It's a practical workaround. And if anyone wants to use this code as I did, remember to replace
|
Description
GitHub just released their macos-14 runners in Beta, and they don't seem to be able to start colima.
The symptom seems similar to #791 or even #786 (comment): starting colima fails on an HV_UNSUPPORTED issue.
I've tried appliying the hotfix, but the signature doesn't seem to be the issue, as a non-hotfixed workflow also does not complain:
While the
.colima/_lima/colima/ha.stderr.log
log shows an issue:Note that the quoted logs here are shortened.
The full logs are accessible here: https://github.com/beelux/toltec-toolchain/actions/runs/7716039166/job/21031938411
Is this even a colima issue, or should I open an issue on the
actions/runner-images
repo?Version
Operating System
Output of
colima status
Reproduction Steps
Running a workflow on a GitHub macos-14 aarch64 runner.
macos-14
docker
andcolima
through brewcolima
Snippet from a workflow file:
Expected behaviour
Colima should start without crashing
Additional context
No response
The text was updated successfully, but these errors were encountered: