Adding NovaMkisofsCmd parameter to nova-compute

Since genisoimage is no longuer maintained, RHEL/CentOS family
is going toward xorriso path which provides dropin replacement.

We leveraging the new puppet parameter added with
Id20319ca2c5d4b458b566ca878ca83db51d240e1

Related: https://bugzilla.redhat.com/show_bug.cgi?id=2002949
Change-Id: Iab5ef0c40fab0f43e7167ef81803b308d179ade4
This commit is contained in:
David Vallee Delisle 2021-10-21 12:02:36 -04:00
parent 20311a0a50
commit 26b05056ed
2 changed files with 15 additions and 0 deletions

View File

@ -121,6 +121,12 @@ parameters:
default: false
description: Whether to enable or not the NFS backend for Cinder
type: boolean
NovaMkisofsCmd:
default: 'mkisofs'
description: Name or path of the tool used for ISO image creation.
type: string
tags:
- role_specific
NovaNfsEnabled:
default: false
description: Whether to enable or not the NFS backend for Nova
@ -911,6 +917,7 @@ resources:
nova::compute::libvirt::file_backed_memory: NovaLibvirtFileBackedMemory
nova::compute::libvirt::volume_use_multipath: NovaLibvirtVolumeUseMultipath
nova::compute::libvirt::hw_machine_type: NovaHWMachineType
nova::compute::mkisofs_cmd: NovaMkisofsCmd
compute_enable_ksm: NovaComputeEnableKsm
nova::compute::rbd::libvirt_images_rbd_pool: NovaRbdPoolName
tripleo::profile::base::nova::compute::nova_nfs_enabled: NovaNfsEnabled
@ -1014,6 +1021,7 @@ resources:
NovaHWMachineType: {get_param: NovaHWMachineType}
NovaComputeEnableKsm: {get_param: NovaComputeEnableKsm}
NovaRbdPoolName: {get_param: NovaRbdPoolName}
NovaMkisofsCmd: {get_param: NovaMkisofsCmd}
NovaNfsEnabled: {get_param: NovaNfsEnabled}
NovaNfsShare: {get_param: NovaNfsShare}
NovaNfsOptions: {get_param: NovaNfsOptions}

View File

@ -0,0 +1,7 @@
---
features:
- |
Since genisoimage was removed from CentOS9 / RHEL9, the nova's default
``mkisofs_cmd`` option will not work anymore. In RHEL/CentOS realm,
``mkisofs`` is an alias to alternatives that either map to ``xorriso`` (9) or
``genisoimage`` (8).