[one-users] Network Connection and VNC not working

Christoph Stich christoph.stich at inovex.de
Mon Oct 22 03:36:33 PDT 2012


Hi Daniel,

at first, thanks for the reply and the support.

_1) network setup/problem:_
in general it seems to be resolved. I got it working and the vnet is 
bridged together with the physical interface.
vlan-tags are working, too.

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.
The other VMs, Ubuntu Server (from the Marketplace) are not pingable. Is 
the autoconfig of the interface not working for this?
_

__2) vnc setup / problem__:_
I added the output-file from "onetemplate show"

Kind Regards
Christoph




Am 22.10.2012 12:12, schrieb Daniel Molina:
> Hi,
>
> On 16 October 2012 09:08, Christoph Stich <christoph.stich at inovex.de 
> <mailto:christoph.stich at inovex.de>> wrote:
>
>     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.
>
>
> Could you send us the output of "brctl show"?
>
>
>     _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
>
> Please, send us the template you're trying to instantiate.
>
> Cheers
>
>     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
>
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
>     http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
>
> -- 
> Daniel Molina
> Project Engineer
> OpenNebula - The Open Source Solution for Data Center Virtualization
> www.OpenNebula.org <http://www.OpenNebula.org> | 
> dmolina at opennebula.org <mailto:dmolina at opennebula.org> | @OpenNebula

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121022/e7fffb92/attachment-0002.htm>


More information about the Users mailing list