Disable Leapp when using OOOQ

When using OOOQ, don't enable the Leapp chunks of upgrade workflow yet.

Change-Id: Ia108af3799dfd1be24c6ea738e42f0cde19c90c3
This commit is contained in:
Jiri Stransky 2019-06-13 13:16:26 +02:00
parent 010ce4e1ea
commit 181111e62d
3 changed files with 13 additions and 0 deletions

View File

@ -106,6 +106,14 @@
force: true
when: upgrade_remove_rpm|bool
- name: create disable-leapp env file
template:
src: "disable-leapp.yaml.j2"
dest: "{{ working_dir }}/disable-leapp.yaml"
mode: 0755
force: true
when: use_oooq|default(false)|bool
- name: import tasks from sh_config_skip_host
import_tasks: ../common/ssh_config_skip_host.yml

View File

@ -0,0 +1,2 @@
parameter_defaults:
UpgradeLeappEnabled: false

View File

@ -43,6 +43,9 @@ openstack overcloud{% if ffu_overcloud_upgrade %} ffwd-upgrade {% else %} upgrad
{% if upgrade_remove_rpm|default(false)|bool -%}
-e {{ working_dir }}/remove-packages.yaml \
{% endif -%}
{% if use_oooq|default(false)|bool -%}
-e {{ working_dir }}/disable-leapp.yaml \
{% endif -%}
{% if upgrade_prepare_extra_params -%}
-e {{ upgrade_prepare_extra_params | join(' -e ') }} \
{% endif -%}