Add CephAnsibleRepo warning to make this validation more flexible
Under specific scenarios (FFU) we have ceph-ansible installed but
no repo is available on the system due to the leapp process.
This patch expose an existing parameter (always hard-coded to true)
to let the validation print the warning but avoiding the whole
playbook failing on the CephAnsibleRepo task.
Change-Id: I7083e4dc8b4d14f33837ffe7cc6299ea1ac4b70f
(cherry picked from commit 6c33feb305
)
This commit is contained in:
parent
c95be29ffc
commit
82d8fda57d
|
@ -302,6 +302,13 @@ parameters:
|
|||
package. This value can be used by tripleo-validations to double check
|
||||
the right ceph-ansible version is installed.
|
||||
default: 'centos-ceph-nautilus'
|
||||
CephAnsibleWarning:
|
||||
type: boolean
|
||||
description: |
|
||||
In particular scenarios we want this validation to show the warning but
|
||||
don't fail because the package is installed on the system but repos are
|
||||
disabled.
|
||||
default: true
|
||||
CinderEnableRbdBackend:
|
||||
default: false
|
||||
description: Whether to enable or not the Rbd backend for Cinder
|
||||
|
@ -631,7 +638,7 @@ outputs:
|
|||
role: ceph
|
||||
tasks_from: ceph-ansible-installed
|
||||
vars:
|
||||
fail_without_ceph_ansible: true
|
||||
fail_without_ceph_ansible: {get_param: CephAnsibleWarning}
|
||||
ceph_ansible_repo: {get_param: CephAnsibleRepo}
|
||||
tags:
|
||||
- opendev-validation
|
||||
|
|
Loading…
Reference in New Issue