<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 17, 2017 at 11:05 AM, Vinzenz Feenstra <span dir="ltr"><<a href="mailto:vfeenstr@redhat.com" target="_blank">vfeenstr@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><div><div class="h5"><blockquote type="cite"><div>On Jan 17, 2017, at 9:43 AM, Roy Golan <<a href="mailto:rgolan@redhat.com" target="_blank">rgolan@redhat.com</a>> wrote:</div><br class="m_-981623039192016931Apple-interchange-newline"><div><br class="m_-981623039192016931Apple-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"><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 12:35, Vinzenz Feenstra<span class="m_-981623039192016931Apple-converted-space"> </span><span dir="ltr"><<a href="mailto:vfeenstr@redhat.com" target="_blank">vfeenstr@redhat.com</a>></span><span class="m_-981623039192016931Apple-converted-space"><wbr> </span>wrote:<br><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"><br><div><div><div class="m_-981623039192016931h5"><blockquote type="cite"><div>On Jan 16, 2017, at 11:22 AM, Roy Golan <<a href="mailto:rgolan@redhat.com" target="_blank">rgolan@redhat.com</a>> wrote:</div><br class="m_-981623039192016931m_3987307417713686096Apple-interchange-newline"><div><br class="m_-981623039192016931m_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"><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_-981623039192016931m_3987307417713686096Apple-converted-space"> </span><span dir="ltr"><<a href="mailto:guchen@redhat.com" target="_blank">guchen@redhat.com</a>></span><span class="m_-981623039192016931m_3987307417713686096Apple-converted-space"> </span>wrote<wbr>:<br><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><span class="m_-981623039192016931m_3987307417713686096im m_-981623039192016931m_3987307417713686096HOEnZb"><br>Regards,<br><br>-----------------------------<br>Guy Chen, RHEV-M<br>Performance<br>O:<span class="m_-981623039192016931m_3987307417713686096Apple-converted-space"> </span><a href="tel:%2B972.9.7692152" value="+97297692152" target="_blank">+972.9.7692152</a> <span class="m_-981623039192016931m_3987307417713686096Apple-converted-space"> </span>M:<span class="m_-981623039192016931m_3987307417713686096Apple-converted-space"> </span><a href="tel:%2B972.52.8545202" value="+972528545202" target="_blank">+972.52.8545202</a><br><a href="mailto:guchen@redhat.com" target="_blank">guchen@redhat.com</a><br><br></span><div class="m_-981623039192016931m_3987307417713686096HOEnZb"><div class="m_-981623039192016931m_3987307417713686096h5">----- Original Message -----<br>> From: "Vinzenz Feenstra" <<a href="mailto:vfeenstr@redhat.com" target="_blank">vfeenstr@redhat.com</a>><br>> To: "Guy Chen" <<a href="mailto:guchen@redhat.com" target="_blank">guchen@redhat.com</a>><br>> Cc:<span class="m_-981623039192016931m_3987307417713686096Apple-converted-space"> </span><a href="mailto:devel@ovirt.org" target="_blank">devel@ovirt.org</a>, "Eyal Berman" <<a href="mailto:eberman@redhat.com" target="_blank">eberman@redhat.com</a>>, "Unname" <<a href="mailto:rgolan@redhat.com" target="_blank">rgolan@redhat.com</a>><br>> Sent: Monday, January 16, 2017 11:23:19 AM<br>> Subject: Re: ovirt-guest-agent-common question<br>><br>><br>> > On Jan 16, 2017, at 10:18 AM, Guy Chen <<a href="mailto:guchen@redhat.com" target="_blank">guchen@redhat.com</a>> wrote:<br>> ><br>> ><br>> > Hi<br>> ><br>> > After i am installing ovirt-guest-agent-common shutdown of a VM takes about<br>> > 90 seconds instead of 30 seconds without the agent.<br>> > I am running on rhvm 4.1 build 4, host, engine and VM all are rhel 7.3,<br>> > agent version is ovirt-guest-agent-common-1.0.1<wbr>3-2.el7ev.noarch.<br>> > Has anyone encounter this issue ?<br>><br>> This is pretty normal as there’s a timeout letting the users logged in save<br>> their work etc. So the reboot is scheduled.<br>> This is not an issue, this is simply by design.<br>><br></div></div></blockquote><div><br></div><div>@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></div></div></div></blockquote><div><br></div></div></div><div>Well, the definition of ‘Someone is logged in’ is quite difficult to answer on linux machine.</div></div></div></blockquote><div><br></div><div>Correct but if the system is doing nothing why would adding guest agent is adding > 1 min to the shutdown? <span class="m_-981623039192016931Apple-converted-space"> </span><br></div></div></div></blockquote><div><br></div></div></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></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></div></div></blockquote><div><br></div><div>I agree it's subjective, but the resulting user experience isn't pleasant either - it is perceived as if oVirt is making the VM slow, for no good reason. I do think we could do a better job. For example, not to slow down server OS VMs (we do not expect users logged in, and to save their work, etc.), or only do it in Windows and when X is running, etc.</div><div>Y.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><span class=""><br><blockquote type="cite"><div><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"><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"><div><span><br><blockquote type="cite"><div><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> <br></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_-981623039192016931m_3987307417713686096HOEnZb"><div class="m_-981623039192016931m_3987307417713686096h5">> ><br>> > Regards,<br>> ><br>> > -----------------------------<br>> > Guy Chen, RHEV-M<br>> > Performance<br>> > O:<span class="m_-981623039192016931Apple-converted-space"> </span><a href="tel:+972%209-769-2152" value="+97297692152" target="_blank">+972.9.7692152</a> <span class="m_-981623039192016931Apple-converted-space"> </span>M:<span class="m_-981623039192016931Apple-converted-space"> </span><a href="tel:+972%2052-854-5202" value="+972528545202" target="_blank">+972.52.8545202</a><br>> ><span class="m_-981623039192016931m_3987307417713686096Apple-converted-space"> </span><a href="mailto:guchen@redhat.com" target="_blank">guchen@redhat.com</a><br>> ><br>><br>></div></div></blockquote></div></div></blockquote></span></div></div></blockquote></div></div></blockquote></span></div><br></div><br>______________________________<wbr>_________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/devel</a><br></blockquote></div><br></div></div>