Re: [qubes-users] QVM Manager restart fails periodically

2016-10-04 Thread Jeremy Rand
raahe...@gmail.com:
> On Tuesday, October 4, 2016 at 12:13:38 PM UTC-4, cubit wrote:
>> 4. Oct 2016 16:04 by jerem...@airmail.cc:
>> I can confirm that I encountered this today.  It was with a VM that had
>> been running for several days.  I've encountered the same error (or one
>> similar to it) in the past when trying to shut down a VM that takes a
>> long time -- Qubes Manager asks me if I want to kill it, and if I say
>> yes, sometimes there's some apparent race condition and the error comes
>> up (I guess because the VM finished shutting down right before Qubes
>> Manager tried to kill it).
>>
>>
>>
>>
>> For mich I do not see any request to kill the AppVM and the uptime of the VM 
>> is very low. for example 50 minutes when I was testing the function to try 
>> and get it to error. 
> 
> happened to me a couple times,  when I tried to restart sys-usb and shut down 
> sys-net at the same time.  Sys-usb would fail to start ask me to kill it,  
> saying there is a possible bug in qubes manager.
> 
>  Now I just wait for sys-net to fully shutdown, wait a sec and then restart 
> sys-usb and haven't had the issue.

Yes -- like a lot of race conditions, it happens more often when the
system is under heavy load.  I see this behavior more often when
starting/stopping multiple VM's at once, or when the system is otherwise
under heavy CPU or I/O load.

Cheers,
-Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/db9eb038-5d34-e901-5ebc-f4039a067824%40airmail.cc.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature


Re: [qubes-users] QVM Manager restart fails periodically

2016-10-04 Thread cubit
4. Oct 2016 16:04 by jeremyr...@airmail.cc:

> I can confirm that I encountered this today.  It was with a VM that had
> been running for several days.  I've encountered the same error (or one
> similar to it) in the past when trying to shut down a VM that takes a
> long time -- Qubes Manager asks me if I want to kill it, and if I say
> yes, sometimes there's some apparent race condition and the error comes
> up (I guess because the VM finished shutting down right before Qubes
> Manager tried to kill it).







For mich I do not see any request to kill the AppVM and the uptime of the VM is 
very low. for example 50 minutes when I was testing the function to try and get 
it to error.  


>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/KTFT8hx--3-0%40tutanota.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] QVM Manager restart fails periodically

2016-10-04 Thread Jeremy Rand
cubit:
> 4. Oct 2016 12:31 by a...@qubes-os.org:
> 
>> Thanks for the report. Tracking:
>>
>> https://github.com/QubesOS/qubes-issues/issues/2362
>>
> 
> 
> 
> 
> Some unscientific testing.
> 
> 
> 
> 
> Trying a restart after 15 minutes of not doing a restart and the function 
> works as expected
> 
> 
> 
> 
> Trying a restart after 50 minutes of not doing a restart and the function 
> fails the first time with the error as mentioned previously.

I can confirm that I encountered this today.  It was with a VM that had
been running for several days.  I've encountered the same error (or one
similar to it) in the past when trying to shut down a VM that takes a
long time -- Qubes Manager asks me if I want to kill it, and if I say
yes, sometimes there's some apparent race condition and the error comes
up (I guess because the VM finished shutting down right before Qubes
Manager tried to kill it).

Cheers,
-Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/c5220077-a2ec-382a-d6b5-06d937b93bf2%40airmail.cc.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature


Re: [qubes-users] QVM Manager restart fails periodically

2016-10-04 Thread cubit
4. Oct 2016 12:31 by a...@qubes-os.org:

> Thanks for the report. Tracking:
>
> https://github.com/QubesOS/qubes-issues/issues/2362
>




Some unscientific testing.




Trying a restart after 15 minutes of not doing a restart and the function works 
as expected




Trying a restart after 50 minutes of not doing a restart and the function fails 
the first time with the error as mentioned previously.









-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/KTEx6Ck--3-0%40tutanota.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] QVM Manager restart fails periodically

2016-10-04 Thread cubit
Hello

I am testing the new "restart" feature in the Qubes VM Manager and noticing 
that it is a bit buggy.   There is one piece of the puzzle however that I can 
not figure out allowing me to replicate it consistently or narrow down why it 
fail some times

The first time I  select a VM and press "restart"  after an indeterminate time 
frame the restart will fail with the error below.   If I try and restart any 
number of other vm immediately after they will all restart ok.

error: 

  ---
  line: assert not vm.is_running() 
  func: start_vm
  line no.: 1158
  file: /usr/lib64/python2.7/site-packages/qubesmanager/main.py
  
  line: self.caller.start_vm(vm)
  func: check_if_vm_has_shutdown
  line no.: 288
  file: /usr/lib64/python2.7/site-packages/qubesmanager/main.py

cubit




-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/KTEUG0N--3-0%40tutanota.com.
For more options, visit https://groups.google.com/d/optout.