From 246acc40f34dde7f88cf31cab0123b8a1880515d Mon Sep 17 00:00:00 2001 From: prameswar Date: Wed, 2 Nov 2016 22:56:54 +0530 Subject: [PATCH] nova-spicehtml5proxy dependency package added centos based container already have python-websockify installed. but it gives warning to install numpy package. ubuntu based container need to install websockify package that will install both module websockify and its dependency numpy module. so no need to install numpy package externally in ubnutu but in centos it need to install. Closes-bug: #1638801 Change-Id: Ic858543733ec86f55ab506edcd3631a6df1a086d --- docker/nova/nova-spicehtml5proxy/Dockerfile.j2 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker/nova/nova-spicehtml5proxy/Dockerfile.j2 b/docker/nova/nova-spicehtml5proxy/Dockerfile.j2 index 994915cff2..0fd3127669 100644 --- a/docker/nova/nova-spicehtml5proxy/Dockerfile.j2 +++ b/docker/nova/nova-spicehtml5proxy/Dockerfile.j2 @@ -10,13 +10,15 @@ MAINTAINER {{ maintainer }} {% set nova_spicehtml5proxy_packages = [ 'openstack-nova-spicehtml5proxy', - 'spice-html5' + 'spice-html5', + 'numpy' ] %} {% elif base_distro in ['ubuntu'] %} {% set nova_spicehtml5proxy_packages = [ - 'nova-spiceproxy' + 'nova-spiceproxy', + 'websockify' ] %} {% endif %}