-
Notifications
You must be signed in to change notification settings - Fork 123
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
Failing to launch VM with error "The connection to service named com.apple.fonts was invalidated" #612
Comments
A few observations:
|
Interesting error! Seems something that is coming from SwiftUI because Tart is only using labels and stuff in non headkess mode. I wonder if Orchard should use headless mode for VMs by default. What do you think @edigaryev? |
Should I switch to headless for now while we search for the root cause? |
Yeah, I think it's in general the right mode for Orchard use case. Headless only affects whether there is a Tart windows. The VM itself has a display either way. |
@fkorotkov it does use headless by default when creating the VM via the CLI. @ruimarinho as for the issue, it might be due to a GUI pop-up showing up on the worker's machine, which doesn't get answered. If the issue is reproducible, can you verify that? |
@edigaryev I am unable to replicate right now because I had to restart the orchard worker in order to resume jobs, but there wasn't (and there isn't) anything on the worker's UI that could justify this (no popup; nothing from the OS was being shown, etc). I'm wondering if this could be in any way related to the 256 VMs/day being reach but somehow being bubbled on a different domain? Regardless, I'll switch to headless and see if we hit anything similar again. Perhaps it could be worth running a small stress testing with headless mode enabled. |
This is unlikely, because the error seems to be happened within a second from the moment of
I've just checked and Tart doesn't open any fonts when running with This can be easily verified by running So hopefully this will help. By the way, do I understand correctly that are you creating the VMs from the REST API and not from the CLI? |
Unfortunately I had to revert that decision because of cirruslabs/orchard#138 (i.e. VMs becoming completely unresponsive).
Indeed. I even unloaded the service and made sure it stayed that way, restart the worker and everything came back to life again. Very weird..
Yes, all interaction is done via the REST API through the controller. |
Closing since we can't reproduce and there is a workaround in place. |
Hi,
Recently one of our Macs started failing to run VMs with the following message:
Any idea what could cause such issue? Running
tart 1.12.0
.The text was updated successfully, but these errors were encountered: