[openstack-dev] Any ideas on why nova-novncproxy is failing to start on devstack?

Solly Ross sross at redhat.com
Wed Oct 15 15:57:20 UTC 2014


For future reference, it looks like you had an old version of websockify
installed that wasn't getting updated, for some reason.  Nova recently accepted
a patch that removed the support for the old version of websockify

Best Regards,
Solly Ross

----- Original Message -----
> From: "Paul Michali (pcm)" <pcm at cisco.com>
> To: "OpenStack Development Mailing List (not for usage questions)" <openstack-dev at lists.openstack.org>
> Sent: Friday, October 10, 2014 9:40:54 PM
> Subject: Re: [openstack-dev] Any ideas on why nova-novncproxy is failing to start on devstack?
> 
> Well, I deleted /usr/local/lib/python2.7/dist-packages/websockify* and then
> stacked and it worked!
> 
> 
> PCM (Paul Michali)
> 
> MAIL …..…. pcm at cisco.com
> IRC ……..… pcm_ (irc.freenode.com)
> TW ………... @pmichali
> GPG Key … 4525ECC253E31A83
> Fingerprint .. 307A 96BB 1A4C D2C7 931D 8D2D 4525 ECC2 53E3 1A83
> 
> 
> 
> On Oct 10, 2014, at 8:46 PM, Paul Michali (pcm) <pcm at cisco.com> wrote:
> 
> > I had a system with devstack, which I restack with reclone, with the
> > intention of then patching in my review diffs to update and test. Well,
> > the stack is failing in n-nonvc, with this message:
> > 
> > openstack at devstack-33:~/devstack$ /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] 826
> > /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 6, in <module>
> >    from nova.cmd.novncproxy import main
> >  File "/opt/stack/nova/nova/cmd/novncproxy.py", line 29, in <module>
> >    from nova.console import websocketproxy
> >  File "/opt/stack/nova/nova/console/websocketproxy.py", line 110, in
> >  <module>
> >    websockify.ProxyRequestHandler):
> > AttributeError: 'module' object has no attribute 'ProxyRequestHandler'
> > n-novnc failed to start
> > 
> > The websockify package is installed:
> > 
> > openstack at devstack-33:~/devstack$ pip show websockify
> > ---
> > Name: websockify
> > Version: 0.5.1
> > Location: /usr/local/lib/python2.7/dist-packages
> > Requires: numpy
> > 
> > However, the version required is:
> > 
> > openstack at devstack-33:/opt/stack/nova$ grep websockify requirements.txt
> > websockify>=0.6.0,<0.7
> > 
> > Any ideas why is does not have the right version and how to best correct?
> > 
> > Thanks!
> > 
> > 
> > PCM (Paul Michali)
> > 
> > MAIL …..…. pcm at cisco.com
> > IRC ……..… pcm_ (irc.freenode.com)
> > TW ………... @pmichali
> > GPG Key … 4525ECC253E31A83
> > Fingerprint .. 307A 96BB 1A4C D2C7 931D 8D2D 4525 ECC2 53E3 1A83
> > 
> > 
> > 
> 
> 
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 



More information about the OpenStack-dev mailing list