Add installation of dbus package
In kolla-ansible, we perform a precheck to see if the python library for dbus exists, but we do not install it in the bootstrap. This patch addresses this issue by adding the installation of the dbus python library. Change-Id: Idfd4ffd0f80a2f22098639f81be69c664198b6c8 Closes-Bug: #2021585 (cherry picked from commit 1fd93d145a498e1d68e707701e6b3879a6505a58)
This commit is contained in:
parent
0264462a4d
commit
287217cfee
@ -4,12 +4,14 @@ docker_sdk_packages:
|
||||
- "python3-setuptools"
|
||||
- "python3-pip"
|
||||
- "{% if docker_sdk_python_externally_managed | default(false) and virtualenv is none %}python3-docker{% endif %}"
|
||||
- "{% if docker_sdk_python_externally_managed | default(false) and virtualenv is none %}python3-dbus{% endif %}"
|
||||
|
||||
# List of Python packages to install via Pip.
|
||||
# NOTE(mnasiadka) docker 3.0.0 is in kolla-ansible requirements
|
||||
docker_sdk_pip_packages:
|
||||
- "docker>=6.0.0,<7.0.0"
|
||||
- "requests<2.32"
|
||||
- "dbus-python"
|
||||
|
||||
# APT cache TTL in seconds.
|
||||
apt_cache_valid_time: 3600
|
||||
|
@ -15,6 +15,7 @@ ubuntu_pkg_install:
|
||||
|
||||
openeuler_pkg_install:
|
||||
- python3-docker
|
||||
- python3-dbus
|
||||
|
||||
redhat_pkg_install:
|
||||
- git
|
||||
|
@ -4,11 +4,13 @@ podman_sdk_packages:
|
||||
- "python3-setuptools"
|
||||
- "python3-pip"
|
||||
- "{% if podman_sdk_python_externally_managed | default(false) and virtualenv is none %}python3-podman{% endif %}"
|
||||
- "{% if podman_sdk_python_externally_managed | default(false) and virtualenv is none %}python3-dbus{% endif %}"
|
||||
|
||||
# List of Python packages to install via Pip.
|
||||
# NOTE(kevko) podman 4.7.0 is built in debian as apt package, so..
|
||||
podman_sdk_pip_packages:
|
||||
- "podman>=4.7.0"
|
||||
- "dbus-python"
|
||||
|
||||
# APT cache TTL in seconds.
|
||||
apt_cache_valid_time: 3600
|
||||
|
Loading…
x
Reference in New Issue
Block a user