python3-novaclient installation via THT
Let's require python3-novaclient via tht and host_prep_tasks and remove the need to install it via puppet. Change-Id: I3dbe35e2037c02cf0436b173bb42578f2a0b2db3
This commit is contained in:
parent
785c9ca36b
commit
db55155d66
@ -103,6 +103,12 @@ parameters:
|
|||||||
description: CLI tool used to manage containers.
|
description: CLI tool used to manage containers.
|
||||||
constraints:
|
constraints:
|
||||||
- allowed_values: ['docker', 'podman']
|
- 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:
|
PacemakerBundleOperationTimeout:
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
@ -204,6 +210,13 @@ outputs:
|
|||||||
- {get_param: PacemakerLoggingSource}
|
- {get_param: PacemakerLoggingSource}
|
||||||
step_config: |
|
step_config: |
|
||||||
include tripleo::profile::base::pacemaker
|
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:
|
upgrade_tasks:
|
||||||
- name: upgrade step 0
|
- name: upgrade step 0
|
||||||
when: step|int == 0
|
when: step|int == 0
|
||||||
|
Loading…
Reference in New Issue
Block a user