--Apple-Mail=_1B229408-49CD-488C-9D33-8A0022BAE7A2
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
On Jan 17, 2017, at 7:27 PM, Yaniv Kaul <ykaul(a)redhat.com>
wrote:
=20
=20
=20
On Tue, Jan 17, 2017 at 11:05 AM, Vinzenz Feenstra =
<vfeenstr(a)redhat.com
<mailto:vfeenstr@redhat.com>> wrote:
=20
> On Jan 17, 2017, at 9:43 AM, Roy Golan <rgolan(a)redhat.com =
<mailto:rgolan@redhat.com>> wrote:
>=20
>=20
>=20
> On 16 January 2017 at 12:35, Vinzenz Feenstra <vfeenstr(a)redhat.com =
<mailto:vfeenstr@redhat.com>> wrote:
>=20
>> On Jan 16, 2017, at 11:22 AM, Roy Golan <rgolan(a)redhat.com =
<mailto:rgolan@redhat.com>> wrote:
>>=20
>>=20
>>=20
>> On 16 January 2017 at 11:39, Guy Chen <guchen(a)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(a)redhat.com <mailto:guchen@redhat.com>
>>=20
>> ----- Original Message -----
>> > From: "Vinzenz Feenstra" <vfeenstr(a)redhat.com =
<mailto:vfeenstr@redhat.com>>
>> > To: "Guy Chen" <guchen(a)redhat.com
<mailto:guchen@redhat.com>>
>> > Cc: devel(a)ovirt.org <mailto:devel@ovirt.org>, "Eyal Berman"
=
<eberman(a)redhat.com <mailto:eberman@redhat.com>>, "Unname"
=
<rgolan(a)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(a)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
=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.
=20
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
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.
Sure, that=E2=80=99s not a big deal the engine easily can set the value =
to 0 if the type is a server. If we really have users getting annoyed by =
this. I have never heard of it however. So this seems not to be a very =
big problem for most users, rather a developer or tester issue because =
they need to work on that faster.
Y.
=20
=20
>=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(a)redhat.com <mailto:guchen@redhat.com>
>> > >
>> >
>> >
=20
=20
_______________________________________________
Devel mailing list
Devel(a)ovirt.org <mailto:Devel@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/devel =
<
http://lists.ovirt.org/mailman/listinfo/devel>
--Apple-Mail=_1B229408-49CD-488C-9D33-8A0022BAE7A2
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 7:27 PM, Yaniv Kaul <<a =
href=3D"mailto:ykaul@redhat.com"
class=3D"">ykaul(a)redhat.com</a>&gt; =
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 =
Tue, Jan 17, 2017 at 11:05 AM, 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(a)redhat.com</a>&gt;</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 17, 2017, at 9:43 AM, Roy
Golan <<a =
href=3D"mailto:rgolan@redhat.com" target=3D"_blank" =
class=3D"">rgolan(a)redhat.com</a>&gt; wrote:</div><br =
class=3D"m_-981623039192016931Apple-interchange-newline"><div =
class=3D""><br =
class=3D"m_-981623039192016931Apple-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 12:35, Vinzenz =
Feenstra<span =
class=3D"m_-981623039192016931Apple-converted-space"> </span><span
=
dir=3D"ltr" class=3D""><<a
href=3D"mailto:vfeenstr@redhat.com" =
target=3D"_blank"
class=3D"">vfeenstr(a)redhat.com</a>&gt;</span><span =
class=3D"m_-981623039192016931Apple-converted-space"><wbr =
class=3D""> </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"m_-981623039192016931h5"><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(a)redhat.com</a>&gt; wrote:</div><br =
class=3D"m_-981623039192016931m_3987307417713686096Apple-interchange-newli=
ne"><div class=3D""><br =
class=3D"m_-981623039192016931m_3987307417713686096Apple-interchange-newli=
ne"><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_-981623039192016931m_3987307417713686096Apple-converted-space">=
</span><span dir=3D"ltr"
class=3D""><<a =
href=3D"mailto:guchen@redhat.com" target=3D"_blank" =
class=3D"">guchen(a)redhat.com</a>&gt;</span><span =
class=3D"m_-981623039192016931m_3987307417713686096Apple-converted-space">=
</span>wrote<wbr 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_-981623039192016931m_3987307417713686096im =
m_-981623039192016931m_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_-981623039192016931m_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_-981623039192016931m_3987307417713686096Apple-converted-space">=
</span>M:<span =
class=3D"m_-981623039192016931m_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(a)redhat.com</a><br class=3D""><br
class=3D""></span><div =
class=3D"m_-981623039192016931m_3987307417713686096HOEnZb"><div =
class=3D"m_-981623039192016931m_3987307417713686096h5">----- Original =
Message -----<br class=3D"">> From: "Vinzenz Feenstra"
<<a =
href=3D"mailto:vfeenstr@redhat.com" target=3D"_blank" =
class=3D"">vfeenstr(a)redhat.com</a>&gt;<br
class=3D"">> To: "Guy Chen" =
<<a href=3D"mailto:guchen@redhat.com" target=3D"_blank" =
class=3D"">guchen(a)redhat.com</a>&gt;<br
class=3D"">> Cc:<span =
class=3D"m_-981623039192016931m_3987307417713686096Apple-converted-space">=
</span><a href=3D"mailto:devel@ovirt.org"
target=3D"_blank" =
class=3D"">devel(a)ovirt.org</a>, "Eyal Berman" <<a
=
href=3D"mailto:eberman@redhat.com" target=3D"_blank" =
class=3D"">eberman(a)redhat.com</a>&gt;, "Unname"
<<a =
href=3D"mailto:rgolan@redhat.com" target=3D"_blank" =
class=3D"">rgolan(a)redhat.com</a>&gt;<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(a)redhat.com</a>&gt; 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"m_-981623039192016931Apple-converted-space"> </span><br
=
class=3D""></div></div></div></blockquote><div
class=3D""><br =
class=3D""></div></div></div><div
class=3D"">The agent adds that, what =
it gets told to, it=E2=80=99s not hardcoded if that is your point. =E2=80=9C=
If the system is doing nothing=E2=80=9D is again very subjective and not =
easy to answer.</div><div class=3D"">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 =
class=3D""><br class=3D""></div><div
class=3D"">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></div></div></blockquote><div =
class=3D""><br class=3D""></div><div
class=3D"">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></div></blockquote><div><br
class=3D""></div><div>Sure, =
that=E2=80=99s not a big deal the engine easily can set the value to 0 =
if the type is a server. If we really have users getting annoyed by =
this. I have never heard of it however. So this seems not to be a very =
big problem for most users, rather a developer or tester issue because =
they need to work on that faster.</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;"><div
class=3D"">Y.</div><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 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;"><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_-981623039192016931m_3987307417713686096HOEnZb"><div =
class=3D"m_-981623039192016931m_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"m_-981623039192016931Apple-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"m_-981623039192016931Apple-converted-space"> </span>M:<span
=
class=3D"m_-981623039192016931Apple-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_-981623039192016931m_3987307417713686096Apple-converted-space">=
</span><a href=3D"mailto:guchen@redhat.com"
target=3D"_blank" =
class=3D"">guchen(a)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></span></div><br
=
class=3D""></div><br
class=3D"">______________________________<wbr =
class=3D"">_________________<br class=3D"">Devel mailing
list<br =
class=3D""><a href=3D"mailto:Devel@ovirt.org" =
class=3D"">Devel(a)ovirt.org</a><br class=3D""><a =
href=3D"http://lists.ovirt.org/mailman/listinfo/devel"
rel=3D"noreferrer" =
target=3D"_blank"
class=3D"">http://lists.ovirt.org/<wbr =
class=3D"">mailman/listinfo/devel</a></blockquote></div></div></blockquote=
</div><br class=3D""></body></html>=
--Apple-Mail=_1B229408-49CD-488C-9D33-8A0022BAE7A2--