Skip to content
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

Instance status doesn't show when vde_vmnet network has broken #178

Open
jandubois opened this issue Aug 28, 2021 · 0 comments
Open

Instance status doesn't show when vde_vmnet network has broken #178

jandubois opened this issue Aug 28, 2021 · 0 comments
Labels

Comments

@jandubois
Copy link
Member

Running examples/vmnet.yaml:

$ l ls
NAME     STATUS     SSH                ARCH      DIR
vmnet    Running    127.0.0.1:60105    x86_64    /Users/jan/.lima/vmnet

$ ping 192.168.105.21
PING 192.168.105.21 (192.168.105.21): 56 data bytes
64 bytes from 192.168.105.21: icmp_seq=0 ttl=64 time=0.553 ms
64 bytes from 192.168.105.21: icmp_seq=1 ttl=64 time=0.420 ms
^C
--- 192.168.105.21 ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.420/0.487/0.553/0.066 ms

After removing the vde_vmnet service, the status remains unchanged even though the network no longer works:

$ sudo make uninstall PREFIX=/opt/vde
launchctl unload -w "/Library/LaunchDaemons/io.github.lima-vm.vde_vmnet.plist"
/Library/LaunchDaemons/io.github.lima-vm.vde_vmnet.plist: Operation now in progress
launchctl unload -w "/Library/LaunchDaemons/io.github.virtualsquare.vde-2.vde_switch.plist"
/Library/LaunchDaemons/io.github.virtualsquare.vde-2.vde_switch.plist: Operation now in progress
rm -f "/Library/LaunchDaemons/io.github.lima-vm.vde_vmnet.plist"
rm -f "/Library/LaunchDaemons/io.github.virtualsquare.vde-2.vde_switch.plist"
rm -f "//opt/vde/bin/vde_vmnet"

$ ping 192.168.105.21
PING 192.168.105.21 (192.168.105.21): 56 data bytes
Request timeout for icmp_seq 0
^C
--- 192.168.105.21 ping statistics ---
2 packets transmitted, 0 packets received, 100.0% packet loss

$ l ls
NAME     STATUS     SSH                ARCH      DIR
vmnet    Running    127.0.0.1:60105    x86_64    /Users/jan/.lima/vmnet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant