Hi,

On 1 April 2013 09:52, Prachi De <deprac...@gmail.com> wrote:

> Hi All,
>
> Installed opennebula-3.8.3 on frontend in self contained mode and unable
> to see vm running on host.
>
> Tried following solutions
> 1]Cheked if I set Listen= 0 0 0 0 in qemu.conf.
> 2]Killed existing proxies and relaunched through console
> 3] o/p
>
>
> *Kill existing proxy*
>
> oneadmin@psd:~/var$ ps aux | grep websockify
>
> oneadmin 3357 0.0 0.3 13296 6344 pts/1 S 10:50 0:00 python
> /srv/cloud/one/share/websockify/websocketproxy.py
> --target-config=/srv/cloud/one/var/sunstone_vnc_tokens 29876
>
> oneadmin 6011 0.0 0.0 4392 820 pts/1 S+ 11:42 0:00 grep websockify
>
> oneadmin@psd:~/var$ kill 3357
>
> *4] Launch proxy manually*
>
> oneadmin@psd:~/var$ python
> /srv/cloud/one/share/websockify/websocketproxy.py
> --target-config=/srv/cloud/one/var/sunstone_vnc_tokens 29876
>
> WARNING: no 'numpy' module, HyBi protocol is slower or disabled
>
> WebSocket server settings:
>
> - Listen on :29876
>
> - Flash security policy server
>
> - No SSL/TLS support (no cert file)
>
> - proxying from :29876 to targets in
> /srv/cloud/one/var/sunstone_vnc_tokens
>
>  1: 127.0.0.1: Plain non-SSL (ws://) WebSocket connection
>
> 1: 127.0.0.1: Version hybi-13, base64: 'True'
>
> 1: 127.0.0.1: Path: '/?token=cco7iiv1aoijvck4bn3k'
>
> 1: connecting to: oneadmin@clustermachineip:29876
>
> 1: handler exception: [Errno -2] Name or service not known
>
> I have added oneadmin@clusterip in frontend machines hosts file . In
> resolv.conf nameserver 127.0.0.1 .
>
> MY VM TEMPLATE:
>
>  ID 6 Namemynet Cluster- Owneroneadmin Grouponeadmin Bridgevirbr0 
> VLANyesPhysical device
> eth1 VLAN ID-- Permissions      Ownerum-      Group---      Other--
> oneadmin@pbi:~$ virsh list
>  Id Name                 State
> ----------------------------------
>  11 one-10               running
>
>
> Here vm id shown by virsh list is 11 but sunstone shows  vm id 10 .
>
> If vm is created on host and running then why this error is coming for VNC
>
>
> : handler exception: [Errno -2] Name or service not known.
>
>
> One bridge is created on host machine
> oneadmin@pbi:~$ brctl show
> bridge name bridge id STP enabled interfaces
> virbr0 8000.fe00c0a80101 yes vnet0
>
> eth1 is ethernet of host machine.
>
>
>
The problem is you added your host ''oneadmin@clusterip''' including the
user. Trying just adding ''clusterip'' as the host name and modifying your
~/.ssh/config to connect as oneadmin to that host

Host clusterip
    User oneadmin

Hope this helps


-- 
Daniel Molina
Project Engineer
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to