<div dir="ltr"><font size="2"><font face="tahoma,sans-serif">Update:<br></font></font><div><font class="Apple-style-span" face="tahoma, sans-serif"><br></font></div><div><font class="Apple-style-span" face="tahoma, sans-serif">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: <b>cannot recv data: connection reset by peer and failed to connect to the hypervisor. </b></font><font class="Apple-style-span" face="tahoma, sans-serif">I can ssh to the host without pass. Any idea where I should look for the problem?<br>

</font></div><div><div class="gmail_quote"><br></div><div class="gmail_quote">Regards,</div><div class="gmail_quote">Mehdi</div><div class="gmail_quote">On Wed, Jun 22, 2011 at 6:35 PM, fanttazio <span dir="ltr"><<a href="mailto:fanttazio@gmail.com">fanttazio@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr"><font size="2"><font face="tahoma,sans-serif">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.</font></font><div>


<font size="2"><font face="tahoma,sans-serif"><br></font></font></div><div><font size="2"><font face="tahoma,sans-serif"><b>VM logs:</b></font></font></div><div><font size="2"><font face="tahoma,sans-serif"><br></font></font></div>


<div><font size="2"><font face="tahoma,sans-serif"><div>Wed Jun 22 17:50:40 2011 [DiM][I]: New VM state is ACTIVE.</div><div>Wed Jun 22 17:50:40 2011 [LCM][I]: New VM state is PROLOG.</div><div>Wed Jun 22 17:50:40 2011 [VM][I]: Virtual Machine has no context</div>


<div>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</div><div>Wed Jun 22 17:50:40 2011 [TM][I]: tm_clone.sh: DST: /srv/cloud/one/var//139/images/disk.0</div>


<div>Wed Jun 22 17:50:40 2011 [TM][I]: tm_clone.sh: Creating directory /srv/cloud/one/var//139/images</div><div>Wed Jun 22 17:50:40 2011 [TM][I]: tm_clone.sh: Executed "mkdir -p /srv/cloud/one/var//139/images".</div>


<div>Wed Jun 22 17:50:40 2011 [TM][I]: tm_clone.sh: Executed "chmod a+w /srv/cloud/one/var//139/images".</div><div>Wed Jun 22 17:50:40 2011 [TM][I]: tm_clone.sh: Cloning /srv/cloud/images/ttylinux.img</div><div>


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".</div><div>Wed Jun 22 17:50:40 2011 [TM][I]: tm_clone.sh: Executed "chmod a+rw /srv/cloud/one/var//139/images/disk.0".</div>


<div>Wed Jun 22 17:50:40 2011 [LCM][I]: New VM state is BOOT</div><div>Wed Jun 22 17:50:40 2011 [VMM][I]: Generating deployment file: /srv/cloud/one/var/139/deployment.0</div><div>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'</div>


<div>Wed Jun 22 17:50:40 2011 [VMM][I]: STDERR follows.</div><div>Wed Jun 22 17:50:40 2011 [VMM][I]: error: cannot recv data: Connection reset by peer</div><div>Wed Jun 22 17:50:41 2011 [VMM][I]: error: failed to connect to the hypervisor</div>


<div>Wed Jun 22 17:50:41 2011 [VMM][I]: ExitCode: 255</div><div>Wed Jun 22 17:50:41 2011 [VMM][E]: Error deploying virtual machine: error: cannot recv data: Connection reset by peer</div><div>Wed Jun 22 17:50:41 2011 [DiM][I]: New VM state is FAILED</div>


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


<div><br></div><div>Wed Jun 22 17:50:41 2011 [TM][W]: Ignored: TRANSFER SUCCESS 139 -</div><div><br></div><div><br></div><div><br></div><div><b>and deployment file</b></div><div><br></div><div><div><domain type='kvm'></div>


<div><span style="white-space:pre-wrap">  </span><name>one-134</name></div><div><span style="white-space:pre-wrap"> </span><memory>1048576</memory></div><div><span style="white-space:pre-wrap">     </span><os></div>


<div><span style="white-space:pre-wrap">          </span><type arch='x86_64'>hvm</type></div><div><span style="white-space:pre-wrap">               </span><boot dev='hd'/></div>
<div><span style="white-space:pre-wrap">  </span></os></div><div><span style="white-space:pre-wrap">      </span><devices></div><div><span style="white-space:pre-wrap">          </span><emulator>/usr/bin/kvm</emulator></div>


<div><span style="white-space:pre-wrap">          </span><disk type='file' device='disk'></div><div><span style="white-space:pre-wrap">                   </span><source file='/srv/cloud/one/var//134/images/disk.0'/></div>


<div><span style="white-space:pre-wrap">                  </span><target dev='hda' bus='ide'/></div><div><span style="white-space:pre-wrap">                      </span><driver name='qemu' type='raw'/></div>
<div><span style="white-space:pre-wrap">          </span></disk></div><div><span style="white-space:pre-wrap">    </span></devices></div><div><span style="white-space:pre-wrap"> </span><features></div>
<div><span style="white-space:pre-wrap">          </span><acpi/></div><div><span style="white-space:pre-wrap">    </span></features></div><div><span style="white-space:pre-wrap">        </span></div>
<div></domain></div></div><div><br></div><div>Regards</div><div>Fanttazio</div></font></font></div><div><font size="2"><font face="tahoma,sans-serif"><br></font></font></div></div>
</blockquote></div><br></div></div>