[ovirt-devel] ovirt-guest-agent-common question

Vinzenz Feenstra vfeenstr at redhat.com
Tue Jan 17 09:05:54 UTC 2017


> 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 <mailto:vfeenstr at redhat.com>> wrote:
> 
>> On Jan 16, 2017, at 11:22 AM, Roy Golan <rgolan at redhat.com <mailto:rgolan at redhat.com>> wrote:
>> 
>> 
>> 
>> On 16 January 2017 at 11:39, Guy Chen <guchen at redhat.com <mailto:guchen at redhat.com>> wrote:
>> O.k, Thanks !
>> 
>> Regards,
>> 
>> -----------------------------
>> Guy Chen, RHEV-M
>> Performance
>> O: +972.9.7692152 <tel:%2B972.9.7692152>        M: +972.52.8545202 <tel:%2B972.52.8545202>
>> guchen at redhat.com <mailto:guchen at redhat.com>
>> 
>> ----- Original Message -----
>> > From: "Vinzenz Feenstra" <vfeenstr at redhat.com <mailto:vfeenstr at redhat.com>>
>> > To: "Guy Chen" <guchen at redhat.com <mailto:guchen at redhat.com>>
>> > Cc: devel at ovirt.org <mailto:devel at ovirt.org>, "Eyal Berman" <eberman at redhat.com <mailto:eberman at redhat.com>>, "Unname" <rgolan at redhat.com <mailto: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 <mailto: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.

> 
>>  
>> > >
>> > > 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 at redhat.com <mailto:guchen at redhat.com>
>> > >
>> >
>> >

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170117/a143ac03/attachment.html>


More information about the Devel mailing list