aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorRyan Hallisey <rhallise@redhat.com>2016-03-03 02:39:47 -0500
committerRyan Hallisey <rhallise@redhat.com>2016-03-03 05:00:50 -0500
commit930737efae151748546ac7c6cb2c4865e75a3a5d (patch)
tree8aa18061a3a96427862dfe67227290d9b28f93f1 /docker
parent0f5c22c169f27993099fef05a0e07d54e549fc61 (diff)
downloadkolla-930737efae151748546ac7c6cb2c4865e75a3a5d.tar.gz
kolla-930737efae151748546ac7c6cb2c4865e75a3a5d.zip
Libvirt needs openvswitch to connect br-int
Libvirt is trying to create a port on br-int and is failing because ovs is not installed. Co-authored-by: Ian Main <imain@redhat.com> Closes-bug: 1552717 Change-Id: I6ed0c1ae5b27b58e4c22bcbe7e674f66cde48990
Diffstat (limited to 'docker')
-rw-r--r--docker/nova/nova-base/Dockerfile.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/nova/nova-base/Dockerfile.j2 b/docker/nova/nova-base/Dockerfile.j2
index db46bc7cf..f9f465f16 100644
--- a/docker/nova/nova-base/Dockerfile.j2
+++ b/docker/nova/nova-base/Dockerfile.j2
@@ -9,6 +9,7 @@ RUN yum -y install \
python-keystoneclient \
python-cinderclient \
bridge-utils \
+ openvswitch \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
@@ -17,6 +18,7 @@ RUN apt-get install -y --no-install-recommends \
nova-common \
python-nova \
bridge-utils \
+ openvswitch-switch \
&& apt-get clean
{% endif %}
@@ -24,6 +26,7 @@ RUN apt-get install -y --no-install-recommends \
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
RUN yum -y install bridge-utils \
+ openvswitch \
&& yum clean all
{% elif base_distro in ['ubuntu', 'debian'] %}