Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Whoever said it would be easy? OK, I'll try and keep things as short & concise as possible. Thanks for the tips on the port forwarding. Port forwarding and firewalling is working as expected. I can ..

Remote Client Shell> vncviewer cloud.machine.org:0 (a vnc session comes up as expected).

If I go via horizon on the remote client all horizon functions work as expected, except the console option. It reports ...

"The connection to the server was reset while the page was loading."

Back on the server a tcpdump confirms that packets from the remote client did arrive and that a reset was sent back.

Note: The server never gets to send vnc data (port 5900) back to the remote client ....

Server Shell> tcpdump -i br-ex -n | grep 6080

23:59:28.662756 IP 92.238.xxx.xx.39577 > 192.168.28.178.6080: Flags [S], seq 1681964537, win 14600, options [mss 1460,sackOK,TS val 144927761 ecr 0,nop,wscale 4], length 0

23:59:28.662804 IP 192.168.28.178.6080 > 92.238.xxx.xx.39577: Flags [S.], seq 1348706998, ack 1681964538, win 14480, options [mss 1460,sackOK,TS val 5479782 ecr 144927761,nop,wscale 7], length 0

23:59:28.708602 IP 92.238.xxx.xx.39577 > 192.168.28.178.6080: Flags [.], ack 1, win 913, options [nop,nop,TS val 144927773 ecr 5479782], length 0

23:59:28.826933 IP 92.238.xxx.xx.39577 > 192.168.28.178.6080: Flags [P.], seq 2897:3453, ack 1, win 913, options [nop,nop,TS val 144927800 ecr 5479782], length 556

23:59:28.826990 IP 192.168.28.178.6080 > 92.238.xxx.xx.39577: Flags [.], ack 1, win 114, options [nop,nop,TS val 5479946 ecr 144927773,nop,nop,sack 1 {2897:3453}], length 0

23:59:31.715257 IP 192.168.28.178.6080 > 92.238.xxx.xx.39577: Flags [F.], seq 1, ack 1, win 114, options [nop,nop,TS val 5482834 ecr 144927773,nop,nop,sack 1 {2897:3453}], length 0

23:59:31.760771 IP 92.238.xxx.xx.39577 > 192.168.28.178.6080: Flags [F.], seq 3453, ack 2, win 913, options [nop,nop,TS val 144928536 ecr 5482834], length 0

23:59:31.760835 IP 192.168.28.178.6080 > 92.238.xxx.xx.39577: Flags [R], seq 1348707000, win 0, length 0


If I run, "nova get-vnc-console instance-name novnc" on the server, it generates the url ...

http://cloud.machine.org:6080/vnc_auto.html?token=4460a346-1900-4e87-b35f-cd36d24d7854

When I cut and paste the url into the server or remote client browser all runs as expected. A vnc session in the browser!


Conclusion: It would seem to be an issue with novncproxy. I know it's receiving the traffic, I also know it's issuing a reset.

I don't seem to have a /var/log/noxvncproxy.log on the system (should I?), here's what I have in /var/log/nova ..

cert.log, scheduler.log, conductor.log, consoleauth.log, api.log, compute.log

Looking at the logs I don't see anything glaringly obvious. After each remote console connection attempt I get the following in /var/log/horizon.log. Should I be seeing cloud.machine.org instead of 192.168.28.178, or is that just another herring rouge in my shoal of herring?

2014-04-21 22:11:10,171 2145 DEBUG openstack_dashboard.api.nova novaclient connection created using token "1d94fd7ae2a5a359bdbc3819db1cb9ed" and url "http://192.168.28.178:8774/v2/83530efeb5724f4c9cdbbfaeb627f8a5"


And here's some key settings in my /etc/nova/nova.conf on the server.

novncproxy_base_url=http://cloud.machine.org:6080/vnc_auto.html

vncserver_listen=192.168.28.178

vncserver_proxyclient_address=192.168.28.178

vnc_enabled=True


Much time spent reading now with little to show for it. I can't be far away now. Any more ideas/pointers would be much appreciated.

Here's a list of listening processes on the server (that might be of use)

0.0.0.0:11211 1792/memcached

0.0.0.0:9292 2807/python

0.0.0.0:111 1379/rpcbind

192.168.28.178:8080 3193/python

192.168.28.178:6000 3142/python

192.168.28.178:6001 3090/python

127.0.0.1:28017 2266/mongod

192.168.28.178:6002 3033/python

192.168.122.1:53 2373/dnsmasq

0.0.0.0:37525 1467/rpc.statd

0.0.0.0:22 1807/sshd

127.0.0.1:25 2115/master

127.0.0.1:6010 12966/sshd

127.0.0.1:6011 27329/sshd

0.0.0.0:3260 1770/tgtd

0.0.0.0:35357 2863/python

0.0.0.0:6080 3017/python

0.0.0.0:9696 2689/python

0.0.0.0:5666 2039/nrpe

0.0.0.0:8004 2823/python

0.0.0.0:8773 2977/python

0.0.0.0:8774 2977/python

0.0.0.0:8775 2977/python

0.0.0.0:9191 2815/python

0.0.0.0:8776 2766/python

0.0.0.0:5000 2863/python

0.0.0.0:5672 2177/qpidd

0.0.0.0:8777 2721/python

127.0.0.1:27017 2266/mongod

192.168.28.178:873 1815/xinetd

0.0.0.0:3306 2011/mysqld

:::48398 1467/rpc.statd

:::111 1379/rpcbind

:::80 2129/httpd

:::22 1807/sshd

::1:6010 12966/sshd

::1:6011 27329/sshd

:::3260 1770/tgtd

:::5672 2177/qpidd