<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 <<a href="mailto:rgolan@redhat.com" class="">rgolan@redhat.com</a>> 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"> </span><span dir="ltr" class=""><<a href="mailto:vfeenstr@redhat.com" target="_blank" class="">vfeenstr@redhat.com</a>></span><span class="Apple-converted-space"> </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 <<a href="mailto:rgolan@redhat.com" target="_blank" class="">rgolan@redhat.com</a>> 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"> </span><span dir="ltr" class=""><<a href="mailto:guchen@redhat.com" target="_blank" class="">guchen@redhat.com</a>></span><span class="m_3987307417713686096Apple-converted-space"> </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"> </span><a href="tel:%2B972.9.7692152" value="+97297692152" target="_blank" class="">+972.9.7692152</a> <span class="m_3987307417713686096Apple-converted-space"> </span>M:<span class="m_3987307417713686096Apple-converted-space"> </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="">> From: "Vinzenz Feenstra" <<a href="mailto:vfeenstr@redhat.com" target="_blank" class="">vfeenstr@redhat.com</a>><br class="">> To: "Guy Chen" <<a href="mailto:guchen@redhat.com" target="_blank" class="">guchen@redhat.com</a>><br class="">> Cc:<span class="m_3987307417713686096Apple-converted-space"> </span><a href="mailto:devel@ovirt.org" target="_blank" class="">devel@ovirt.org</a>, "Eyal Berman" <<a href="mailto:eberman@redhat.com" target="_blank" class="">eberman@redhat.com</a>>, "Unname" <<a href="mailto:rgolan@redhat.com" target="_blank" class="">rgolan@redhat.com</a>><br class="">> Sent: Monday, January 16, 2017 11:23:19 AM<br class="">> Subject: Re: ovirt-guest-agent-common question<br class="">><br class="">><br class="">> > On Jan 16, 2017, at 10:18 AM, Guy Chen <<a href="mailto:guchen@redhat.com" target="_blank" class="">guchen@redhat.com</a>> wrote:<br class="">> ><br class="">> ><br class="">> > Hi<br class="">> ><br class="">> > After i am installing ovirt-guest-agent-common shutdown of a VM takes about<br class="">> > 90 seconds instead of 30 seconds without the agent.<br class="">> > I am running on rhvm 4.1 build 4, host, engine and VM all are rhel 7.3,<br class="">> > agent version is ovirt-guest-agent-common-1.0.1<wbr class="">3-2.el7ev.noarch.<br class="">> > Has anyone encounter this issue ?<br class="">><br class="">> This is pretty normal as there’s a timeout letting the users logged in save<br class="">> their work etc. So the reboot is scheduled.<br class="">> This is not an issue, this is simply by design.<br class="">><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 > 1 min to the shutdown? <span class="Apple-converted-space"> </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=""> <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">> ><br class="">> > Regards,<br class="">> ><br class="">> > -----------------------------<br class="">> > Guy Chen, RHEV-M<br class="">> > Performance<br class="">> > O:<span class="Apple-converted-space"> </span><a href="tel:+972%209-769-2152" value="+97297692152" target="_blank" class="">+972.9.7692152</a> <span class="Apple-converted-space"> </span>M:<span class="Apple-converted-space"> </span><a href="tel:+972%2052-854-5202" value="+972528545202" target="_blank" class="">+972.52.8545202</a><br class="">> ><span class="m_3987307417713686096Apple-converted-space"> </span><a href="mailto:guchen@redhat.com" target="_blank" class="">guchen@redhat.com</a><br class="">> ><br class="">><br class="">></div></div></blockquote></div></div></blockquote></span></div></div></blockquote></div></div></blockquote></div><br class=""></body></html>