novnc failed to start due to unexpected keyword argument

Bug #1361108 reported by DWang
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned
devstack
Expired
Undecided
Unassigned

Bug Description

Hi everybody,

I'm new to DevStack and during my installation of icehouse devstack, some error arose like this:
"
...
ls /opt/stack/status/stack/n-novnc.failure
2014-08-25 07:49:55.739 | + failures=/opt/stack/status/stack/n-novnc.failure
2014-08-25 07:49:55.739 | + for service in '$failures'
2014-08-25 07:49:55.740 | ++ basename /opt/stack/status/stack/n-novnc.failure
2014-08-25 07:49:55.740 | + service=n-novnc.failure
2014-08-25 07:49:55.741 | + service=n-novnc
2014-08-25 07:49:55.741 | + echo 'Error: Service n-novnc is not running'
2014-08-25 07:49:55.741 | Error: Service n-novnc is not running
2014-08-25 07:49:55.741 | + '[' -n /opt/stack/status/stack/n-novnc.failure ']'
2014-08-25 07:49:55.741 | + die 1316 'More details about the above errors can be found with screen, with ./rejoin-stack.sh'
2014-08-25 07:49:55.741 | + local exitcode=0
2014-08-25 07:49:55.741 | [Call Trace]
2014-08-25 07:49:55.741 | ./stack.sh:1371:service_check
2014-08-25 07:49:55.741 | /home/darren/devstack/functions-common:1316:die
2014-08-25 07:49:55.743 | [ERROR] /home/darren/devstack/functions-common:1316 More details about the above errors can be found with screen, with ./rejoin-stack.sh
2014-08-25 07:49:56.747 | Error on exit
"

Then I went to the corrispond screen to check what is wrong:

"
cd /opt/stack/nova && /usr/local/bin/nova-novncproxy --config-file /etc/nova/nova.conf --web /opt/stack/noVNC & echo $! >/opt/stack/status/stack/n-novnc.pid; fg || echo "n-novnc failed to start" | tee "/opt/stack/status/stack/n-novnc.failure"
[1] 2881
cd /opt/stack/nova && /usr/local/bin/nova-novncproxy --config-file /etc/nova/nova.conf --web /opt/stack/noVNC

Traceback (most recent call last):
  File "/usr/local/bin/nova-novncproxy", line 10, in <module>
    sys.exit(main())
  File "/opt/stack/nova/nova/cmd/novncproxy.py", line 87, in main
    wrap_cmd=None)
  File "/opt/stack/nova/nova/console/websocketproxy.py", line 38, in __init__
    ssl_target=None, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/websockify/websocketproxy.py", line 231, in __init__
    websocket.WebSocketServer.__init__(self, RequestHandlerClass, *args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'no_parent'
n-novnc failed to start
"
I don't what's going on and how to fix it, anyone have any idea?
THX!

Revision history for this message
Ian Wienand (iwienand) wrote :

Looks like a version issue as mentioned in

What platform are you running on?

[1] https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1228490

Revision history for this message
DWang (darren-wang) wrote :

ubuntu 14.04.1 Desktop

Revision history for this message
DWang (darren-wang) wrote :

@Ian Wienand
Thx Ian, I've solved this problem.

I uninstalled websockify 0.6.0(automatically installed latest version) and reinstalled websockify 0.5.1, then this problem just gone.

Changed in nova:
status: New → Incomplete
DWang (darren-wang)
tags: added: nova websockify
Revision history for this message
Dean Troyer (dtroyer) wrote :

We are actually about to bump the minimum required version of wesockify to 0.6.0 for the Juno release. Are you on an older Nova release, say icehouse maybe?

Changed in devstack:
status: New → Incomplete
Revision history for this message
DWang (darren-wang) wrote :

Yeah, in icehouse release

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for devstack because there has been no activity for 60 days.]

Changed in devstack:
status: Incomplete → Expired
Revision history for this message
Sean Dague (sdague) wrote :

I believe this is fixed upstream, please reopen if otherwise.

Changed in nova:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.