[one-users] Network Connection and VNC not working
Christoph Stich
christoph.stich at inovex.de
Tue Oct 16 00:08:04 PDT 2012
Dear All,
I got two problems at my opennebula/kvm environment.
_1) network setup_
in general the one frontend and kvm host are running and connected.
I can start instances of the ubuntu image (from marketplace).
But I'm not able to connect to the vm via the kvm-host.
At the kvm host I have a virbr0 with ip and dhcp server.
I created a network at the sunstone gui, which should use the virbr0.
I assigned an ip to the vm, but I'm not able to ping the vm.
I do not know what I'm doing wrong in this case.
_2) vnc setup_
The next issue has to do with vnc.
I created the ca and the server/client certs. Distributed the certs to
all hosts.
I modified the libvirtd config / qemu config to use vnc and the certs. (
http://wiki.libvirt.org/page/VNCTLSSetup)
<http://wiki.libvirt.org/page/VNCTLSSetup>
I installed the novnc at the one frontend.
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:
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
Tue Oct 16 02:21:22 2012 [VMM][E]: Could not create domain from /var/lib/one//datastores/0/33/deployment.0
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.
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
Tue Oct 16 02:21:22 2012 [DiM][I]: New VM state is FAILED
I checked the permissions of folders and tested the setup without tls
but the same error occured.
I checked the following guide:
http://opennebula.org/documentation:rel3.6:sunstone#vnc_troubleshooting
But it did not help.
I already downloaded the following file:
https://github.com/kanaka/websockify/downloads
and replaced the old websockify.
Thanks in advance for your time.
Regards
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121016/6b6c6c07/attachment.htm>
More information about the Users
mailing list