[rhos-list] Nova-network woes (Vnc issue now)

Kashif Mohammad k.mohammad1 at physics.ox.ac.uk
Fri Mar 22 15:48:04 UTC 2013


Hi Russell

>> does the browser fail to connect to anything at all?

Yes, it fails to connect to anything at all. It fails with this error

Failed to connect to server (code: 1006)

I can get a token through get-vnc-console. What I understand that request is coming on public address on controller node and vnc is running on private address on a different compute node.  Does nova suppose to add a route for this? Looking at route table

route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
163.1.5.0       0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.9.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0
169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1003   0        0 eth1
0.0.0.0         163.1.5.254     0.0.0.0         UG    0      0        0 eth0


VM is running on 192.168.9.3  with this parameters 
<graphics type="vnc" autoport="yes" keymap="en-us" listen="0.0.0.0"/ 


Thanks
Kashif

-----Original Message-----
From: rhos-list-bounces at redhat.com [mailto:rhos-list-bounces at redhat.com] On Behalf Of Russell Bryant
Sent: 22 March 2013 14:54
To: rhos-list at redhat.com
Subject: Re: [rhos-list] Nova-network woes (Vnc issue now)

On 03/22/2013 06:19 AM, Kashif Mohammad wrote:
> 
> Hi
> 
> As I mentioned earlier that now everything is working except vnc access. I tried many options but nothing seems to be working. One suspicious thing is that nova-vncproxy is running without nova.conf file
> 
> nova      2170  0.0  0.1 236268 17148 ?        S    Mar21   0:01 python /usr/bin/nova-novncproxy --web /usr/share/novnc/ 
> 
> is that expected behaviour ? Looking at /etc/init.d/openstack-nova-novncproxy it seems to be expected behaviour
> 
> daemon --user nova --pidfile $pidfile "$exec --web /usr/share/novnc/ &>/dev/null & echo \$! > $pidfile"

Yes, that is fine.

Your configuration looks sane.  Can you describe exactly what happens
when it fails?

Does the VNC client load in the browser, and then you get a VNC
connection error?  Or does the browser fail to connect to anything at all?

-- 
Russell Bryant

_______________________________________________
rhos-list mailing list
rhos-list at redhat.com
https://www.redhat.com/mailman/listinfo/rhos-list




More information about the rhos-list mailing list