[Users] shutdown VM and 1 minute wait time

Itamar Heim iheim at redhat.com
Sat Apr 20 15:11:14 UTC 2013


On 04/20/2013 05:35 PM, Gianluca Cecchi wrote:
> On Sat, Apr 20, 2013 at 4:29 PM, Itamar Heim wrote:
>> On 04/20/2013 05:15 PM, Thomas Scofield wrote:
>>>
>>> I ran into this recently but I haven't had a chance to test the solution
>>> that I came up with.
>>>
>>> psql engine postgres -c "update vdc_options set option_value = '0' where
>>> option_name = 'VmGracefulShutdownTimeout';"
>>
>>
>> true, but btw, default is 30 seconds, not 1 minute.
>
> yes, I didn't measure... I supposed it ;-)
>
>
>>
>>
>>>
>>> The bigger problem I had is if you do a forced shutdown (click twice on
>>> the stop icon) with the rhev-agent installed the /etc/nologin file gets
>>> set due to the delayed shutdown. Nobody can login when you bring the
>>> system back up until root goes in and removes the file.
>>
>>
>> you can right click and choose stop directly, without asking for shutdown
>> first.
>
>
> Are you referring as the initial step or as the second one?
> In case of firts step one chooses stop, what does it happen at VM
> level? Is it a direct power off?

choosing 'power off' tell qemu to quit. for guest it is like plugging 
out the power

>
> Gianluca
>




More information about the Users mailing list