[one-users] Vm creating problem

fanttazio fanttazio at gmail.com
Wed Jun 22 10:35:34 PDT 2011


I had Opennebula up and running perfectly and I wanted to add the ebtables
feature to it. After adding ebtables to it gave me errors and did not work
so I roll back the oned.conf to work without ebtables but since then I
cannot create and deploy VM. I have ssh connection to hosts without
passwords and and I cant get connected to kvm locally. does anyone have any
idea about this problem. one thing strange is I think I have to see the mac
address of VM in deployment file but I dont see it although I specified the
network in VM template.

*VM logs:*

Wed Jun 22 17:50:40 2011 [DiM][I]: New VM state is ACTIVE.
Wed Jun 22 17:50:40 2011 [LCM][I]: New VM state is PROLOG.
Wed Jun 22 17:50:40 2011 [VM][I]: Virtual Machine has no context
Wed Jun 22 17:50:40 2011 [TM][I]: tm_clone.sh:
front-end:/srv/cloud/images/ttylinux.img
node03:/srv/cloud/one/var//139/images/disk.0
Wed Jun 22 17:50:40 2011 [TM][I]: tm_clone.sh: DST:
/srv/cloud/one/var//139/images/disk.0
Wed Jun 22 17:50:40 2011 [TM][I]: tm_clone.sh: Creating directory
/srv/cloud/one/var//139/images
Wed Jun 22 17:50:40 2011 [TM][I]: tm_clone.sh: Executed "mkdir -p
/srv/cloud/one/var//139/images".
Wed Jun 22 17:50:40 2011 [TM][I]: tm_clone.sh: Executed "chmod a+w
/srv/cloud/one/var//139/images".
Wed Jun 22 17:50:40 2011 [TM][I]: tm_clone.sh: Cloning
/srv/cloud/images/ttylinux.img
Wed Jun 22 17:50:40 2011 [TM][I]: tm_clone.sh: Executed "cp -r
/srv/cloud/images/ttylinux.img /srv/cloud/one/var//139/images/disk.0".
Wed Jun 22 17:50:40 2011 [TM][I]: tm_clone.sh: Executed "chmod a+rw
/srv/cloud/one/var//139/images/disk.0".
Wed Jun 22 17:50:40 2011 [LCM][I]: New VM state is BOOT
Wed Jun 22 17:50:40 2011 [VMM][I]: Generating deployment file:
/srv/cloud/one/var/139/deployment.0
Wed Jun 22 17:50:40 2011 [VMM][I]: Command execution fail: 'if [ -x
"/var/tmp/one/vmm/kvm/deploy" ]; then /var/tmp/one/vmm/kvm/deploy
/srv/cloud/one/var//139/images/deployment.0; else
   exit 42; fi'
Wed Jun 22 17:50:40 2011 [VMM][I]: STDERR follows.
Wed Jun 22 17:50:40 2011 [VMM][I]: error: cannot recv data: Connection reset
by peer
Wed Jun 22 17:50:41 2011 [VMM][I]: error: failed to connect to the
hypervisor
Wed Jun 22 17:50:41 2011 [VMM][I]: ExitCode: 255
Wed Jun 22 17:50:41 2011 [VMM][E]: Error deploying virtual machine: error:
cannot recv data: Connection reset by peer
Wed Jun 22 17:50:41 2011 [DiM][I]: New VM state is FAILED
Wed Jun 22 17:50:41 2011 [TM][W]: Ignored: LOG - 139 tm_delete.sh: Deleting
/srv/cloud/one/var//139/images

Wed Jun 22 17:50:41 2011 [TM][W]: Ignored: LOG - 139 tm_delete.sh: Executed
"rm -rf /srv/cloud/one/var//139/images".

Wed Jun 22 17:50:41 2011 [TM][W]: Ignored: TRANSFER SUCCESS 139 -



*and deployment file*

<domain type='kvm'>
 <name>one-134</name>
<memory>1048576</memory>
<os>
 <type arch='x86_64'>hvm</type>
<boot dev='hd'/>
 </os>
<devices>
<emulator>/usr/bin/kvm</emulator>
 <disk type='file' device='disk'>
<source file='/srv/cloud/one/var//134/images/disk.0'/>
 <target dev='hda' bus='ide'/>
<driver name='qemu' type='raw'/>
 </disk>
</devices>
<features>
 <acpi/>
</features>
 </domain>

Regards
Fanttazio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110622/ebcc5e87/attachment-0001.htm>


More information about the Users mailing list