<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 16 Sep 2016, at 15:05, Gianluca Cecchi <<a href="mailto:gianluca.cecchi@gmail.com" class="">gianluca.cecchi@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote">On Fri, Sep 16, 2016 at 2:50 PM, Michal Skrivanek <span dir="ltr" class=""><<a href="mailto:michal.skrivanek@redhat.com" target="_blank" class="">michal.skrivanek@redhat.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class=""><span class=""><div class=""><br class=""></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.</div><div class=""><span class=""><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><div class=""><br class=""><div style="font-family:arial,helvetica,sans-serif;display:inline" class="">AFAIK that's correct, we need to be able </div><div style="font-family:arial,helvetica,sans-serif;display:inline" class="">shutdown HA VM</div><div style="font-family:arial,helvetica,sans-serif;display:inline" class=""> 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.<br class=""></div></div></div></div></div></div></blockquote><div class=""><br class=""></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</div><div class=""><div class="h5"><div class=""><br class=""></div></div></div></div></blockquote></div><br class=""></div><div class="gmail_extra">Hi, just another question in case HA is not configured at all.</div></div></div></blockquote><div><br class=""></div>by “HA configured” I expect you’re referring to the “Highly Available” checkbox in Edit VM dialog.</div><div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_extra">If I run the "shutdown -h now" command on an host where some VMs are running, what is the expected behavior?</div><div class="gmail_extra">Clean VM shutdown (with or without timeout in case it doesn't complete?) or crash of their related QEMU processes?</div></div></div></blockquote><div><br class=""></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><br class=""></div><div>Thanks,</div><div>michal<br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_extra"><br class=""></div><div class="gmail_extra">Thanks,</div><div class="gmail_extra">Gianluca</div></div>
_______________________________________________<br class="">Users mailing list<br class=""><a href="mailto:Users@ovirt.org" class="">Users@ovirt.org</a><br class="">http://lists.ovirt.org/mailman/listinfo/users<br class=""></div></blockquote></div><br class=""></body></html>