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
(cherry picked from commit 4a67e58f79
)
This commit is contained in:
parent
b12db74f59
commit
a9f759d1dc
|
@ -97,10 +97,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||||
] %}
|
] %}
|
||||||
{% if distro_python_version.startswith('3') %}
|
{% if distro_python_version.startswith('3') %}
|
||||||
{% set ironic_conductor_packages = ironic_conductor_packages + [
|
{% set ironic_conductor_packages = ironic_conductor_packages + [
|
||||||
|
'python3-systemd',
|
||||||
'systemd-udev',
|
'systemd-udev',
|
||||||
] %}
|
] %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% set ironic_conductor_packages = ironic_conductor_packages + [
|
{% set ironic_conductor_packages = ironic_conductor_packages + [
|
||||||
|
'systemd-python',
|
||||||
'systemd',
|
'systemd',
|
||||||
] %}
|
] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -113,6 +115,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||||
'ipmitool',
|
'ipmitool',
|
||||||
'parted',
|
'parted',
|
||||||
'psmisc',
|
'psmisc',
|
||||||
|
'python-systemd',
|
||||||
'qemu-utils',
|
'qemu-utils',
|
||||||
'shellinabox',
|
'shellinabox',
|
||||||
'udev',
|
'udev',
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Adds python3-systemd package to ironic-conductor source based
|
||||||
|
container to allow the Ansible deploy interface to function
|
||||||
|
correctly. Fixes bug #1861427
|
Loading…
Reference in New Issue