aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Goddard <mark@stackhpc.com>2020-01-29 14:16:27 +0000
committerMark Goddard <mark@stackhpc.com>2020-01-29 14:16:27 +0000
commit397651ec4b5b93a55d0b8b8f69dfb37dd85cfc8d (patch)
treef390b1bac2062fb249d1cf92a962838a058cb029
parent4b4e26262b9e03190c639481fb60a8f4f92c532a (diff)
downloadkolla-397651ec4b5b93a55d0b8b8f69dfb37dd85cfc8d.tar.gz
kolla-397651ec4b5b93a55d0b8b8f69dfb37dd85cfc8d.zip
CentOS 8: Remove shellinabox from ironic-conductor
shellinabox is used by ironic-conductor to provide a browser-based shell to access the consoles of nodes. It is not used by all console drivers, and is not used in the integration with nova serial consoles. The package was previously installed from EPEL7, but is not currently provided by EPEL8. This change removes the package to allow the ironic-conductor image to build. Change-Id: I210d9fddd6948dab1feb5abf59a50bce86f21f0f Partially-Implements: blueprint centos-rhel-8
-rw-r--r--docker/ironic/ironic-conductor/Dockerfile.j28
-rwxr-xr-xkolla/image/build.py1
2 files changed, 6 insertions, 3 deletions
diff --git a/docker/ironic/ironic-conductor/Dockerfile.j2 b/docker/ironic/ironic-conductor/Dockerfile.j2
index dece02e25..ee154ce17 100644
--- a/docker/ironic/ironic-conductor/Dockerfile.j2
+++ b/docker/ironic/ironic-conductor/Dockerfile.j2
@@ -19,11 +19,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'openstack-ironic-staging-drivers',
'parted',
'psmisc',
- 'shellinabox',
'util-linux',
'xfsprogs'
] %}
+ # FIXME(mgoddard): Removed shellinabox which is not currently provided
+ # by EPEL8.
{% if distro_python_version.startswith('3') %}
{% set ironic_conductor_packages = ironic_conductor_packages + [
'python3dist\(ansible\)',
@@ -46,6 +47,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'python-scciclient',
'python-sushy',
'python2-ImcSdk',
+ 'shellinabox',
'systemd-python'
] %}
{% endif %}
@@ -92,16 +94,18 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'ipmitool',
'parted',
'psmisc',
- 'shellinabox',
'util-linux',
'xfsprogs',
] %}
+ # FIXME(mgoddard): Removed shellinabox which is not currently provided
+ # by EPEL8.
{% if distro_python_version.startswith('3') %}
{% set ironic_conductor_packages = ironic_conductor_packages + [
'systemd-udev',
] %}
{% else %}
{% set ironic_conductor_packages = ironic_conductor_packages + [
+ 'shellinabox',
'systemd',
] %}
{% endif %}
diff --git a/kolla/image/build.py b/kolla/image/build.py
index a70919842..ef5dcea19 100755
--- a/kolla/image/build.py
+++ b/kolla/image/build.py
@@ -153,7 +153,6 @@ UNBUILDABLE_IMAGES = {
"glance-base", # Missing Ceph repo
"gnocchi-base", # Missing Ceph repo
"hacluster-base", # Missing hacluster repo
- "ironic-conductor", # Missing shellinabox package
"kibana", # Missing elasticsearch repo
"manila-share", # Missing Ceph repo
"mongodb", # Missing mongodb and mongodb-server packages