[one-users] Vm creating problem
fanttazio
fanttazio at gmail.com
Wed Jun 22 16:28:11 PDT 2011
Update:
I can connect via virtual-manager GUI from the front-end to the host's
hypervisor with ssh connection but when I use virsh -c qemu+ssh:///<user@ip>/
in the terminal it gives me this error: *cannot recv data: connection reset
by peer and failed to connect to the hypervisor. *I can ssh to the host
without pass. Any idea where I should look for the problem?
Regards,
Mehdi
On Wed, Jun 22, 2011 at 6:35 PM, fanttazio <fanttazio at gmail.com> wrote:
> 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/20110623/4a965ed4/attachment-0003.htm>
More information about the Users
mailing list