Source type nova-compute and neutron-agents - no ovs-vsctl

When booting a vm with centos-source nova-compute and
some of neutron-agents fails to find ovs-vsctl binary

Change-Id: If1e7b6513babd5623666f01c68815ea8d0a05428
Closes-Bug: #1495470
This commit is contained in:
Vladislav Belogrudov 2015-09-14 16:29:10 +03:00
parent 946554cfe5
commit 13d4df321a
2 changed files with 6 additions and 1 deletions

View File

@ -20,7 +20,11 @@ RUN echo '{{ install_type}} not yet available for {{ base_distro }}' \
{% endif %}
{% elif install_type == 'source' %}
{% if base_distro in ['ubuntu', 'debian'] %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
RUN yum -y install openvswitch
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
iptables \

View File

@ -15,6 +15,7 @@ RUN yum -y install openstack-nova-compute \
RUN yum -y install \
libvirt-python \
openvswitch \
qemu-img \
sysfsutils \
&& yum clean all