cirruslabs / orchard

Orchestrator for running Tart Virtual Machines on a cluster of Apple Silicon devices
Other
194 stars 16 forks source link

Unable to assign IP address to VM #162

Closed PrashantRaj18198 closed 5 months ago

PrashantRaj18198 commented 6 months ago

We got this error when spinning up VMs through orchard. It seems that VMs are unable to get IP addresses assigned to them. This only happened for a short while and it got resolved automatically. Any insights into what's happening here?

{"level":"warn","ts":1712665366.8920739,"caller":"tart/tart.go:47","msg":"'tart ip --wait 60 orchard-machine-6x-arm64-w4q530127ul54urw-1ef7786e-6199-4758-a792-cd1c32462cea-0' failed with exit code 1: no IP address found","vm_uid":"1ef7786e-6199-4758-a792-cd1c32462cea","vm_name":"machine-6x-arm64-w4q530127ul54urw","vm_restart_count":0}

{"level":"error","ts":1712665366.892374,"caller":"vmmanager/vm.go:121","msg":"VM failed: failed to run startup script: VM failed to get IP","vm_uid":"1ef7786e-6199-4758-a792-cd1c32462cea","vm_name":"machine-6x-arm64-w4q530127ul54urw","vm_restart_count":0,"stacktrace":"github.com/cirruslabs/orchard/internal/worker/vmmanager.(*VM).setErr\n\t/tmp/cirrus-ci-build/internal/worker/vmmanager/vm.go:121\ngithub.com/cirruslabs/orchard/internal/worker/vmmanager.(*VM).runScript\n\t/tmp/cirrus-ci-build/internal/worker/vmmanager/vm.go:358"}
edigaryev commented 6 months ago

Hello Prashant,

Are you running your VMs with --net-softnet?

If not, you might be experiencing the DHCP pool shortage. Please consider changing the default DHCP lease time to see if it helps.

edigaryev commented 5 months ago

Closing because of no reply.