[ovirt-devel] ovirt-guest-agent-common question
Yaniv Kaul
ykaul at redhat.com
Tue Jan 17 18:27:06 UTC 2017
On Tue, Jan 17, 2017 at 11:05 AM, Vinzenz Feenstra <vfeenstr at redhat.com>
wrote:
>
> On Jan 17, 2017, at 9:43 AM, Roy Golan <rgolan at redhat.com> wrote:
>
>
>
> On 16 January 2017 at 12:35, Vinzenz Feenstra <vfeenstr at redhat.com> wrote:
>
>>
>> On Jan 16, 2017, at 11:22 AM, Roy Golan <rgolan at redhat.com> wrote:
>>
>>
>>
>> On 16 January 2017 at 11:39, Guy Chen <guchen at redhat.com> wrote:
>>
>>> O.k, Thanks !
>>>
>>> Regards,
>>>
>>> -----------------------------
>>> Guy Chen, RHEV-M
>>> Performance
>>> O: +972.9.7692152 M: +972.52.8545202
>>> guchen at redhat.com
>>>
>>> ----- Original Message -----
>>> > From: "Vinzenz Feenstra" <vfeenstr at redhat.com>
>>> > To: "Guy Chen" <guchen at redhat.com>
>>> > Cc: devel at ovirt.org, "Eyal Berman" <eberman at redhat.com>, "Unname" <
>>> rgolan at 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 at 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’s 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.
>>> >
>>>
>>
>> @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?
>>
>>
>> Well, the definition of ‘Someone is logged in’ is quite difficult to
>> answer on linux machine.
>>
>
> Correct but if the system is doing nothing why would adding guest agent is
> adding > 1 min to the shutdown?
>
>
> 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.
> 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.
>
> 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.
>
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.
Y.
>
>>
>>
>>> > >
>>> > > Regards,
>>> > >
>>> > > -----------------------------
>>> > > Guy Chen, RHEV-M
>>> > > Performance
>>> > > O: +972.9.7692152 <+972%209-769-2152> M: +972.52.8545202
>>> <+972%2052-854-5202>
>>> > > guchen at redhat.com
>>> > >
>>> >
>>> >
>>>
>>
>
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170117/58e8731b/attachment.html>
More information about the Devel
mailing list