Closed eecsmap closed 2 weeks ago
It seems hang on waiting for https://github.com/cirruslabs/orchard/blob/main/internal/controller/api_vms_ip.go#L58
Hello!
Are these hangs reproducible for a short period of time after a single hang occurs, or they're completely stray with only a single one occurring in a minute/hour/day timeframe?
Are you using --net-bridged
? Using --net-bridged
causes Orchard to pass --resolver=arp
to the tart ip
command, which in turn relies on the VM being active on the local network to populate the host's ARP table.
Most Linux VMs don't do that out-of-the box and this happens sometimes with long-running macOS VMs.
The next time you observe this, could you please verify that tart ip orchard-<VM-name>-<UUID>
(or tart ip --resolver=arp orchard-<VM-name>-<UUID>
when using --net-bridged
) works on the node with your VM at the time this happens?
When I run tart ip <vmname>
I got no IP address found
When I run tart ip <vmname> --resolver=arp
I also got no IP address found
I double checked with the DHCP server and it actually allocate the IP for the MAC of the VM. I can ssh into the VM using this IP.
I think I got the problem fixed. Thanks!
Recently I am working on a service heavily relying on the API /vms/{vmname}/ip. Yet I have run into couple of times that the query simply hangs.
Then it hangs.
This issue is not observed on my prod environment. Yet happens in my test environment with a large chance. Any suggestion?