novnc failed to start due to unexpected keyword argument.

asked 2014-08-25 03:59:42 -0500

darren-wang gravatar image

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!

edit retag flag offensive close merge delete

Comments

check kvm, libvirt & qemu are installed properly.

SGPJ gravatar imageSGPJ ( 2014-08-25 04:21:07 -0500 )edit