[one-users] Fwd: VNC Error opennebual-3.8.3 -Failed to connect to server(1006)

Daniel Molina dmolina at opennebula.org
Mon Apr 1 05:01:43 PDT 2013


FYI

---------- Forwarded message ----------
From: Prachi De <deprachi3 at gmail.com>
Date: 1 April 2013 13:52
Subject: Re: [one-users] VNC Error opennebual-3.8.3 -Failed to connect to
server(1006)
To: Daniel Molina <dmolina at opennebula.org>


Hi Daniel,

Thanks for the reply .

My problem is solved now , able to  see VNC popup Window.

Regards.


On Mon, Apr 1, 2013 at 2:49 PM, Daniel Molina <dmolina at opennebula.org>wrote:

> Hi,
>
> On 1 April 2013 09:52, Prachi De <deprachi3 at 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 at 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 at psd:~/var$ kill 3357
>>
>> *4] Launch proxy manually*
>>
>> oneadmin at 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 at clustermachineip:29876
>>
>> 1: handler exception: [Errno -2] Name or service not known
>>
>> I have added oneadmin at 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 at 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 at 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 at 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 | dmolina at opennebula.org | @OpenNebula
>



-- 
Prachi D.





-- 
Daniel Molina
Project Engineer
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130401/1db21380/attachment-0002.htm>


More information about the Users mailing list