<div>Hi Simone.</div><div>Exactly.</div><div>Now I'll put the journald on the guest and try to understand how the guest off.</div><div> </div><div>16.09.2016, 16:25, "Simone Tiraboschi" &lt;stirabos@redhat.com&gt;:</div><blockquote type="cite"><div> <div> <div>On Fri, Sep 16, 2016 at 3:13 PM, Michal Skrivanek <span>&lt;<a href="mailto:michal.skrivanek@redhat.com" target="_blank">michal.skrivanek@redhat.com</a>&gt;</span> wrote:<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid;"><div> <div><blockquote type="cite"><div><span>On 16 Sep 2016, at 15:05, Gianluca Cecchi &lt;<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.com</a>&gt; wrote:</span></div> <div><div><div><div><span>On Fri, Sep 16, 2016 at 2:50 PM, Michal Skrivanek <span>&lt;<a href="mailto:michal.skrivanek@redhat.com" target="_blank">michal.skrivanek@redhat.com</a>&gt;</span> wrote:</span><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid;"><div><div><div> </div><span>no, that’s not how HA works today. When you log into a guest and issue “shutdown” we do not restart the VM under your hands. We can argue how it should or may work, but this is the defined behavior since the dawn of oVirt.</span></div><div> <blockquote type="cite"><div><div><div><div><div> <div style="font-family:arial,helvetica,sans-serif;display:inline;"><span><span>​AFAIK that's correct, we need to be able ​</span></span></div><div style="font-family:arial,helvetica,sans-serif;display:inline;"><span><span>​shutdown HA VM​</span></span></div><span><span>​</span></span><div style="font-family:arial,helvetica,sans-serif;display:inline;"><span><span>​ without being it immediately restarted on different host. We want to restart HA VM only if host, where HA VM is running, is non-responsive.</span></span></div></div></div></div></div></div></blockquote><div> </div><span>we try to restart it in all other cases other than user initiated shutdown, e.g. a QEMU process crash on an otherwise-healthy host</span></div><div><div><div> </div></div></div></div></blockquote></div></div><div><span>Hi, just another question in case HA is not configured at all.</span></div></div></div></blockquote><div> </div>by “HA configured” I expect you’re referring to the “Highly Available” checkbox in Edit VM dialog.</div><div> <blockquote type="cite"><div><div><div><span>If I run the "shutdown -h now" command on an host where some VMs are running, what is the expected behavior?</span></div><div><span>Clean VM shutdown (with or without timeout in case it doesn't complete?) or crash of their related QEMU processes?</span></div></div></div></blockquote><div> </div>expectation is that you won’t do that. That’s why there is the Maintenance host state.</div><div>But if you do that regardless, with VMs running, all the processes will be terminated in a regular system way, i.e. all QEMU processes get SIGTERM. From the perspective of each guest this is not a clean shutdown and it would just get killed </div><div> </div></div></blockquote><div> </div><div>Aleksey is reporting that he started a shutdown on his host by power management and the VM processes didn't get roughly killed but smoothly shut down and so they didn't restarted regardless of their HA flag and so this thread. </div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid;"><div><div> </div><div>Thanks,</div><div>michal<blockquote type="cite"><div><div><div> </div><div>Thanks,</div><div>Gianluca</div></div><span>_______________________________________________<br />Users mailing list<br /><a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br /><a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a></span></div></blockquote></div></div><br />_______________________________________________<br />Users mailing list<br /><a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br /><a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br /> </blockquote></div></div></div></blockquote>