Package: python-nova
Version: 2014.1.1-5
Severity: important
Tags: patch

The patch for websockify 0.6 compatibility introduced in version
2014.1.1-5 includes an unrelated change to the configuration file syntax 
that is only scheduled for Openstack Juno. Please revert this part of
the change.

For Juno the spciehtml5proxy_{host, port} parameters in the DEFAULT
section have been moved to html5proxy_{host, port} in the spice section.
See upstream commit fe02cc830f9c9e1dac234164bc1f0caa0e2072d7 for the
details.

The attached patch fixes the problem and reverts to the configuration
file syntax used for Icehouse.

Without this patch the spice proxy refuses to start at all because it
tries to access options that are not registered in the CONF object.

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
--- /usr/share/pyshared/nova/cmd/spicehtml5proxy.py.orig	2014-07-10 09:31:02.015074974 +0200
+++ /usr/share/pyshared/nova/cmd/spicehtml5proxy.py	2014-07-10 09:32:12.991260511 +0200
@@ -70,8 +70,8 @@
 
     # Create and start the NovaWebSockets proxy
     server = websocketproxy.NovaWebSocketProxy(
-                listen_host=CONF.spice.html5proxy_host,
-                listen_port=CONF.spice.html5proxy_port,
+                listen_host=CONF.spicehtml5proxy_host,
+                listen_port=CONF.spicehtml5proxy_port,
                 source_is_ipv6=CONF.source_is_ipv6,
                 verbose=CONF.verbose,
                 cert=CONF.cert,

Reply via email to