Merge "python3-novaclient installation via THT" into stable/train

This commit is contained in:
Zuul 2023-02-08 19:24:28 +00:00 committed by Gerrit Code Review
commit 370c34ace2
1 changed files with 13 additions and 0 deletions

View File

@ -103,6 +103,12 @@ parameters:
description: CLI tool used to manage containers.
constraints:
- allowed_values: ['docker', 'podman']
EnableInstanceHA:
default: false
description: Whether to enable an Instance Ha configurarion or not.
This setup requires the Compute role to have the
PacemakerRemote service added to it.
type: boolean
PacemakerBundleOperationTimeout:
type: string
default: ''
@ -196,6 +202,13 @@ outputs:
- {get_param: PacemakerLoggingSource}
step_config: |
include ::tripleo::profile::base::pacemaker
host_prep_tasks:
# Need this until https://bugzilla.redhat.com/show_bug.cgi?id=1857247 is fixed
- name: Make sure python3-novaclient is installed when IHA is enabled
package:
name: python3-novaclient
state: present
when: {get_param: EnableInstanceHA}
upgrade_tasks:
- name: upgrade step 0
when: step|int == 0