From c68b233c8016e4bd82cdbcc3282074b43fddc833 Mon Sep 17 00:00:00 2001 From: caoyuan Date: Tue, 29 Nov 2016 17:03:01 +0800 Subject: [PATCH] Remove the "nova-network" container file The nova-network service was deprecated, this patch to remove nova-network container. TrivialFix Change-Id: I73b4215f7538570e1140780e9f52df9ca58e92ff --- docker/nova/nova-network/Dockerfile.j2 | 41 ------------------- ...va-network-container-69f8c0b61b3aed5a.yaml | 5 +++ 2 files changed, 5 insertions(+), 41 deletions(-) delete mode 100644 docker/nova/nova-network/Dockerfile.j2 create mode 100644 releasenotes/notes/remove-nova-network-container-69f8c0b61b3aed5a.yaml diff --git a/docker/nova/nova-network/Dockerfile.j2 b/docker/nova/nova-network/Dockerfile.j2 deleted file mode 100644 index d6f4aeb085..0000000000 --- a/docker/nova/nova-network/Dockerfile.j2 +++ /dev/null @@ -1,41 +0,0 @@ -FROM {{ namespace }}/{{ image_prefix }}nova-base:{{ tag }} -MAINTAINER {{ maintainer }} - -{% block nova_network_header %}{% endblock %} - -{% import "macros.j2" as macros with context %} - -{% if install_type == 'binary' %} - {% if base_distro in ['centos', 'oraclelinux', 'rhel'] %} - - {% set nova_network_packages = [ - 'openstack-nova-network', - 'bridge-utils', - 'initscripts' - ] %} - - {% elif base_distro in ['ubuntu'] %} - - {% set nova_network_packages = [ - 'nova-network' - ] %} - - {% endif %} -{% elif install_type == 'source' %} - {% if base_distro in ['centos', 'oraclelinux', 'rhel'] %} - - {% set nova_network_packages = [ - 'initscripts' - ] %} - - {% endif %} - -{{ macros.install_packages(nova_network_packages | customizable("packages")) }} - -{% endif %} - -{% block nova_network_footer %}{% endblock %} -{% block footer %}{% endblock %} -{{ include_footer }} - -USER nova diff --git a/releasenotes/notes/remove-nova-network-container-69f8c0b61b3aed5a.yaml b/releasenotes/notes/remove-nova-network-container-69f8c0b61b3aed5a.yaml new file mode 100644 index 0000000000..4c3edc81bd --- /dev/null +++ b/releasenotes/notes/remove-nova-network-container-69f8c0b61b3aed5a.yaml @@ -0,0 +1,5 @@ +--- +deprecations: + - The nova-network service was deprecated, we remove it from + the nova container. +