[one-users] [Haizea] Problems with VM lifecycle on OpenNebula+Haizea

Nikola Milutinovic n.milutinovic at levi9.com
Thu Nov 26 00:49:51 PST 2009


Borja Sotomayor wrote:
> Hi,
>
>   
>> PROBLEM 1
>> --------------
>> When we deploy a VM  with "onevm submit <path to the template>" and then
>> during its work shut it down or delete it, Haizea is not aware of this
>> change. The lease for that machine remains active and may prevent other VM
>> deployments.
>>     
>
> My reply to your previous message on the Haizea mailing list should
> address this problem. For those on the OpenNebula list, this is the
> message I'm referring to:
>
> https://mailman.cs.uchicago.edu/pipermail/haizea/2009-November/000084.html
>
>
>   
>> PROBLEM 2
>> --------------
>> When we deploy a machine as described above, and then do "stop" on it, via
>> XML-RPC (we have our own web GUI application), it gets saved. When we try to
>> resume that machine, it stays stuck in state "pending" and there is no
>> action that can revive it.
>>     
>
> How exactly are you trying to resume it? If you're using "onevm
> resume" and the machine still stays in a "pending" state, that sounds
> like an OpenNebula-only problem. For the OpenNebula developers to help
> out, I suggest you send this as a separate message and include the
> sequence of commands you used and the VM log (in
> $ONE_LOCATION/var/$VM_ID/vm.log)
>   

This is what I have in the log of the said machine (showing only the end 
of it):

Wed Nov 25 15:56:30 2009 [VMM][D]: Monitor Information:
        CPU   : 0
        Memory: 20
        Net_TX: -1
        Net_RX: -1
Wed Nov 25 15:56:47 2009 [LCM][I]: New VM state is SAVE_STOP
Wed Nov 25 15:57:39 2009 [LCM][I]: New VM state is EPILOG_STOP
Wed Nov 25 15:57:40 2009 [DiM][I]: New VM state is STOPPED
Wed Nov 25 16:00:15 2009 [DiM][I]: New VM state is PENDING.

This is what I am seeing on the "onevm list", the machine stays in the 
pending state, waiting for something to happen. I suspect that *that* 
something is a "go" from the scheduler. And since this is a VM from an 
already approved lease, Haizea has no reason to even pay attention to it.

>> But
>> take a look at Amazon, they will allow you to deploy a machine, run it at
>> certain times, turn it off, turn it on again and so forth. How does that fit
>> into Haizea's view of the world?
>>     
>
> In Haizea's view of the world, these would simply be separate leases,
> not a single lease that gets turned on and off. Reusing an existing
> image (instead of starting from a fresh one every time) should be
> possible, as long the OpenNebula template in subsequent submits refers
> to the saved copy of the image (although I've never tried this with
> OpenNebula+Haizea).

Well, this sounds promising. Not to mention interesting. :-)

> This is not to say that it wouldn't be more
> natural to have a model where a lease can be "restarted" in the
> future, without having to specify that a saved disk image must be used
> (instead, this would be implicit in the "restart" operation). However,
> doing this is not currently on our roadmap.
>   

Thanks for the info on that, too.

Nix.
-- 
Met vriendelijke groet / Kind regards,
Nikola Milutinovic
Sr Java Developer
Levi9 Global Sourcing
------------------------------------------------------------------------
.  Jan van Goyenkade 8, 1075 HP Amsterdam, The Netherlands
(    +31 (0) 20 7547900 ext 2056
(    +381 (0) 21 4895800 ext 2056
È    +381 (0) 64 2202824
*    n.milutinovic at Levi9.com <mailto:n.milutinovic at Levi9.com>
^    Skype: nikola.milutinovic
ü    www.levi9.com <http://www.levi9.com/>

Chamber of commerce Levi9 Global Sourcing BV: 34221951
Chamber of commerce Levi9 Global Sourcing Benelux BV: 34224746
------------------------------------------------------------------------
This e-mail may contain confidential or privileged information. If you 
are not (one of) the intended recipient(s), please notify the sender 
immediately by reply e-mail and delete this message and any attachments 
permanently without retaining a copy. Any review, disclosure, copying, 
distribution or taking any action in reliance on the contents of this 
e-mail by persons or entities other than the intended recipient(s) is 
strictly prohibited and may be unlawful.

The services of Levi9 are exclusively subject to its general terms and 
conditions. These general terms and conditions can be found on 
www.levi9.com <http://www.levi9.com/> and a copy will be promptly 
submitted to you on your request and free of charge.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20091126/1acdc197/attachment-0003.htm>


More information about the Users mailing list