[PKG-Openstack-devel] Bug#752454: websocketproxy incompatible with websockify >= 0.6.0

Gaudenz Steinlin gaudenz at debian.org
Mon Jun 23 18:15:55 UTC 2014


Resending this report to the bug as it originally had the wrong package
set. Sorry.

Package: python-nova
Version: 2014.1.1-1
Severity: important

The websocket proxy code in nova.console.websocketproxy is incompatible
with websockify >= 0.6.0. At least python-nova, maybe also other
packages from the nova source package should either conflict with
websockify >= 0.6.0 or depend on websockify <= 0.5.1.

The relevant changelog entry for websockify:

0.6.0 - Feb 18, 2014
--------------------

* **NOTE** : 0.6.0 will break existing code that sub-classes WebsocketProxy
* Refactor to use standard SocketServer RequestHandler design

This issue is fixed in OpenStack upstream by this commit:
https://github.com/openstack/nova/commit/9386dd2fa301aee42da1e734b67670b317a0355f

But IMHO it's quite unlikely that this will be backported to Icehouse.
As only Openstack components depend on websockify the easiest solution
is probably to downgrade websockify to 0.5.1 in order to not have many 
OpenStack packages uninstallable.

The issue is not instantly visible when starting in of the websocket
proxies, because they start just fine. But at least the spice proxy does
not work because the relevant handler function is never called and a
generic handler from websockify is used instead. This generic handler
does of course not work in the context of OpenStack.

Gaudenz

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (800, 'testing'), (700, 'unstable'), (50, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_CH.utf8, LC_CTYPE=de_CH.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
Ever tried. Ever failed. No matter.
Try again. Fail again. Fail better.
~ Samuel Beckett ~



More information about the Openstack-devel mailing list