aboutsummaryrefslogtreecommitdiff
path: root/docker/nova
diff options
context:
space:
mode:
authorJon Schlueter <jschluet@redhat.com>2019-03-13 21:57:53 -0400
committerJon Schlueter <jschluet@redhat.com>2019-03-13 22:01:34 -0400
commit87eec8b00b5ba889361aa9065a7b454a8343593d (patch)
treeb1aaf102de158c5a98bd45be6f7ffc088267ccfd /docker/nova
parent7d8eafaee84bad04bade68a7a580ed9c1a2413fc (diff)
downloadkolla-87eec8b00b5ba889361aa9065a7b454a8343593d.tar.gz
kolla-87eec8b00b5ba889361aa9065a7b454a8343593d.zip
Drop redundant rpms from nova-base package list
- openstack-base explictly pulls in python[3]-keystoneclient - openstack-base pulls in python[3]-openstackclient which pulls in python[3]-cinderclient This simplifies the python2/3 cases, and reduces how many times these 2 packages are installed Change-Id: If8eb4dc1c5d5de88a8d9b59920b01d09cb585ebb
Diffstat (limited to 'docker/nova')
-rw-r--r--docker/nova/nova-base/Dockerfile.j212
1 files changed, 0 insertions, 12 deletions
diff --git a/docker/nova/nova-base/Dockerfile.j2 b/docker/nova/nova-base/Dockerfile.j2
index f64664f65..7516e5ce6 100644
--- a/docker/nova/nova-base/Dockerfile.j2
+++ b/docker/nova/nova-base/Dockerfile.j2
@@ -15,18 +15,6 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'openvswitch'
] %}
- {% if distro_python_version.startswith('3') %}
- {% set nova_base_packages = nova_base_packages + [
- 'python3-cinderclient',
- 'python3-keystoneclient'
- ] %}
- {% else %}
- {% set nova_base_packages = nova_base_packages + [
- 'python-cinderclient',
- 'python-keystoneclient'
- ] %}
- {% endif %}
-
{% if base_arch == 'x86_64' %}
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] and base_distro_tag.startswith('7') %}
{% set nova_base_packages = nova_base_packages + [