<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body 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>
<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. (
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-15">
<a href="http://wiki.libvirt.org/page/VNCTLSSetup">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>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-15">
<pre style="color: rgb(34, 34, 34); font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); ">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 class="vm_log_error">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 class="vm_log_error">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>
I checked the permissions of folders and tested the setup without
tls but the same error occured.<br>
I checked the following guide:
<a class="moz-txt-link-freetext" href="http://opennebula.org/documentation:rel3.6:sunstone#vnc_troubleshooting">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 class="moz-txt-link-freetext" href="https://github.com/kanaka/websockify/downloads">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>
</body>
</html>