Add validation-errors-nonfatal in ceph upgrade.
Upstream CI job doesn't get to start the
ceph upgrade as the pre-validations are
failing in mistral. This patch adds the
--validation-errors-nonfatal when the
tripleo_upgrade_validations_non_fatal
parameters is set to true.
Closes-Bug: #1770361
Change-Id: I7b4091a4603688b19669ff70afcfa852984a820e
(cherry picked from commit b8b71e66f1
)
This commit is contained in:
parent
009cd43128
commit
705219eae0
|
@ -10,7 +10,7 @@ openstack overcloud ceph-upgrade run \
|
|||
--stack {{ overcloud_stack_name }} \
|
||||
{% if initial_env_file is defined and initial_env_file.stdout_lines|length > 0 %}
|
||||
{% for _env in initial_env_file.stdout_lines %}
|
||||
-e {{ _env }} \
|
||||
-e {{ _env }} \
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if cli_converted_options|default(false)|bool %}
|
||||
|
@ -20,6 +20,9 @@ openstack overcloud ceph-upgrade run \
|
|||
-e {{working_dir}}/ceph-ansible-env.yaml \
|
||||
--ceph-ansible-playbook '/usr/share/ceph-ansible/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml,/usr/share/ceph-ansible/infrastructure-playbooks/rolling_update.yml' \
|
||||
{% endif %}
|
||||
{% if tripleo_upgrade_validations_non_fatal|bool %}
|
||||
--validation-errors-nonfatal \
|
||||
{% endif %}
|
||||
--container-registry-file {{ working_dir }}/{{ container_registry_file }} \
|
||||
{% if not ffu_overcloud_upgrade %}--roles-file {{ roles_data }}{% endif %} 2>&1
|
||||
|
||||
|
|
Loading…
Reference in New Issue