KVM guests fail to restart after host is gracefully rebooted
VM guests fail to restart after host is gracefully rebooted
Issue
error: cannot send monitor command to '["execute:qmp_capabilities"]' connection reset by peer
Environment
Resolution
Delete the corresponding save file under/var/lib/libvirt/qemu/save/for each guest that will not start correctly
Root Cause
Unknown corruption of save file causes qemu to be unable to restore guest state after host is rebooted while guests are still running
Diagnostic Steps
Check/var/log/libvirt/qemu/
2011-05-19 10:41:50.729: starting up
LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm [...]
char device redirected to /dev/pts/2
Using CPU model "cpu64-rhel6"
Using CPU model "cpu64-rhel6"
0+0 records in
0+0 records out
0 bytes (0 B) copied, 5.951e-06 s, 0.0 kB/s
0+4295 records in
0+4295 records out
359626274 bytes (360 MB) copied, 7.67145 s, 46.9 MB/s
2011-05-20 12:04:59.581: shutting down
2011-05-24 11:17:07.347: starting up
LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm [...]
char device redirected to /dev/pts/1
Using CPU model "cpu64-rhel6"
Using CPU model "cpu64-rhel6"
qemu: warning: error while loading state section id 4
load of migration failed
2011-05-24 11:17:09.522: shutting down
The "359626274 bytes (360 MB) copied, 7.67145 s, 46.9 MB/s"output is from libvirt saving the guest memory to disk because the host is shutting down while the guest is still running. On the next boot libvirt will, by default, automatically try to restore the guest back to this saved state. The process of saving and restoring the state of a VM is very similar to how live migrations of guests take place. QEMU warns that there is a problem with the saved state, and loading it fails shortly after trying to start guest.
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
양식 제출 후 제출 버튼 비활성화텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.