[Haizea] When installing haizea-1.0.tar.gz, there ia a wrong happened? why?
柯俊峰
kjf620520 at gmail.com
Sat Dec 19 00:47:27 CST 2009
Hi,
I found that:
If the VM aren't in state "runn" ,The VM is in state "prol" or "boot"
If Haizea go to shutdown the VM,
One reported a error as follows:
[2009-12-19 14:36:26.01] RPOOL Enactment of end VM failed: Error when
invoking 'vm.shutdown': ONE reported an error: Wrong state to perform action
[2009-12-19 14:36:26.01] VMSCHED Enactment error when shutting down VMs.
HAIZEA = [
start = "+00:00:30",
duration = "00:01:00",
preemptible = "no"
]
Just a minute,the VM isn't still in state "runn",Just in state"prol"
So if Haizea go to shutdown VM ,cause a error.
Regards,
Jerry
2009/12/19 柯俊峰 <kjf620520 at gmail.com>
> Hi,
> Your answer has guided me, very thank you!
> I just delete the .haizea/leases.dat of previous version haizea-0.92
> When I run again:
> haizea --fg -c /opt/haizea/share/haizea/etc/sample_opennebula.conf
> It haizea-1.0 works well, thank you !
>
> But there are a old problem happened again!
>
> My VM template file ketianj.cfg as follows:
> *
> CPU=0.5
> MEMORY=384
> NAME=haizeaT
>
> DISK=[source="/opt/nebula/images/centos5.2.img",target="xvda",readonly="no"]
> NIC=[NETWORK="hdnet"]
> OS=[bootloader="/usr/bin/pygrub"]
> HAIZEA = [
> start = "+00:00:30",
> duration = "00:01:00",
> preemptible = "no"
> ]
> *
> *
> *
> I create a VM "onevm submit ketianj.cfg"
>
> Then,the haizea fg output as follows:
> [2009-12-19 11:51:33.54] CLOCK Starting clock
> [2009-12-19 11:51:33.54] CLOCK Waking up to manage resources
> [2009-12-19 11:51:33.54] CLOCK Wake-up time recorded as 2009-12-19
> 11:51:34.00
> [2009-12-19 11:51:33.56] LSCHED Lease #1 has been requested.
> [2009-12-19 11:51:33.56] LSCHED Lease #1 has been marked as pending.
> [2009-12-19 11:51:33.85] LSCHED Scheduling AR lease #1, 1 nodes from
> 2009-12-19 11:51:46.00 to 2009-12-19 11:52:46.00.
> [2009-12-19 11:51:33.93] LSCHED AR lease #1 has been scheduled.
> [2009-12-19 11:51:34.12] CLOCK Going back to sleep. Waking up at
> 2009-12-19 11:51:46.00 to handle slot table event.
> [2009-12-19 11:51:45.99] CLOCK Waking up to manage resources
> [2009-12-19 11:51:45.99] CLOCK Wake-up time recorded as 2009-12-19
> 11:51:46.00
> [2009-12-19 11:51:46.32] VMSCHED Started VMs for lease 1 on nodes [1]
> [2009-12-19 11:51:46.44] CLOCK Going back to sleep. Waking up at
> 2009-12-19 11:52:46.00 to handle slot table event.
> [2009-12-19 11:52:46.00] CLOCK Waking up to manage resources
> [2009-12-19 11:52:46.00] CLOCK Wake-up time recorded as 2009-12-19
> 11:52:46.00
> [2009-12-19 11:52:46.00] VMSCHED Stopped VMs for lease 1 on nodes [1]
> *[2009-12-19 11:52:46.07] RPOOL Enactment of end VM failed: Error when
> invoking 'vm.shutdown': ONE reported an error: Wrong state to perform action
> *
> [2009-12-19 11:52:46.07] VMSCHED Enactment error when shutting down VMs.
> [2009-12-19 11:52:46.21] CLOCK Going back to sleep. Waking up at
> 2009-12-19 11:53:46.00 to see if something interesting has happened by then.
>
> *The output of "onevm list" between the start of the lease and the end of
> the*
> *lease:*
> [oneadmin at xenserver1 nebula]$ onevm list
> ID USER NAME STAT CPU MEM HOSTNAME TIME
> 11 oneadmin hTest0 runn 0 393012 xenserver4 01 18:55:21
> 12 oneadmin hTest1 runn 0 392976 xenserver4 01 18:55:20
> 13 oneadmin had0 runn 0 393072 xenserver2 01 18:51:00
> 14 oneadmin had1 runn 0 393084 xenserver2 01 18:50:57
> 18 oneadmin h1 runn 0 393044 xenserver4 01 00:35:05
> 32 oneadmin haizeaT runn 0 393064 xenserver2 00 18:57:58
> 39 oneadmin haizeaT prol 0 0 xenserver2 00 00:01:07
>
> Thank you for your consideration!
>
> Regards,
> Jerry
>
> 2009/12/19 柯俊峰 <kjf620520 at gmail.com>
>
> Hi,
>> Your answer has guided me, very thank you!
>> I just delete the .haizea/leases.dat of previous version haizea-0.92
>> When I run again:
>> haizea --fg -c /opt/haizea/share/haizea/etc/sample_opennebula.conf
>> It haizea-1.0 works well, thank you !
>>
>> But there are a old problem happened again!
>>
>> My VM template file ketianj.cfg as follows:
>> *
>> CPU=0.5
>> MEMORY=384
>> NAME=haizeaT
>>
>> DISK=[source="/opt/nebula/images/centos5.2.img",target="xvda",readonly="no"]
>> NIC=[NETWORK="hdnet"]
>> OS=[bootloader="/usr/bin/pygrub"]
>> HAIZEA = [
>> start = "+00:00:30",
>> duration = "00:01:00",
>> preemptible = "no"
>> ]
>> *
>> *
>> *
>> I create a VM "onevm submit ketianj.cfg"
>>
>> Then,the haizea fg output as follows:
>> [2009-12-19 11:51:33.54] CLOCK Starting clock
>> [2009-12-19 11:51:33.54] CLOCK Waking up to manage resources
>> [2009-12-19 11:51:33.54] CLOCK Wake-up time recorded as 2009-12-19
>> 11:51:34.00
>> [2009-12-19 11:51:33.56] LSCHED Lease #1 has been requested.
>> [2009-12-19 11:51:33.56] LSCHED Lease #1 has been marked as pending.
>> [2009-12-19 11:51:33.85] LSCHED Scheduling AR lease #1, 1 nodes from
>> 2009-12-19 11:51:46.00 to 2009-12-19 11:52:46.00.
>> [2009-12-19 11:51:33.93] LSCHED AR lease #1 has been scheduled.
>> [2009-12-19 11:51:34.12] CLOCK Going back to sleep. Waking up at
>> 2009-12-19 11:51:46.00 to handle slot table event.
>> [2009-12-19 11:51:45.99] CLOCK Waking up to manage resources
>> [2009-12-19 11:51:45.99] CLOCK Wake-up time recorded as 2009-12-19
>> 11:51:46.00
>> [2009-12-19 11:51:46.32] VMSCHED Started VMs for lease 1 on nodes [1]
>> [2009-12-19 11:51:46.44] CLOCK Going back to sleep. Waking up at
>> 2009-12-19 11:52:46.00 to handle slot table event.
>> [2009-12-19 11:52:46.00] CLOCK Waking up to manage resources
>> [2009-12-19 11:52:46.00] CLOCK Wake-up time recorded as 2009-12-19
>> 11:52:46.00
>> [2009-12-19 11:52:46.00] VMSCHED Stopped VMs for lease 1 on nodes [1]
>> *[2009-12-19 11:52:46.07] RPOOL Enactment of end VM failed: Error when
>> invoking 'vm.shutdown': ONE reported an error: Wrong state to perform action
>> *
>> [2009-12-19 11:52:46.07] VMSCHED Enactment error when shutting down VMs.
>> [2009-12-19 11:52:46.21] CLOCK Going back to sleep. Waking up at
>> 2009-12-19 11:53:46.00 to see if something interesting has happened by then.
>>
>> *The output of "onevm list" between the start of the lease and the end of
>> the*
>> *lease:*
>> [oneadmin at xenserver1 nebula]$ onevm list
>> ID USER NAME STAT CPU MEM HOSTNAME TIME
>> 11 oneadmin hTest0 runn 0 393012 xenserver4 01 18:55:21
>> 12 oneadmin hTest1 runn 0 392976 xenserver4 01 18:55:20
>> 13 oneadmin had0 runn 0 393072 xenserver2 01 18:51:00
>> 14 oneadmin had1 runn 0 393084 xenserver2 01 18:50:57
>> 18 oneadmin h1 runn 0 393044 xenserver4 01 00:35:05
>> 32 oneadmin haizeaT runn 0 393064 xenserver2 00 18:57:58
>> 39 oneadmin haizeaT prol 0 0 xenserver2 00 00:01:07
>>
>> The mail attachments are leases.dat and sample_opennebula.conf files!
>> Thank you for your consideration !
>> I admire you!
>>
>> Regards,
>> Jerry
>>
>>
>>
>>
>>
>> *
>>
>>
>>
>> *
>>
>>
>>
>> You are a genius, i admire you!
>>
>> 2009/12/18 Borja Sotomayor <borjasotomayor at gmail.com>
>>
>> Hi,
>>>
>>> 2009/12/18 柯俊峰 <kjf620520 at gmail.com>:
>>> > Thank you for your hard working!
>>> > When installing haizea-1.0.tar.gz, there ia a following wrong happened!
>>> why?
>>>
>>> At what step in the installation is this happening? Judging by the
>>> output you're sending, Haizea is correctly installed, but you're
>>> running into a problem related to loading the leases back from the
>>> persistence file. Could you send the configuration file and
>>> persistence file you used so I can try to replicate the error?
>>>
>>> Cheers!
>>> --Borja
>>> _______________________________________________
>>> Haizea mailing list
>>> Haizea at mailman.cs.uchicago.edu
>>> https://mailman.cs.uchicago.edu/mailman/listinfo/haizea
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.uchicago.edu/pipermail/haizea/attachments/20091219/1999cf2f/attachment-0001.htm
More information about the Haizea
mailing list