Glance-api fails due to absent multipath tools

Closes-Bug: #2015500
Change-Id: Ifa095a4a5a4a2476b356b082b9b57b491c9e29db
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
This commit is contained in:
Maksim Malchuk 2023-04-13 14:06:38 +03:00
parent 32922bbbae
commit d23ace3fa6

View File

@ -8,9 +8,13 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% import "macros.j2" as macros with context %}
{% if base_package_type == 'rpm' %}
{% set glance_api_packages = ['qemu-img'] %}
{% set glance_api_packages = [
'device-mapper-multipath',
'qemu-img'
] %}
{% elif base_package_type == 'deb' %}
{% set glance_api_packages = [
'multipath-tools',
'nfs-common',
'qemu-utils'
] %}