Skip to content

Commit fee9edb

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "nova-compute: daxio on CentOS 8 is x86-64 only" into stable/victoria
2 parents 87ce9c6 + 43bc9a3 commit fee9edb

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

docker/nova/nova-compute/Dockerfile.j2

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
1414

1515
{% set nova_compute_packages = [
1616
'ceph-common',
17-
'daxio',
1817
'device-mapper-multipath',
1918
'e2fsprogs',
2019
'genisoimage',
@@ -33,6 +32,13 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
3332
'xfsprogs'
3433
] %}
3534

35+
# NOTE(hrw): daxio is part of pmdk which is x86-64 only in CentOS 8
36+
{% if base_arch == 'x86_64' %}
37+
{% set nova_compute_packages = nova_compute_packages + [
38+
'daxio'
39+
] %}
40+
{% endif %}
41+
3642
{{ macros.install_packages(nova_compute_packages | customizable("packages")) }}
3743

3844
{% elif base_package_type == 'deb' %}
@@ -80,7 +86,6 @@ RUN rm -f /etc/nova/nova-compute.conf
8086

8187
{% set nova_compute_packages = [
8288
'ceph-common',
83-
'daxio',
8489
'device-mapper-multipath',
8590
'dosfstools',
8691
'e2fsprogs',
@@ -100,6 +105,13 @@ RUN rm -f /etc/nova/nova-compute.conf
100105
'xfsprogs'
101106
] %}
102107

108+
# NOTE(hrw): daxio is part of pmdk which is x86-64 only in CentOS 8
109+
{% if base_arch == 'x86_64' %}
110+
{% set nova_compute_packages = nova_compute_packages + [
111+
'daxio'
112+
] %}
113+
{% endif %}
114+
103115
{% elif base_package_type == 'deb' %}
104116

105117
{% set nova_compute_packages = [

0 commit comments

Comments
 (0)