Closed chunfuwen closed 1 month ago
Previous failed log:
24-09-09 05:05:02,286 process L0658 INFO | Running '/usr/bin/virsh start paused_guest ' 2024-09-09 05:05:18,054 ip_sniffing L0059 DEBUG| Updated HWADDR (34:48:ed:f9:e2:20)<->(10.73.178.185) IP pair into address cache 2024-09-09 05:07:26,932 process L0470 DEBUG| [stderr] error: Failed to start domain 'paused_guest' 2024-09-09 05:07:26,932 process L0470 DEBUG| [stdout] 2024-09-09 05:07:26,932 process L0470 DEBUG| [stderr] error: internal error: process exited while connecting to monitor: 2024-09-09T09:07:26.268458Z qemu-kvm: -blockdev {"driver":"nbd","server":{"type":"inet","host":"10.73.75.59","port":"10809"},"node-name":"libvirt-1-storage","read-only":false}: Failed to connect to '10.73.75.59:10809': Connection timed out 2024-09-09 05:07:26,933 process L0739 INFO | Command '/usr/bin/virsh start paused_guest ' finished with 1 after 144.635844938s 2024-09-09 05:07:26,947 virsh L0873 DEBUG| status: 1 2024-09-09 05:07:26,947 virsh L0874 DEBUG| stdout: 2024-09-09 05:07:26,947 virsh L0875 DEBUG| stderr: error: Failed to start domain 'paused_guest'error: internal error: process exited while connecting to monitor: 2024-09-09T09:07:26.268458Z qemu-kvm: -blockdev {"driver":"nbd","server":{"type":"inet","host":"10.73.75.59","port":"10809"},"node-name":"libvirt-1-storage","read-only":false}: Failed to connect to '10.73.75.59:10809': Connection timed out 2024-09-09 05:07:26,972 create_destroy_d L0396 INFO | Restoring vm...
close this PR since this issue is addressed in another way
Fix destroy domain paused_state_guest issue
In different libvirt version, the behavior has slight difference, So update code to make them compatibility