Nova ubuntu binary container

Change-Id: I1bb609dc4d77250c45ffa7e00ea603d24cbcfd6e
Partially-Implements: blueprint binary-ubuntu
This commit is contained in:
Artur Zarzycki 2015-12-30 02:23:33 +01:00
parent 6fcde0dab1
commit 91d3c57fd1
10 changed files with 70 additions and 0 deletions

View File

@ -7,6 +7,13 @@ MAINTAINER {{ maintainer }}
RUN yum -y install openstack-nova-api \ RUN yum -y install openstack-nova-api \
&& yum clean all && yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
nova-api \
python-memcache \
&& apt-get clean
{% endif %} {% endif %}
{% endif %} {% endif %}

View File

@ -15,6 +15,14 @@ RUN yum -y install \
bridge-utils \ bridge-utils \
&& yum clean all && yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
nova-common \
python-nova \
bridge-utils \
&& apt-get clean
{% endif %} {% endif %}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

View File

@ -8,6 +8,12 @@ RUN yum -y install \
openstack-nova-compute \ openstack-nova-compute \
&& yum clean all && yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
nova-compute \
&& apt-get clean
{% endif %} {% endif %}
{% endif %} {% endif %}

View File

@ -11,6 +11,18 @@ RUN yum -y install \
ceph-common \ ceph-common \
&& yum clean all && yum clean all
{% elif base_distro in ['ubuntu'] %}
# ironic as workaround https://bugs.launchpad.net/packstack/+bug/1430388
RUN apt-get install -y --no-install-recommends \
nova-compute \
openvswitch-switch \
sysfsutils \
ceph-common \
ironic-common \
python-ironicclient \
&& apt-get clean
{% endif %} {% endif %}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

View File

@ -7,6 +7,12 @@ MAINTAINER {{ maintainer }}
RUN yum -y install openstack-nova-conductor \ RUN yum -y install openstack-nova-conductor \
&& yum clean all && yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
nova-conductor \
&& apt-get clean
{% endif %} {% endif %}
{% endif %} {% endif %}

View File

@ -7,6 +7,13 @@ MAINTAINER {{ maintainer }}
RUN yum -y install openstack-nova-console \ RUN yum -y install openstack-nova-console \
&& yum clean all && yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
nova-consoleauth \
python-memcache \
&& apt-get clean
{% endif %} {% endif %}
{% endif %} {% endif %}

View File

@ -10,6 +10,12 @@ RUN yum -y install \
initscripts \ initscripts \
&& yum clean all && yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
nova-network \
&& apt-get clean
{% endif %} {% endif %}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

View File

@ -9,6 +9,12 @@ RUN yum -y install \
openstack-nova-novncproxy \ openstack-nova-novncproxy \
&& yum clean all && yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
nova-novncproxy \
&& apt-get clean
{% endif %} {% endif %}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}

View File

@ -7,6 +7,12 @@ MAINTAINER {{ maintainer }}
RUN yum -y install openstack-nova-scheduler \ RUN yum -y install openstack-nova-scheduler \
&& yum clean all && yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
nova-scheduler \
&& apt-get clean
{% endif %} {% endif %}
{% endif %} {% endif %}

View File

@ -7,6 +7,12 @@ MAINTAINER {{ maintainer }}
RUN yum -y install openstack-nova-spicehtml5proxy \ RUN yum -y install openstack-nova-spicehtml5proxy \
&& yum clean all && yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
nova-spiceproxy \
&& apt-get clean
{% endif %} {% endif %}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}