novnc console to instances fail with "Failed to connect to server (code: 1006)" after upgrade on controllers .
Issue
- After upgrade on OpenStack controller node , access to instances fail with error "Failed to connect to server (code: 1006)" .
- novncproxy fails to provide access to instance with following error .
Apr 29 03:27:36 mac00163e747b4b nova-novncproxy: WebSocket server settings:
Apr 29 03:27:36 mac00163e747b4b nova-novncproxy: - Listen on 0.0.0.0:6080
Apr 29 03:27:36 mac00163e747b4b nova-novncproxy: - Flash security policy server
Apr 29 03:27:36 mac00163e747b4b nova-novncproxy: - Web server. Web root: /usr/share/novnc
Apr 29 03:27:36 mac00163e747b4b nova-novncproxy: - No SSL/TLS support (no cert file)
Apr 29 03:27:36 mac00163e747b4b nova-novncproxy: - proxying from 0.0.0.0:6080 to ignore:ignore
Apr 29 03:27:36 mac00163e747b4b nova-novncproxy: 1: 10.65.223.104: new handler Process
Apr 29 03:27:36 mac00163e747b4b nova-novncproxy: 2: 10.65.223.104: new handler Process
Apr 29 03:27:36 mac00163e747b4b nova-novncproxy: 1: 10.65.223.104: "GET /vnc_auto.html?token=3a4a2e4f-5a4e-4896-9b4c-797fb68419ef&title=test_console(42ce4a7c-3b1b-457a-aa36-bc9b4a37c58f) HTTP/1.1" 200 -
Apr 29 03:27:36 mac00163e747b4b nova-novncproxy: 3: 10.65.223.104: new handler Process
Apr 29 03:27:36 mac00163e747b4b nova-novncproxy: 3: 10.65.223.104: Plain non-SSL (ws://) WebSocket connection
Apr 29 03:27:36 mac00163e747b4b nova-novncproxy: 3: 10.65.223.104: Version hybi-13, base64: 'False'
Apr 29 03:27:36 mac00163e747b4b nova-novncproxy: 3: 10.65.223.104: Path: '/websockify'
Apr 29 03:27:36 mac00163e747b4b nova-novncproxy: 3: handler exception: msg() takes exactly 2 arguments (3 given)
Apr 29 03:27:36 mac00163e747b4b nova-novncproxy: 3: Traceback (most recent call last):
Apr 29 03:27:36 mac00163e747b4b nova-novncproxy: File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 711, in top_new_client
Apr 29 03:27:36 mac00163e747b4b nova-novncproxy: self.new_client()
Apr 29 03:27:36 mac00163e747b4b nova-novncproxy: File "/usr/lib/python2.7/site-packages/nova/console/websocketproxy.py", line 116, in new_client
Apr 29 03:27:36 mac00163e747b4b nova-novncproxy: self.msg(_('connect info: %s'), str(connect_info))
Apr 29 03:27:36 mac00163e747b4b nova-novncproxy: TypeError: msg() takes exactly 2 arguments (3 given)
Apr 29 03:27:46 mac00163e747b4b nova-novncproxy: 2: 10.65.223.104: ignoring empty handshake
Environment
- Red Hat OpenStack 5.0 on RHEL 7
- Red Hat OpenStack 6.0
- openstack-nova-novncproxy-2014.1.4-3.el7ost.noarch
- novnc-0.5.1-2.el7ost.noarch
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.