Ask Your Question
0

unable to see the console in the console/novnc tab of an instance

asked 2017-11-20 17:20:31 -0600

jamesopst gravatar image

hi all, hoping someone can direct me in the correct direction to debug this

I am using Fuel 10/Newton and I have a functioning environment with a bunch of compute nodes and instances. But I can't see the console in the console/novnc tab in any of the instances.

I see the gray background screen and the word "Loading". I don't see much in nova-all.log either just some debug and the line "code 404, message File not found" (see the log pasted below)

on my controller node:

 grep -i vnc  /etc/nova/nova.conf
[vnc]
novncproxy_port=6080
novncproxy_host=192.168.0.9
novncproxy_base_url=http://192.168.0.9:6080/vnc_auto.html

on my compute node:

root@node-99:~# grep -i vnc  /etc/nova/nova.conf
[vnc]
vncserver_proxyclient_address=192.168.0.26
vncserver_listen=0.0.0.0
novncproxy_base_url=http://10.20.244.7:6080/vnc_auto.html
root@node-99:~#

thanks!

nova-all.log:

2017-10-11T16:22:59.665476+00:00 node-43 nova-consoleauth: 2017-10-11 16:22:59.665 82655 DEBUG oslo_messaging._drivers.amqpdriver [-] received message msg_id: 7007e033bcf4467399ab571016a7feae reply to reply_8daccae05146498da03d3f750502c8ea __call__ /usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:194
2017-10-11T16:22:59.669098+00:00 node-43 nova-consoleauth: 2017-10-11 16:22:59.668 82655 INFO nova.consoleauth.manager [req-c492d608-f16e-4072-a7ed-498376e1ee53 b531c96d3755453f9fb02480aeca9554 d7974c32475b435ca967225dee799360 - - -] Received Token: 3da2f3c5-48c7-42a0-a000-f66d6d88a320, {'instance_uuid': u'3f49f97d-001e-4546-8dc8-f399b560848b', 'access_url': u'http://10.20.244.7:6080/vnc_auto.html?token=3da2f3c5-48c7-42a0-a000-f66d6d88a320', 'token': u'3da2f3c5-48c7-42a0-a000-f66d6d88a320', 'last_activity_at': 1507738979.66683, 'internal_access_path': None, 'console_type': u'novnc', 'host': u'192.168.0.20', 'port': u'5900'}
2017-10-11T16:22:59.669912+00:00 node-43 nova-consoleauth: 2017-10-11 16:22:59.669 82655 DEBUG oslo_messaging._drivers.amqpdriver [req-c492d608-f16e-4072-a7ed-498376e1ee53 b531c96d3755453f9fb02480aeca9554 d7974c32475b435ca967225dee799360 - - -] sending reply msg_id: 7007e033bcf4467399ab571016a7feae reply queue: reply_8daccae05146498da03d3f750502c8ea time elapsed: 0.00359710212797s _send_reply /usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:73
2017-10-11T16:22:59.827016+00:00 node-43 nova-novncproxy: 2017-10-11 16:22:59.826 82737 DEBUG nova.console.websocketproxy [-] 192.168.0.5: new handler Process vmsg /usr/lib/python2.7/dist-packages/websockify/websocket.py:875
2017-10-11T16:22:59.893391+00:00 node-43 nova-novncproxy: 2017-10-11 16:22:59.892 82737 DEBUG nova.console.websocketproxy [-] 192.168.0.5: new handler Process vmsg /usr/lib/python2.7/dist-packages/websockify/websocket.py:875
2017-10-11T16:22:59.902088+00:00 node-43 nova-novncproxy: 2017-10-11 16:22:59.901 146576 INFO nova.console.websocketproxy [-] 192.168.0.5 - - [11/Oct/2017 16:22:59] code 404, message File not found
edit retag flag offensive close merge delete

Comments

anybody? thx

jamesopst gravatar imagejamesopst ( 2017-12-08 15:58:42 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-10-10 15:31:15 -0600

jamesopst gravatar image

turns out a co-worker found an error message in the debug screen of the browser while trying to use the Horizon console. Missing inflator.js file.

I search around the internet and found this similar issue.

https://bugs.launchpad.net/mos/+bug/1...

and found a version of inflator.js and put it in /usr/share/novnc/include on all 3 controller nodes

console now works! no service restarting needed

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-11-20 17:20:31 -0600

Seen: 317 times

Last updated: Oct 10