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 (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 > 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 > 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 > Flags [.], ack 1, win 913, options [nop,nop,TS val 144927773 ecr 5479782], length 0

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

23:59:28.826990 IP > 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 > 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 > Flags [F.], seq 3453, ack 2, win 913, options [nop,nop,TS val 144928536 ecr 5482834], length 0

23:59:31.760835 IP > 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 ...

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 instead of, 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 ""

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





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) 1792/memcached 2807/python 1379/rpcbind 3193/python 3142/python 3090/python 2266/mongod 3033/python 2373/dnsmasq 1467/rpc.statd 1807/sshd 2115/master 12966/sshd 27329/sshd 1770/tgtd 2863/python 3017/python 2689/python 2039/nrpe 2823/python 2977/python 2977/python 2977/python 2815/python 2766/python 2863/python 2177/qpidd 2721/python 2266/mongod 1815/xinetd 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