Bug 1473035
| Summary: | HA VM with VM lease not being restarted by engine when lease is in a separate storage domain | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Gordon Watson <gwatson> |
| Component: | ovirt-engine | Assignee: | Nobody <nobody> |
| Status: | CLOSED NOTABUG | QA Contact: | meital avital <mavital> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.1.2 | CC: | gwatson, lsurette, michal.skrivanek, rbalakri, Rhev-m-bugs, srevivo, tjelinek, ykaul |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-08-08 15:49:51 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Gordon Watson
2017-07-19 22:26:41 UTC
Tests performed; - HA VM with disk and VM lease in different SDs; - HA VM - disk in NFS-A - VM lease in NFS-B - Started VM - When up, blocked access to NFS-B - VM was killed by sanlock - Immediately unblocked access to NFS-B - Engine reported VM as "Down" - Engine reported "User shut down from within the guest" - Engine did not attempt to restart the VM Result: HA VM not restarted. - HA VM with disk and VM lease in same SD; - HA VM - disk in NFS-B - VM lease in NFS-B - Started VM - When up, blocked access to NFS-B - VM went into a non-responsive state, "Up*" on the host - Engine reported VM as "NotResponding" - VM was killed by sanlock, but it took several attempts - Immediately unblocked access to NFS-B - Engine reported VM as Down" - Engine reported "Lost connection with qemu process" - Engine then restarted the VM Result: HA VM was restarted. - Summary; The host's state was 'Up' the entire time during the above tests. That is, none of these tests involved the host going non-responsive, and so Power Management or lack thereof was not a factor either. Then depending upon how the process was killed determines if the engine will attempt to restart the VM or not. For correct identification of SIGTERM vs user's shutdown you need to run the ovirt-guest-agent. Can you check that? See bug 1341106 discussing the same problem I confirmed that the VM got restarted automatically with the following guest agents installed;
ovirt-guest-agent-common-1.0.13-5.el7 - RHEL guest
rhev-guest-tools-iso-4.1-5.el7 - Windows guest
(In reply to Gordon Watson from comment #14) > I confirmed that the VM got restarted automatically with the following guest > agents installed; > > ovirt-guest-agent-common-1.0.13-5.el7 - RHEL guest > rhev-guest-tools-iso-4.1-5.el7 - Windows guest great! Do you need anything more or can I close this BZ? Tomas, Yes, you can close it. Thanks very much for all the help. Regards, GFW. Thank you for your great cooperation! |