<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Daniel,<br>
<br>
at first, thanks for the reply and the support.<br>
<br>
<u>1) network setup/problem:</u><br>
in general it seems to be resolved. I got it working and the vnet
is bridged together with the physical interface.<br>
vlan-tags are working, too.<br>
<br>
The only remaining issue is: The IP leases from the vm-network
seem only be set to the tty-linux. I'm able to ping and connect to
it.<br>
The other VMs, Ubuntu Server (from the Marketplace) are not
pingable. Is the autoconfig of the interface not working for this?<br>
<u><br>
<br>
</u><u>2) vnc setup / problem</u><u>:</u><br>
I added the output-file from "onetemplate show"<br>
<br>
Kind Regards<br>
Christoph<br>
<br>
<br>
<br>
<br>
Am 22.10.2012 12:12, schrieb Daniel Molina:<br>
</div>
<blockquote
cite="mid:CAPvywez3h5TT1VPDSKD2FJxPMbPKct-ZXDVGF510tHqTOJUpHg@mail.gmail.com"
type="cite">Hi,<br>
<br>
<div class="gmail_quote">On 16 October 2012 09:08, Christoph Stich
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:christoph.stich@inovex.de" target="_blank">christoph.stich@inovex.de</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> Dear All,<br>
<br>
I got two problems at my opennebula/kvm environment.<br>
<br>
<u>1) network setup</u><br>
in general the one frontend and kvm host are running and
connected.<br>
I can start instances of the ubuntu image (from
marketplace).<br>
But I'm not able to connect to the vm via the kvm-host.<br>
<br>
At the kvm host I have a virbr0 with ip and dhcp server.<br>
I created a network at the sunstone gui, which should use
the virbr0.<br>
I assigned an ip to the vm, but I'm not able to ping the vm.<br>
<br>
I do not know what I'm doing wrong in this case.<br>
</div>
</blockquote>
<div><br>
</div>
<div>Could you send us the output of "brctl show"?</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> <br>
<u>2) vnc setup</u><br>
The next issue has to do with vnc.<br>
I created the ca and the server/client certs. Distributed
the certs to all hosts.<br>
I modified the libvirtd config / qemu config to use vnc and
the certs. ( <a moz-do-not-send="true"
href="http://wiki.libvirt.org/page/VNCTLSSetup"
target="_blank">http://wiki.libvirt.org/page/VNCTLSSetup)</a><br>
I installed the novnc at the one frontend.<br>
<br>
When I know create a vm at open nebula and enable the
graphics > vnc, the instance can not be created and fails
with the following error:<br>
<pre style="line-height:normal;text-indent:0px;letter-spacing:normal;text-align:start;font-variant:normal;color:rgb(34,34,34);text-transform:none;font-style:normal;font-size:13px;font-weight:normal;word-spacing:0px">
Tue Oct 16 02:21:02 2012 [DiM][I]: New VM state is ACTIVE.
Tue Oct 16 02:21:02 2012 [LCM][I]: New VM state is PROLOG.
Tue Oct 16 02:21:02 2012 [VM][I]: Virtual Machine has no context
Tue Oct 16 02:21:19 2012 [TM][I]: clone: Cloning onefrontend:/var/lib/one/datastores/100/671dbca24b99c0c4f9199e0239446fb0 in /var/lib/one/datastores/0/33/disk.0
Tue Oct 16 02:21:19 2012 [TM][I]: ExitCode: 0
Tue Oct 16 02:21:19 2012 [LCM][I]: New VM state is BOOT
Tue Oct 16 02:21:19 2012 [VMM][I]: Generating deployment file: /var/lib/one/33/deployment.0
Tue Oct 16 02:21:19 2012 [VMM][I]: ExitCode: 0
Tue Oct 16 02:21:19 2012 [VMM][I]: Successfully execute network driver operation: pre.
Tue Oct 16 02:21:22 2012 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy /var/lib/one//datastores/0/33/deployment.0 kvmhost01 33 kvmhost01
Tue Oct 16 02:21:22 2012 [VMM][I]: error: failed to get domain '/var/lib/one//datastores/0/33/deployment.0'
Tue Oct 16 02:21:22 2012 [VMM][I]: error: Domain not found: no domain with matching name '/var/lib/one//datastores/0/33/deployment.0'
Tue Oct 16 02:21:22 2012 [VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/33/deployment.0
Tue Oct 16 02:21:22 2012 [VMM][I]: error: Unable to read from monitor: Connection reset by peer
<span>Tue Oct 16 02:21:22 2012 [VMM][E]: Could not create domain from /var/lib/one//datastores/0/33/deployment.0</span>
Tue Oct 16 02:21:22 2012 [VMM][I]: ExitCode: 255
Tue Oct 16 02:21:22 2012 [VMM][I]: Failed to execute virtualization driver operation: deploy.
<span>Tue Oct 16 02:21:22 2012 [VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/33/deployment.0</span>
Tue Oct 16 02:21:22 2012 [DiM][I]: New VM state is FAILED</pre>
</div>
</blockquote>
<div>Please, send us the template you're trying to instantiate.</div>
<div><br>
</div>
<div>Cheers</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> I checked the
permissions of folders and tested the setup without tls but
the same error occured.<br>
I checked the following guide: <a moz-do-not-send="true"
href="http://opennebula.org/documentation:rel3.6:sunstone#vnc_troubleshooting"
target="_blank">http://opennebula.org/documentation:rel3.6:sunstone#vnc_troubleshooting</a><br>
<br>
But it did not help.<br>
<br>
I already downloaded the following file: <a
moz-do-not-send="true"
href="https://github.com/kanaka/websockify/downloads"
target="_blank">https://github.com/kanaka/websockify/downloads</a><br>
and replaced the old websockify.<br>
<br>
Thanks in advance for your time.<br>
<br>
Regards<br>
Chris<br>
<br>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org"
target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
Daniel Molina<br>
Project Engineer<br>
OpenNebula - The Open Source Solution for Data Center
Virtualization<br>
<a moz-do-not-send="true" href="http://www.OpenNebula.org"
target="_blank">www.OpenNebula.org</a> | <a
moz-do-not-send="true" href="mailto:dmolina@opennebula.org"
target="_blank">dmolina@opennebula.org</a> | @OpenNebula<br>
</blockquote>
<br>
</body>
</html>