From 5899b67bde3a53f27615336141921021f2e70e36 Mon Sep 17 00:00:00 2001 From: Pierre Hanselmann Date: Tue, 7 Nov 2017 10:24:52 +0100 Subject: Add missing vmware libs Neutron and Cinder base images doesn't include the necessary vmware libs. If we enable vmware nsx (nsxv or dvs) we need those libraries to be available. Closes-Bug: #1730662 Change-Id: I94005728fbce8320d7cf9d3b746978d8c7634ed5 --- docker/cinder/cinder-base/Dockerfile.j2 | 6 ++++-- docker/neutron/neutron-base/Dockerfile.j2 | 5 ++++- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'docker') diff --git a/docker/cinder/cinder-base/Dockerfile.j2 b/docker/cinder/cinder-base/Dockerfile.j2 index 2d8ac80d4..a17aa656c 100644 --- a/docker/cinder/cinder-base/Dockerfile.j2 +++ b/docker/cinder/cinder-base/Dockerfile.j2 @@ -13,13 +13,15 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build 'ceph-common', 'lvm2', 'openstack-cinder', - 'python-automaton' + 'python-automaton', + 'python-oslo-vmware' ] %} {% elif base_distro in ['debian', 'ubuntu'] %} {% set cinder_base_packages = [ 'ceph-common', 'cinder-common', - 'lvm2' + 'lvm2', + 'python-oslo.vmware' ] %} {% endif %} {{ macros.install_packages(cinder_base_packages | customizable("packages")) }} diff --git a/docker/neutron/neutron-base/Dockerfile.j2 b/docker/neutron/neutron-base/Dockerfile.j2 index d4c55ccbe..774562822 100644 --- a/docker/neutron/neutron-base/Dockerfile.j2 +++ b/docker/neutron/neutron-base/Dockerfile.j2 @@ -23,6 +23,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build 'openstack-neutron-ml2', 'openvswitch', 'python-networking-sfc', + 'python-networking-vmware-nsx', 'python-openvswitch', 'python2-oslo-vmware' ] %} @@ -38,6 +39,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build 'neutron-server', 'openvswitch-switch', 'python-networking-sfc', + 'python-networking-vmware-nsx', 'python-openvswitch', 'python-oslo.vmware' ] %} @@ -56,7 +58,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build 'python-networking-sfc', 'python-neutron-fwaas', 'python-openvswitch', - 'python-oslo.vmware' + 'python-oslo.vmware', + 'python-vmware-nsx' ] %} {% endif %} -- cgit v1.2.3