<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 Jan 17, 2017, at 9:43 AM, Roy Golan &lt;<a href="mailto:rgolan@redhat.com" class="">rgolan@redhat.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><br class="Apple-interchange-newline"><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class="gmail_quote" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">On 16 January 2017 at 12:35, Vinzenz Feenstra<span class="Apple-converted-space">&nbsp;</span><span dir="ltr" class="">&lt;<a href="mailto:vfeenstr@redhat.com" target="_blank" class="">vfeenstr@redhat.com</a>&gt;</span><span class="Apple-converted-space">&nbsp;</span>wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><div style="word-wrap: break-word;" class=""><br class=""><div class=""><div class=""><div class="h5"><blockquote type="cite" class=""><div class="">On Jan 16, 2017, at 11:22 AM, Roy Golan &lt;<a href="mailto:rgolan@redhat.com" target="_blank" class="">rgolan@redhat.com</a>&gt; wrote:</div><br class="m_3987307417713686096Apple-interchange-newline"><div class=""><br class="m_3987307417713686096Apple-interchange-newline"><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><div class="gmail_quote" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">On 16 January 2017 at 11:39, Guy Chen<span class="m_3987307417713686096Apple-converted-space">&nbsp;</span><span dir="ltr" class="">&lt;<a href="mailto:guchen@redhat.com" target="_blank" class="">guchen@redhat.com</a>&gt;</span><span class="m_3987307417713686096Apple-converted-space">&nbsp;</span>wrote<wbr class="">:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;">O.k, Thanks !<br class=""><span class="m_3987307417713686096im m_3987307417713686096HOEnZb"><br class="">Regards,<br class=""><br class="">-----------------------------<br class="">Guy Chen, RHEV-M<br class="">Performance<br class="">O:<span class="m_3987307417713686096Apple-converted-space">&nbsp;</span><a href="tel:%2B972.9.7692152" value="+97297692152" target="_blank" class="">+972.9.7692152</a>&nbsp; &nbsp; &nbsp; &nbsp;<span class="m_3987307417713686096Apple-converted-space">&nbsp;</span>M:<span class="m_3987307417713686096Apple-converted-space">&nbsp;</span><a href="tel:%2B972.52.8545202" value="+972528545202" target="_blank" class="">+972.52.8545202</a><br class=""><a href="mailto:guchen@redhat.com" target="_blank" class="">guchen@redhat.com</a><br class=""><br class=""></span><div class="m_3987307417713686096HOEnZb"><div class="m_3987307417713686096h5">----- Original Message -----<br class="">&gt; From: "Vinzenz Feenstra" &lt;<a href="mailto:vfeenstr@redhat.com" target="_blank" class="">vfeenstr@redhat.com</a>&gt;<br class="">&gt; To: "Guy Chen" &lt;<a href="mailto:guchen@redhat.com" target="_blank" class="">guchen@redhat.com</a>&gt;<br class="">&gt; Cc:<span class="m_3987307417713686096Apple-converted-space">&nbsp;</span><a href="mailto:devel@ovirt.org" target="_blank" class="">devel@ovirt.org</a>, "Eyal Berman" &lt;<a href="mailto:eberman@redhat.com" target="_blank" class="">eberman@redhat.com</a>&gt;, "Unname" &lt;<a href="mailto:rgolan@redhat.com" target="_blank" class="">rgolan@redhat.com</a>&gt;<br class="">&gt; Sent: Monday, January 16, 2017 11:23:19 AM<br class="">&gt; Subject: Re: ovirt-guest-agent-common question<br class="">&gt;<br class="">&gt;<br class="">&gt; &gt; On Jan 16, 2017, at 10:18 AM, Guy Chen &lt;<a href="mailto:guchen@redhat.com" target="_blank" class="">guchen@redhat.com</a>&gt; wrote:<br class="">&gt; &gt;<br class="">&gt; &gt;<br class="">&gt; &gt; Hi<br class="">&gt; &gt;<br class="">&gt; &gt; After i am installing ovirt-guest-agent-common shutdown of a VM takes about<br class="">&gt; &gt; 90 seconds instead of 30 seconds without the agent.<br class="">&gt; &gt; I am running on rhvm 4.1 build 4, host, engine and VM all are rhel 7.3,<br class="">&gt; &gt; agent version is ovirt-guest-agent-common-1.0.1<wbr class="">3-2.el7ev.noarch.<br class="">&gt; &gt; Has anyone encounter this issue ?<br class="">&gt;<br class="">&gt; This is pretty normal as there’s a timeout letting the users logged in save<br class="">&gt; their work etc. So the reboot is scheduled.<br class="">&gt; This is not an issue, this is simply by design.<br class="">&gt;<br class=""></div></div></blockquote><div class=""><br class=""></div><div class="">@Vinzenz If there is no logged in user this should be as quick as without the tool and I guess there isn't a user logged in @Guy?<br class=""></div></div></div></blockquote><div class=""><br class=""></div></div></div><div class="">Well, the definition of ‘Someone is logged in’ is quite difficult to answer on linux machine.</div></div></div></blockquote><div class=""><br class=""></div><div class="">Correct but if the system is doing nothing why would adding guest agent is adding &gt; 1 min to the shutdown?&nbsp;<span class="Apple-converted-space">&nbsp;</span><br class=""></div></div></div></blockquote><div><br class=""></div><div>The agent adds that, what it gets told to, it’s not hardcoded if that is your point. “If the system is doing nothing” is again very subjective and not easy to answer.</div><div>Anyway you’re welcome to change that delay if you insist. It’s sent by the engine via the VM.shutdown verb on vdsm as the delay parameter in seconds.</div><div><br class=""></div><div>Just I don’t support this change and I do see too many potential pitfalls in trying to determine if we should skip the delay or not - As I said, it’s a matter which is too subjective.</div><br class=""><blockquote type="cite" class=""><div class=""><div class="gmail_quote" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><div style="word-wrap: break-word;" class=""><div class=""><span class=""><br class=""><blockquote type="cite" class=""><div class=""><div class="gmail_quote" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div class="">&nbsp;<br class=""></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><div class="m_3987307417713686096HOEnZb"><div class="m_3987307417713686096h5">&gt; &gt;<br class="">&gt; &gt; Regards,<br class="">&gt; &gt;<br class="">&gt; &gt; -----------------------------<br class="">&gt; &gt; Guy Chen, RHEV-M<br class="">&gt; &gt; Performance<br class="">&gt; &gt; O:<span class="Apple-converted-space">&nbsp;</span><a href="tel:+972%209-769-2152" value="+97297692152" target="_blank" class="">+972.9.7692152</a>&nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;</span>M:<span class="Apple-converted-space">&nbsp;</span><a href="tel:+972%2052-854-5202" value="+972528545202" target="_blank" class="">+972.52.8545202</a><br class="">&gt; &gt;<span class="m_3987307417713686096Apple-converted-space">&nbsp;</span><a href="mailto:guchen@redhat.com" target="_blank" class="">guchen@redhat.com</a><br class="">&gt; &gt;<br class="">&gt;<br class="">&gt;</div></div></blockquote></div></div></blockquote></span></div></div></blockquote></div></div></blockquote></div><br class=""></body></html>