Skip to content
Snippets Groups Projects
Commit f209dee1 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Install the packages needed by different ironic drivers"

parents e3036c33 7786f393
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,8 @@ MAINTAINER {{ maintainer }} ...@@ -7,6 +7,8 @@ MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %} {% if install_type == 'binary' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
# TODO(Jeffrey4l): no python-scciclient, python-oneviewclient,
# python-seamicroclient, pyremotevbox package
{% set ironic_conductor_packages = [ {% set ironic_conductor_packages = [
'util-linux', 'util-linux',
'openstack-ironic-conductor', 'openstack-ironic-conductor',
...@@ -14,9 +16,19 @@ MAINTAINER {{ maintainer }} ...@@ -14,9 +16,19 @@ MAINTAINER {{ maintainer }}
'ipmitool', 'ipmitool',
'parted', 'parted',
'gdisk', 'gdisk',
'psmisc' 'psmisc',
'python-dracclient',
'python-proliantutils',
'python-ironic-inspector-client',
'python-pyghmi',
'pysnmp',
'python-UcsSdk',
'openwsman-python',
'python2-ImcSdk'
] %} ] %}
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
# TODO(jeffrey4l): no python-dracclient, python-oneviewclient, UcsSdk,
# pyremotevbox, ImcSdk package
{% set ironic_conductor_packages = [ {% set ironic_conductor_packages = [
'bsdmainutils', 'bsdmainutils',
'ironic-conductor', 'ironic-conductor',
...@@ -24,7 +36,14 @@ MAINTAINER {{ maintainer }} ...@@ -24,7 +36,14 @@ MAINTAINER {{ maintainer }}
'ipmitool', 'ipmitool',
'gdisk', 'gdisk',
'psmisc', 'psmisc',
'parted' 'parted',
'python-proliantutils',
'python-ironic-inspector-client',
'python-pyghmi',
'python-pysnmp4',
'python-scciclient',
'python-seamicroclient',
'python-openwsman'
] %} ] %}
{% endif %} {% endif %}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}
...@@ -48,6 +67,7 @@ MAINTAINER {{ maintainer }} ...@@ -48,6 +67,7 @@ MAINTAINER {{ maintainer }}
'parted' 'parted'
] %} ] %}
{% endif %} {% endif %}
RUN /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt -r /ironic/driver-requirements.txt
{% endif %} {% endif %}
{{ macros.install_packages(ironic_conductor_packages | customizable("packages")) }} {{ macros.install_packages(ironic_conductor_packages | customizable("packages")) }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment