[one-users] Deploying a VM - CentOS 6.2
Snyman, Adrian
adrians at uj.ac.za
Tue Mar 6 06:00:06 PST 2012
So it seems that the file: /var/tmp/one/vnm/vnm_mad/pre does not exist on the node I am trying to deploy to ...
How is this directory populated ?
Regards,
Adrian Snyman
Linux Systems Administrator
Tel: 011-559-4929
Cell: 082-600-1211
From: users-bounces at lists.opennebula.org [mailto:users-bounces at lists.opennebula.org] On Behalf Of Snyman, Adrian
Sent: 06 March 2012 03:12 PM
To: users at lists.opennebula.org
Subject: [one-users] Deploying a VM - CentOS 6.2
I have created a template file and tried to deploy my first vm.
However, the vm starts up, goes through the prep, and then fails.
ID USER GROUP NAME STAT CPU MEM HOSTNAME TIME
1 oneadmin oneadmin test1 fail 0 0K 0d 00:04
The log file shows the following:
Tue Mar 6 11:50:23 2012 [DiM][I]: New VM state is ACTIVE.
Tue Mar 6 11:50:23 2012 [LCM][I]: New VM state is PROLOG.
Tue Mar 6 11:50:23 2012 [VM][I]: Virtual Machine has no context
Tue Mar 6 11:54:18 2012 [TM][D]: tm_clone.sh: frontend_server.localdomain:/var/lib/one/images/centos-6.2/disk.0 node1:/var/lib/one/1/images/disk.0
Tue Mar 6 11:54:18 2012 [TM][D]: tm_clone.sh: DST: /var/lib/one/1/images/disk.0
Tue Mar 6 11:54:18 2012 [TM][I]: tm_clone.sh: Creating directory /var/lib/one/1/images
Tue Mar 6 11:54:18 2012 [TM][I]: tm_clone.sh: Executed "mkdir -p /var/lib/one/1/images".
Tue Mar 6 11:54:18 2012 [TM][I]: tm_clone.sh: Executed "chmod a+w /var/lib/one/1/images".
Tue Mar 6 11:54:18 2012 [TM][I]: tm_clone.sh: Cloning /var/lib/one/images/centos-6.2/disk.0
Tue Mar 6 11:54:18 2012 [TM][I]: tm_clone.sh: Executed "cp -r /var/lib/one/images/centos-6.2/disk.0 /var/lib/one/1/images/disk.0".
Tue Mar 6 11:54:18 2012 [TM][I]: tm_clone.sh: Executed "chmod a+rw /var/lib/one/1/images/disk.0".
Tue Mar 6 11:54:18 2012 [TM][I]: ExitCode: 0
Tue Mar 6 11:54:18 2012 [LCM][I]: New VM state is BOOT
Tue Mar 6 11:54:18 2012 [VMM][I]: Generating deployment file: /var/lib/one/1/deployment.0
Tue Mar 6 11:54:19 2012 [VMM][I]: Remote worker node files not found
Tue Mar 6 11:54:19 2012 [VMM][I]: Updating remotes
Tue Mar 6 11:54:19 2012 [VMM][I]: ExitCode: 0
Tue Mar 6 11:54:19 2012 [VMM][I]: ExitCode: 0
Tue Mar 6 11:54:19 2012 [VMM][I]: Command execution fail: /var/tmp/one/vnm/vnm_mad/pre PFZNPjxJRD4xPC9JRD48VUlEPjA8L1VJRD48R0lEPjA8L0dJRD48VU5BTUU+b25lYWRta
W48L1VOQU1FPjxHTkFNRT5vbmVhZG1pbjwvR05BTUU+PE5BTUU+bnMxLmNvZGVvbmxpbmUuY28uemE8L05BTUU+PFBFUk1JU1NJT05TPjxPV05FUl9VPjE8L09XTkVSX1U+PE9XTkVSX00+MTwvT1dORVJfTT
48T1dORVJfQT4wPC9PV05FUl9BPjxHUk9VUF9VPjA8L0dST1VQX1U+PEdST1VQX00+MDwvR1JPVVBfTT48R1JPVVBfQT4wPC9HUk9VUF9BPjxPVEhFUl9VPjA8L09USEVSX1U+PE9USEVSX00+MDwvT1RIRVJ
fTT48T1RIRVJfQT4wPC9PVEhFUl9BPjwvUEVSTUlTU0lPTlM+PExBU1RfUE9MTD4wPC9MQVNUX1BPTEw+PFNUQVRFPjM8L1NUQVRFPjxMQ01fU1RBVEU+MjwvTENNX1NUQVRFPjxTVElNRT4xMzMxMDI3NDEx
PC9TVElNRT48RVRJTUU+MDwvRVRJTUU+PERFUExPWV9JRC8+PE1FTU9SWT4wPC9NRU1PUlk+PENQVT4wPC9DUFU+PE5FVF9UWD4wPC9ORVRfVFg+PE5FVF9SWD4wPC9ORVRfUlg+PFRFTVBMQVRFPjxDUFU+P
CFbQ0RBVEFbMV1dPjwvQ1BVPjxESVNLPjxDTE9ORT48I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L2xpYi9vbmU8L1ZNX0RJUj48SElEPjA8L0hJRD48U1RJTUU+MTMzMTAyNzQyMzwvU1RJTUU+PEVUSU1FPjA8L0VUSU1FPjxWTU1NQUQ+dm1tX2t2bTwvVk1NTUFEPjxWTk1NQUQ+dm5tX21hZDwvV
k5NTUFEPjxUTU1BRD50bV9zaGFyZWQ8L1RNTUFEPjxQU1RJTUU+MTMzMTAyNzQyMzwvUFNUSU1FPjxQRVRJTUU+MTMzMTAyNzY1ODwvUEVUSU1FPjxSU1RJTUU+MTMzMTAyNzY1ODwvUlNUSU1FPjxSRVRJTU
U+MDwvUkVUSU1FPjxFU1RJTUU+MDwvRVNUSU1FPjxFRVRJTUU+MDwvRUVUSU1FPjxSRUFTT04+MDwvUkVBU09OPjwvSElTVE9SWT48L0hJU1RPUllfUkVDT1JEUz48L1ZNPg==
Tue Mar 6 11:54:19 2012 [VMM][I]: bash: line 2: /var/tmp/one/vnm/vnm_mad/pre: No such file or directory
Tue Mar 6 11:54:19 2012 [VMM][I]: ExitCode: 127
Tue Mar 6 11:54:19 2012 [VMM][I]: Failed to execute network driver operation: pre.
Tue Mar 6 11:54:19 2012 [VMM][E]: Error deploying virtual machine
Tue Mar 6 11:54:19 2012 [DiM][I]: New VM state is FAILED
My Template looks like this:
NAME=test1
MEMORY=1024
CPU=1
OS=[kernel=/images/vmlinuz,
initrd=/images/initrd.img,
root=hda1,
kernel_cmd="ro xencons=tty console=tty1"]
DISK=[source=/var/lib/one/images/centos-6.2/disk.0,
clone=yes,
target=hda,
readonly=no]
NIC = [NETWORK="PUBLIC",IP="x.x.x.x"]
I am using a public fixed ip :)
Regards,
Adrian Snyman
Linux Systems Administrator
Tel: 011-559-4929
Cell: 082-600-1211
________________________________
This email and all contents are subject to the following disclaimer:
http://disclaimer.uj.ac.za
________________________________
This email and all contents are subject to the following disclaimer:
http://disclaimer.uj.ac.za
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120306/1344760b/attachment-0003.htm>
More information about the Users
mailing list