aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorAntony Messerli <amesserl@rackspace.com>2020-01-30 08:16:18 -0600
committerAntony Messerli <amesserl@rackspace.com>2020-01-30 22:00:10 -0600
commit4a67e58f7971641c55247f02985e13ef391ca7ab (patch)
tree473388de8e0f1faddbdd9674f4378b3d23db328a /docker
parentf8c6762adeb171b6c4d8a670efc68c3575d0c2de (diff)
downloadkolla-4a67e58f7971641c55247f02985e13ef391ca7ab.tar.gz
kolla-4a67e58f7971641c55247f02985e13ef391ca7ab.zip
Adds python3-systemd for ansible deploy interface
When doing a source install, ironic doesn't have python3-systemd as a dependency and the current ironic-conductor container doesn't install the required dependencies which causes the ansible deploy interface to fail with the error, "Systemd bindings do not exist". This adds the needed dependencies when doing a source build. This installs the needed files for both rpm and deb builds on python 2.x and 3.x. Change-Id: I5d1bcb0f7d7902b4e122c12697483433bcf52ca2 Closes-Bug: #1861427
Diffstat (limited to 'docker')
-rw-r--r--docker/ironic/ironic-conductor/Dockerfile.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/ironic/ironic-conductor/Dockerfile.j2 b/docker/ironic/ironic-conductor/Dockerfile.j2
index ee154ce17..e5319e069 100644
--- a/docker/ironic/ironic-conductor/Dockerfile.j2
+++ b/docker/ironic/ironic-conductor/Dockerfile.j2
@@ -101,11 +101,13 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
# by EPEL8.
{% if distro_python_version.startswith('3') %}
{% set ironic_conductor_packages = ironic_conductor_packages + [
+ 'python3-systemd',
'systemd-udev',
] %}
{% else %}
{% set ironic_conductor_packages = ironic_conductor_packages + [
'shellinabox',
+ 'systemd-python',
'systemd',
] %}
{% endif %}
@@ -127,6 +129,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'ipmitool',
'parted',
'psmisc',
+ 'python3-systemd',
'qemu-utils',
'shellinabox',
'udev',