[Haizea] Haizea crashing on canceling the lease

Nikola Milutinovic n.milutinovic at levi9.com
Tue Nov 24 07:46:48 CST 2009


Hi all.

This is my setup:

MASTER
----------
Ubuntu Linux 9.0.4
OpenNebula 1.4beta2 (planning to upgrade to RC)
Haizea 0.9.2
+ Python 2.6
+ mxDateTime 3.1.2

SLAVES
---------
Open SuSE Linux 10.x
VMWare ESXi 2.5

OpenNebula and VMWares are operating OK and I can deploye VMs from 
images. The only discrepancy in the installation is the mxDateTime 3.1.2 
(3.1.0 is required, but only 3.1.2 is available).

I can deploy VMs and schedule them via Haizea, too.

The problem occurs when I try to cancel a lease. The lease was created 
from this ONE template:

MEMORY=512
CPU=1

DISK=[
        source  = "/srv/cloud/images/WindowsXPProfessionalSP2",
        clone   = "yes",
        save    = "yes"
]

CONTEXT = [
        admin_user      = "Nikola",
        admin_pass      = "GuesMe",
        files           = "/srv/cloud/contexts/windows-xp-SP2/run.cmd 
/srv/cloud/contexts/windows-xp-SP2/setup_admin.cmd",
        target          = "hda"
]

HAIZEA = [
        start           = "+00:00:50",
        duration        = "unlimited",
        preemptible     = "no"
]

That VM is started fine, "onevm list" shows it, "haizea/list/leases" 
shows it with ID=2. Then I try to cancel it with "haizea-cancel-lease -l 
2". It looks like it passed, but after that haizea process is dead.

This is the Haizea log:

[2009-11-24 14:11:25.05] LSCHED  Cancelling lease 2...
[2009-11-24 14:11:25.05] LSCHED  Lease 2 is active. Stopping active 
reservation...
[2009-11-24 14:11:25.05] VMSCHED LEASE-2 The VM has ended prematurely.
[2009-11-24 14:11:25.05] VMSCHED Stopped VMs for lease 2 on nodes [1]
[2009-11-24 14:12:05.05] CLOCK   Waking up to manage resources
[2009-11-24 14:12:05.05] CLOCK   Wake-up time recorded as 2009-11-24 
14:12:05.00
[2009-11-24 14:12:05.07] CLOCK   Going back to sleep. Waking up at 
2009-11-24 14:11:25.05 to handle slot table event.
[2009-11-24 14:12:05.07] RM      An unexpected exception has happened.
[2009-11-24 14:12:05.07] RM        File 
"/usr/local/lib/python2.6/dist-packages/haizea/core/manager.py", line 
352, in start self.clock.run()
[2009-11-24 14:12:05.07] RM        File 
"/usr/local/lib/python2.6/dist-packages/haizea/core/manager.py", line 
977, in run sleep((nextwakeup - now()).seconds)
[2009-11-24 14:12:05.07] RM      Message: [Errno 22] Invalid argument
[2009-11-24 14:12:05.07] RM      Panicking...
[2009-11-24 14:12:05.09] RM      --- Haizea status summary ---
[2009-11-24 14:12:05.09] RM      Number of leases (not including 
completed): 0
[2009-11-24 14:12:05.09] RM      Completed leases: 3
[2009-11-24 14:12:05.09] RM      ---- End summary ----
[2009-11-24 14:12:05.09] RM      Next change point (in slot table): 
2009-11-24 14:11:25.05

Any help?

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://mailman.cs.uchicago.edu/pipermail/haizea/attachments/20091124/fcaa261a/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: n_milutinovic.vcf
Type: text/x-vcard
Size: 389 bytes
Desc: not available
Url : http://mailman.cs.uchicago.edu/pipermail/haizea/attachments/20091124/fcaa261a/attachment.vcf 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3274 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mailman.cs.uchicago.edu/pipermail/haizea/attachments/20091124/fcaa261a/attachment.bin 


More information about the Haizea mailing list