
--Apple-Mail=_42BC539A-3B97-4E49-90D0-761AF12E136C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8
On Jan 17, 2017, at 9:43 AM, Roy Golan <rgolan@redhat.com> wrote: =20 =20 =20 On 16 January 2017 at 12:35, Vinzenz Feenstra <vfeenstr@redhat.com = <mailto:vfeenstr@redhat.com>> wrote: =20
On Jan 16, 2017, at 11:22 AM, Roy Golan <rgolan@redhat.com = <mailto:rgolan@redhat.com>> wrote: =20 =20 =20 On 16 January 2017 at 11:39, Guy Chen <guchen@redhat.com = <mailto:guchen@redhat.com>> wrote: O.k, Thanks ! =20 Regards, =20 ----------------------------- Guy Chen, RHEV-M Performance O: +972.9.7692152 <tel:%2B972.9.7692152> M: +972.52.8545202 = <tel:%2B972.52.8545202> guchen@redhat.com <mailto:guchen@redhat.com> =20 ----- Original Message -----
From: "Vinzenz Feenstra" <vfeenstr@redhat.com = <mailto:vfeenstr@redhat.com>> To: "Guy Chen" <guchen@redhat.com <mailto:guchen@redhat.com>> Cc: devel@ovirt.org <mailto:devel@ovirt.org>, "Eyal Berman" = <eberman@redhat.com <mailto:eberman@redhat.com>>, "Unname" = <rgolan@redhat.com <mailto:rgolan@redhat.com>> Sent: Monday, January 16, 2017 11:23:19 AM Subject: Re: ovirt-guest-agent-common question
On Jan 16, 2017, at 10:18 AM, Guy Chen <guchen@redhat.com = <mailto:guchen@redhat.com>> wrote:
Hi
After i am installing ovirt-guest-agent-common shutdown of a VM = takes about 90 seconds instead of 30 seconds without the agent. I am running on rhvm 4.1 build 4, host, engine and VM all are = rhel 7.3, agent version is ovirt-guest-agent-common-1.0.13-2.el7ev.noarch. Has anyone encounter this issue ?
This is pretty normal as there=E2=80=99s a timeout letting the = users logged in save their work etc. So the reboot is scheduled. This is not an issue, this is simply by design.
=20 @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? =20 Well, the definition of =E2=80=98Someone is logged in=E2=80=99 is = quite difficult to answer on linux machine. =20 Correct but if the system is doing nothing why would adding guest = agent is adding > 1 min to the shutdown? =20
The agent adds that, what it gets told to, it=E2=80=99s not hardcoded if = that is your point. =E2=80=9CIf the system is doing nothing=E2=80=9D is = again very subjective and not easy to answer. Anyway you=E2=80=99re welcome to change that delay if you insist. It=E2=80= =99s sent by the engine via the VM.shutdown verb on vdsm as the delay = parameter in seconds. Just I don=E2=80=99t 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=E2=80=99s a matter which is too subjective.
=20
=20
Regards,
----------------------------- Guy Chen, RHEV-M Performance O: +972.9.7692152 <tel:+972%209-769-2152> M: =
+972.52.8545202 <tel:+972%2052-854-5202>
guchen@redhat.com <mailto:guchen@redhat.com>
--Apple-Mail=_42BC539A-3B97-4E49-90D0-761AF12E136C Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" = class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div = class=3D"">On Jan 17, 2017, at 9:43 AM, Roy Golan <<a = href=3D"mailto:rgolan@redhat.com" class=3D"">rgolan@redhat.com</a>> = wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><br = class=3D"Apple-interchange-newline"><br style=3D"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=3D""><div class=3D"gmail_quote" style=3D"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=3D"Apple-converted-space"> </span><span dir=3D"ltr" = class=3D""><<a href=3D"mailto:vfeenstr@redhat.com" target=3D"_blank" = class=3D"">vfeenstr@redhat.com</a>></span><span = class=3D"Apple-converted-space"> </span>wrote:<br = class=3D""><blockquote class=3D"gmail_quote" style=3D"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=3D"word-wrap: break-word;" class=3D""><br class=3D""><div = class=3D""><div class=3D""><div class=3D"h5"><blockquote type=3D"cite" = class=3D""><div class=3D"">On Jan 16, 2017, at 11:22 AM, Roy Golan = <<a href=3D"mailto:rgolan@redhat.com" target=3D"_blank" = class=3D"">rgolan@redhat.com</a>> wrote:</div><br = class=3D"m_3987307417713686096Apple-interchange-newline"><div = class=3D""><br = class=3D"m_3987307417713686096Apple-interchange-newline"><br = style=3D"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=3D""><div class=3D"gmail_quote" = style=3D"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=3D"m_3987307417713686096Apple-converted-space"> </span><span = dir=3D"ltr" class=3D""><<a href=3D"mailto:guchen@redhat.com" = target=3D"_blank" class=3D"">guchen@redhat.com</a>></span><span = class=3D"m_3987307417713686096Apple-converted-space"> </span>wrote<wb= r class=3D"">:<br class=3D""><blockquote class=3D"gmail_quote" = style=3D"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=3D""><span = class=3D"m_3987307417713686096im m_3987307417713686096HOEnZb"><br = class=3D"">Regards,<br class=3D""><br = class=3D"">-----------------------------<br class=3D"">Guy Chen, = RHEV-M<br class=3D"">Performance<br class=3D"">O:<span = class=3D"m_3987307417713686096Apple-converted-space"> </span><a = href=3D"tel:%2B972.9.7692152" value=3D"+97297692152" target=3D"_blank" = class=3D"">+972.9.7692152</a> <span = class=3D"m_3987307417713686096Apple-converted-space"> </span>M:<span = class=3D"m_3987307417713686096Apple-converted-space"> </span><a = href=3D"tel:%2B972.52.8545202" value=3D"+972528545202" target=3D"_blank" = class=3D"">+972.52.8545202</a><br class=3D""><a = href=3D"mailto:guchen@redhat.com" target=3D"_blank" = class=3D"">guchen@redhat.com</a><br class=3D""><br class=3D""></span><div = class=3D"m_3987307417713686096HOEnZb"><div = class=3D"m_3987307417713686096h5">----- Original Message -----<br = class=3D"">> From: "Vinzenz Feenstra" <<a = href=3D"mailto:vfeenstr@redhat.com" target=3D"_blank" = class=3D"">vfeenstr@redhat.com</a>><br class=3D"">> To: "Guy Chen" = <<a href=3D"mailto:guchen@redhat.com" target=3D"_blank" = class=3D"">guchen@redhat.com</a>><br class=3D"">> Cc:<span = class=3D"m_3987307417713686096Apple-converted-space"> </span><a = href=3D"mailto:devel@ovirt.org" target=3D"_blank" = class=3D"">devel@ovirt.org</a>, "Eyal Berman" <<a = href=3D"mailto:eberman@redhat.com" target=3D"_blank" = class=3D"">eberman@redhat.com</a>>, "Unname" <<a = href=3D"mailto:rgolan@redhat.com" target=3D"_blank" = class=3D"">rgolan@redhat.com</a>><br class=3D"">> Sent: Monday, = January 16, 2017 11:23:19 AM<br class=3D"">> Subject: Re: = ovirt-guest-agent-common question<br class=3D"">><br class=3D"">><br= class=3D"">> > On Jan 16, 2017, at 10:18 AM, Guy Chen <<a = href=3D"mailto:guchen@redhat.com" target=3D"_blank" = class=3D"">guchen@redhat.com</a>> wrote:<br class=3D"">> ><br = class=3D"">> ><br class=3D"">> > Hi<br class=3D"">> = ><br class=3D"">> > After i am installing = ovirt-guest-agent-common shutdown of a VM takes about<br class=3D"">> = > 90 seconds instead of 30 seconds without the agent.<br = class=3D"">> > I am running on rhvm 4.1 build 4, host, engine and = VM all are rhel 7.3,<br class=3D"">> > agent version is = ovirt-guest-agent-common-1.0.1<wbr class=3D"">3-2.el7ev.noarch.<br = class=3D"">> > Has anyone encounter this issue ?<br = class=3D"">><br class=3D"">> This is pretty normal as there=E2=80=99= s a timeout letting the users logged in save<br class=3D"">> their = work etc. So the reboot is scheduled.<br class=3D"">> This is not an = issue, this is simply by design.<br class=3D"">><br = class=3D""></div></div></blockquote><div class=3D""><br = class=3D""></div><div class=3D"">@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=3D""></div></div></div></blockquote><div = class=3D""><br class=3D""></div></div></div><div class=3D"">Well, the = definition of =E2=80=98Someone is logged in=E2=80=99 is quite difficult = to answer on linux machine.</div></div></div></blockquote><div = class=3D""><br class=3D""></div><div class=3D"">Correct but if the = system is doing nothing why would adding guest agent is adding > 1 = min to the shutdown? <span = class=3D"Apple-converted-space"> </span><br = class=3D""></div></div></div></blockquote><div><br = class=3D""></div><div>The agent adds that, what it gets told to, it=E2=80=99= s not hardcoded if that is your point. =E2=80=9CIf the system is doing = nothing=E2=80=9D is again very subjective and not easy to = answer.</div><div>Anyway you=E2=80=99re welcome to change that delay if = you insist. It=E2=80=99s sent by the engine via the VM.shutdown verb on = vdsm as the delay parameter in seconds.</div><div><br = class=3D""></div><div>Just I don=E2=80=99t 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=E2=80=99s a matter which is too = subjective.</div><br class=3D""><blockquote type=3D"cite" class=3D""><div = class=3D""><div class=3D"gmail_quote" style=3D"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=3D"gmail_quote" style=3D"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=3D"word-wrap: = break-word;" class=3D""><div class=3D""><span class=3D""><br = class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div = class=3D"gmail_quote" style=3D"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=3D""> <br class=3D""></div><blockquote class=3D"gmail_quote" = style=3D"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=3D"m_3987307417713686096HOEnZb"><div = class=3D"m_3987307417713686096h5">> ><br class=3D"">> > = Regards,<br class=3D"">> ><br class=3D"">> > = -----------------------------<br class=3D"">> > Guy Chen, = RHEV-M<br class=3D"">> > Performance<br class=3D"">> > = O:<span class=3D"Apple-converted-space"> </span><a = href=3D"tel:+972%209-769-2152" value=3D"+97297692152" target=3D"_blank" = class=3D"">+972.9.7692152</a> <span = class=3D"Apple-converted-space"> </span>M:<span = class=3D"Apple-converted-space"> </span><a = href=3D"tel:+972%2052-854-5202" value=3D"+972528545202" target=3D"_blank" = class=3D"">+972.52.8545202</a><br class=3D"">> ><span = class=3D"m_3987307417713686096Apple-converted-space"> </span><a = href=3D"mailto:guchen@redhat.com" target=3D"_blank" = class=3D"">guchen@redhat.com</a><br class=3D"">> ><br = class=3D"">><br = class=3D"">></div></div></blockquote></div></div></blockquote></span></= div></div></blockquote></div></div></blockquote></div><br = class=3D""></body></html>= --Apple-Mail=_42BC539A-3B97-4E49-90D0-761AF12E136C--