<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi all.<br>
<br>
I am cross posting this to both ONE and Haizea mailing lists, because
this looks like an issue caught in between. We are having problems with
stopping and starting already deployed VMs when Haizea is the scheduler.<br>
<br>
Our setup is:<br>
<br>
ONE<br>
-----<br>
Ubuntu Linux 9.0.4<br>
OpenNebula 1.4 beta2 (planning to upgrade to 1.4 RC1)<br>
Haizea 0.9.2<br>
Python 2.6<br>
<br>
HYPERVISORS (2 hosts)<br>
------------------<br>
OpenSUSE 10.3<br>
VMWare Server 2.0.2<br>
<br>
We have managed to install OpenNebula and it is working with this setup
to our satisfaction. One minor discomfort that we see is when we
manually shutdown a VM, wither via VMWare or the machine itself is
shutdown - ONE will display it in state "unknown" and then we cannot
manipulate it from our web GUI via XML-RPC.<br>
<br>
We needed to add Haizea to the mix, since we wanted VM deployment
scheduling, although we did not need lease times (we run as
"unlimited", at the moment). We are using templates which have a
HAIZEA=[...] section for this. As described in the docs. The preemption
was set to "no".<br>
<br>
We are facing two problems, right now.<br>
<br>
PROBLEM 1<br>
--------------<br>
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.<br>
<br>
PROBLEM 2<br>
--------------<br>
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.<br>
<br>
For problem #1 one may argue that we pulled the rug under Haizea's
feet, but I don't see it that way. Haizea, IMO, should work with
OpenNebula and be aware of its state. It should query or be notified
(when the event mechanism is implemented) of such a change. It should
be aware that the lease is not being used at that moment. It may seam
from one perspective that this is wrong, that Haizea should be the one
scheduling the runs of the VMs. 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?<br>
<br>
For problem #2 I cannot find a good excuse. It seams to me that the
starting a stopped machine is waiting for a "green light" from the
scheduler, in this case Haizea. Haizea is not seeing a new lease
request, since this is not a new request. Consequently, Haizea is not
signaling OpenNebula to launch the machine and it stays in state
"pending" forever. Again this really seams to be the problem of "I
would like to run and stop my VM, any number of times, inside the same
lease period".<br>
<br>
Does what we are trying to do make sense?<br>
<br>
I don't think we can map leases to our VM runs in 1-1 fashion, since we
would like the machine to start from where it stopped in the previous
run, not from the starting template image.<br>
<br>
Nix.<br>
<div class="moz-signature">-- <br>
<title>Levi9 Signature</title>
<meta http-equiv="Content-Type" content="text/html; ">
<style type="text/css">
                .signs1{ font-size: 11pt; font-family: Wingdings }
                .signs2{ font-size: 11pt; font-family: Webdings }
        </style>
<div
style="font-family: Tahoma,sans-serif; font-size: 8pt; color: black;">
<span style="font-size: 10pt;"> Met vriendelijke groet / Kind regards,<br>
Nikola Milutinovic<br>
Sr Java Developer<br>
Levi9 Global Sourcing<br>
</span>
<hr> <font face="Wingdings" size="3">.</font> <span> Jan van
Goyenkade 8, 1075 HP Amsterdam, The Netherlands</span> <br>
<font face="Wingdings" size="3">(</font> <span> +31 (0) 20 7547900
ext 2056</span> <br>
<font face="Wingdings" size="3">(</font> <span> +381 (0) 21 4895800
ext 2056</span> <br>
<font face="Webdings" size="3">È</font> <span> +381 (0) 64 2202824</span>
<br>
<font face="Wingdings" size="3">*</font> <span> <a
href="mailto:n.milutinovic@Levi9.com">n.milutinovic@Levi9.com</a></span>
<br>
<font face="Webdings" size="3">^</font> <span> Skype:
nikola.milutinovic</span> <br>
<font face="Webdings" size="3">ü</font> <span> <a target="_blank"
title="http://www.levi9.com/" href="http://www.levi9.com/">www.levi9.com</a></span>
<br>
<span> <br>
Chamber of commerce Levi9 Global Sourcing BV: 34221951<br>
Chamber of commerce Levi9 Global Sourcing Benelux BV: 34224746<br>
</span>
<hr> <span> 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. <br>
<br>
The services of Levi9 are exclusively subject to its general terms and
conditions. These general terms and conditions can be found on <a
target="_blank" title="http://www.levi9.com/"
href="http://www.levi9.com/">www.levi9.com</a> and a copy will be
promptly submitted to you on your request and free of charge.<br>
</span> </div>
</div>
</body>
</html>