[Haizea] image transfer not working in Haizea 1.0 + Opennebula 1.4
Łukasz Grabowski
grabbs07 at gmail.com
Mon Apr 11 13:31:18 CDT 2011
Hi,
I want to use Haizea 1.0 in integration with OpenNebula 1.4 to schedule
leases. My problem is that I can't schedule image transfer before the time
of the lease's start. Virtual machine in opennebula stays in pending state
till the moment of the scheduled time. I am enclosing haizea.log, template
of the VM and haizea configuration file.
What could I do to make it work? Could you help me with that?
Regards,
Łukasz
-------------------------------------------------------------------
opennebula_haizea.conf
-------------------------------------------------------------------
[general]
loglevel: INFO
mode: opennebula
lease-preparation: imagetransfer
[scheduling]
policy-preemption: ar-preempts-everything
backfilling: aggressive
suspension: all
suspend-rate: 5
resume-rate: 5
suspendresume-exclusion: global
migration: yes
[accounting]
datafile: /var/tmp/haizea/results.dat
probes: ar best-effort immediate cpu-utilization
[deploy-imagetransfer]
transfer-mechanism: unicast
[opennebula]
host: localhost
-------------------------------------------------------------------
VM template
-------------------------------------------------------------------
NAME = debian-context
CPU = 1
MEMORY = 512
# --- kernel & boot device ---
OS = [
kernel = "/boot/vmlinuz-2.6.32-5-xen-
amd64",
initrd = "/boot/initrd.img-2.6.32-5-xen-amd64",
root = "xvda2" ]
DISK = [
source = "/srv/cloud/images/debian-context/disk.img",
target = "xvda2",
readonly = "no" ]
DISK = [
type = swap,
size = 1024,
readonly = "no",
target = "xvda1" ]
NIC=[network="private"]
CONTEXT = [
hostname="$NAME",
ip_private="$NIC[IP, NETWORK=\"private\"]",
username=oneadmin,
target="xvdb",
files="/srv/cloud/vm_contextualization/id_rsa.pub
/srv/cloud/vm_context$
HAIZEA = [ start = "+00:08:00",
duration = "00:02:00",
preemptible = "no" ]
-------------------------------------------------------------------
Haizea.log
-------------------------------------------------------------------
[ ] ENACT.ONE.INFO <http://enact.one.info/> Fetching
nodes from OpenNebula
[ ] ENACT.ONE.INFO <http://enact.one.info/> Fetched 1
nodes from OpenNebula
[2011-04-11 19:02:44.88] RM Starting resource manager
[2011-04-11 19:02:44.89] RPCSERVER RPC server started on port 42493
[2011-04-11 19:02:44.90] RM Recovered lease 1
[2011-04-11 19:02:44.90] RM Recovered lease 2 (already done)
[2011-04-11 19:02:44.90] CLOCK Starting clock
[2011-04-11 19:02:44.90] CLOCK Waking up to manage resources
[2011-04-11 19:02:44.90] CLOCK Wake-up time recorded as 2011-04-11
19:02:45.00
[2011-04-11 19:02:44.92] CLOCK Going back to sleep. Waking up at
2011-04-11 19:03:45.00 to see if something interesting has happened by then.
[2011-04-11 19:03:45.05] CLOCK Waking up to manage resources
[2011-04-11 19:03:45.06] CLOCK Wake-up time recorded as 2011-04-11
19:03:45.00
[2011-04-11 19:03:45.09] LSCHED Lease #1 has been requested.
[2011-04-11 19:03:45.09] LSCHED Lease #1 has been marked as pending.
[2011-04-11 19:03:45.09] LSCHED Scheduling AR lease #1, 1 nodes from
2011-04-11 19:10:46.00 to 2011-04-11 19:12:46.00.
[2011-04-11 19:03:45.10] LSCHED AR lease #1 has been scheduled.
[2011-04-11 19:03:45.10] CLOCK Going back to sleep. Waking up at
2011-04-11 19:04:45.00 to see if something interesting has happened by then.
[2011-04-11 19:04:45.05] CLOCK Waking up to manage resources
[2011-04-11 19:04:45.06] CLOCK Wake-up time recorded as 2011-04-11
19:04:45.00
[2011-04-11 19:04:45.07] CLOCK Going back to sleep. Waking up at
2011-04-11 19:05:45.00 to see if something interesting has happened by then.
[2011-04-11 19:05:45.05] CLOCK Waking up to manage resources
[2011-04-11 19:05:45.06] CLOCK Wake-up time recorded as 2011-04-11
19:05:45.00
[2011-04-11 19:05:45.07] CLOCK Going back to sleep. Waking up at
2011-04-11 19:06:45.00 to see if something interesting has happened by then.
[2011-04-11 19:06:45.05] CLOCK Waking up to manage resources
[2011-04-11 19:06:45.06] CLOCK Wake-up time recorded as 2011-04-11
19:06:45.00
[2011-04-11 19:06:45.07] CLOCK Going back to sleep. Waking up at
2011-04-11 19:07:45.00 to see if something interesting has happened by then.
[2011-04-11 19:07:45.05] CLOCK Waking up to manage resources
[2011-04-11 19:07:45.06] CLOCK Wake-up time recorded as 2011-04-11
19:07:45.00
[2011-04-11 19:07:45.07] CLOCK Going back to sleep. Waking up at
2011-04-11 19:08:45.00 to see if something interesting has happened by then.
[2011-04-11 19:08:45.05] CLOCK Waking up to manage resources
[2011-04-11 19:08:45.06] CLOCK Wake-up time recorded as 2011-04-11
19:08:45.00
[2011-04-11 19:08:45.07] CLOCK Going back to sleep. Waking up at
2011-04-11 19:09:45.00 to see if something interesting has happened by then.
[2011-04-11 19:09:45.05] CLOCK Waking up to manage resources
[2011-04-11 19:09:45.06] CLOCK Wake-up time recorded as 2011-04-11
19:09:45.00
[2011-04-11 19:09:45.07] CLOCK Going back to sleep. Waking up at
2011-04-11 19:10:45.00 to see if something interesting has happened by then.
[2011-04-11 19:10:45.05] CLOCK Waking up to manage resources
[2011-04-11 19:10:45.06] CLOCK Wake-up time recorded as 2011-04-11
19:10:45.00
[2011-04-11 19:10:45.07] CLOCK Going back to sleep. Waking up at
2011-04-11 19:10:46.00 to handle slot table event.
[2011-04-11 19:10:46.00] CLOCK Waking up to manage resources
[2011-04-11 19:10:46.00] CLOCK Wake-up time recorded as 2011-04-11
19:10:46.00
[2011-04-11 19:10:46.00] VMSCHED Started VMs for lease 1 on nodes [1]
[2011-04-11 19:10:46.02] CLOCK Going back to sleep. Waking up at
2011-04-11 19:11:46.00 to see if something interesting has happened by then.
[2011-04-11 19:11:46.05] CLOCK Waking up to manage resources
[2011-04-11 19:11:46.05] CLOCK Wake-up time recorded as 2011-04-11
19:11:46.00
[2011-04-11 19:11:49.97] CLOCK Going back to sleep. Waking up at
2011-04-11 19:12:46.00 to handle slot table event.
[2011-04-11 19:12:46.05] CLOCK Waking up to manage resources
[2011-04-11 19:12:46.05] CLOCK Wake-up time recorded as 2011-04-11
19:12:46.00
[2011-04-11 19:12:46.06] VMSCHED Stopped VMs for lease 1 on nodes [1]
[2011-04-11 19:12:46.09] RPOOL Enactment of end VM failed: Error when
invoking 'vm.shutdown': ONE reported an error: Wrong state to perform action
[2011-04-11 19:12:46.09] VMSCHED Enactment error when shutting down VMs.
[2011-04-11 19:12:46.36] CLOCK Going back to sleep. Waking up at
2011-04-11 19:13:46.00 to see if something interesting has happened by then.
[2011-04-11 19:13:26.28] CLOCK Received signal 15 (SIGTERM)
[2011-04-11 19:13:26.28] CLOCK Real clock has stopped
[2011-04-11 19:13:26.28] RM Stopping resource manager gracefully...
[2011-04-11 19:13:26.28] RM --- Haizea status summary ---
[2011-04-11 19:13:26.28] RM Number of leases (not including completed):
0
[2011-04-11 19:13:26.28] RM Completed leases: 2
[2011-04-11 19:13:26.28] RM ---- End summary ----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.uchicago.edu/pipermail/haizea/attachments/20110411/1c0fba68/attachment.htm
More information about the Haizea
mailing list