[one-users] Failure warnings with Xen + shutdown

Niraj Tolia ntolia at gmail.com
Tue Feb 17 10:01:08 PST 2009


On Mon, Feb 16, 2009 at 5:54 AM, Javier Fontan <jfontan at fdi.ucm.es> wrote:
>
> Hello Niraj,
>
> On Feb 14, 2009, at 1:48 AM, Niraj Tolia wrote:
>
>> When I run "onevm shutdown", I get the following error in oned.log
>>
>> Fri Feb 13 15:40:39 2009 [VMM][D]: Message received: SHUTDOWN FAILURE
>> 11 Domain 'one-11' does not exist.
>>
>> I initially thought I was getting this error because I was using
>> xen-unstable but when I started looking through the code, I saw this
>> snippet in one_vmm_xen.rb
>>
>> std_action("SHUTDOWN", "shutdown #{args[3]} \\&\\& sleep 10 \\&\\&
>> sudo #{XM_PATH} destroy #{args[3]} \\&\\& sleep 4", args)
>>
>> If 'xm shutdown' suceeds, xm destroy should return an error as the
>> domain doesn't exist anymore. This can probably be easily fixed by
>> replacing the command with something like 'xm shutdown -w <arg> || xm
>> destroy <arg>' .
>
> You are so right, sorry about it. The reason for this
> shutdown-sleep-destroy-sleep is that in our installation (Xen 3.2) we hit a
> bug. When you have a SMP machine and you configure Dom-0 to use only one CPU
> machines are not deleted after shutdown so we let some time for the
> shutdown, destroy the machine, and after that we let some seconds for the
> hypervirsor to close the image and let use move or delete it.


Ah. This seems similar to the problem reported on
http://lists.xensource.com/archives/html/xen-devel/2009-02/msg00622.html
. It might make sense for you guys to also report the issue you ran
into.

I will keep an eye out and see if there if a patch comes out that
fixes this problem.

Cheers,
Niraj


>
> If you do not have the problem with shutdown doing "xm shutdown -w <arg>"
> should be enough. We are doing a major rewrite of the drivers for the next
> release (1.4) so it is easier to maintain and add configuration options so
> both configurations coexist.
>
> Let me know if that change worked for you.
>
> Bye
>
>
> --
> Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
> DSA Research Group: http://dsa-research.org
> Globus GridWay Metascheduler: http://www.GridWay.org
> OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org
>
>



-- 
Niraj Tolia, Researcher, HP Labs
http://www.hpl.hp.com/personal/Niraj_Tolia/



More information about the Users mailing list