Browse Source

Merge "Enable tripleo_free strategy for upgrade" into stable/victoria

changes/79/770779/2
Zuul 9 months ago
committed by Gerrit Code Review
parent
commit
cb14f3e574
  1. 3
      common/deploy-steps.j2
  2. 4
      deployment/tripleo-packages/tripleo-packages-baremetal-puppet.yaml

3
common/deploy-steps.j2

@ -942,6 +942,7 @@ outputs:
deploy_target_host: "DEPLOY_TARGET_HOST"
{%- for step in range(0,upgrade_steps_max) %}
- hosts: DEPLOY_TARGET_HOST
strategy: tripleo_free
name: Upgrade tasks for step {{step}}
become: true
gather_facts: "{% raw %}{{ gather_facts | default(false) }}{% endraw %}"
@ -981,6 +982,7 @@ outputs:
deploy_source_host: "DEPLOY_SOURCE_HOST"
deploy_target_host: "DEPLOY_TARGET_HOST"
- hosts: DEPLOY_TARGET_HOST
strategy: tripleo_free
any_errors_fatal: yes
tasks:
- include_tasks: post_upgrade_steps_tasks.yaml
@ -1008,6 +1010,7 @@ outputs:
deploy_target_host: "DEPLOY_TARGET_HOST"
{%- for step in range(external_upgrade_steps_max) %}
- hosts: DEPLOY_SOURCE_HOST
strategy: tripleo_free
name: External upgrade step {{step}}
gather_facts: "{% raw %}{{ gather_facts | default(false) }}{% endraw %}"
any_errors_fatal: yes

4
deployment/tripleo-packages/tripleo-packages-baremetal-puppet.yaml

@ -213,10 +213,6 @@ outputs:
- name: reboot to perform the upgrade
reboot:
reboot_timeout: "{{upgrade_leapp_reboot_timeout}}"
- name: Clear gathered facts from all currently targeted hosts
meta: clear_facts
- name: Force facts refresh after OS upgrade to refresh cache.
setup:
- name: Package and repo update tasks
when: step|int == 0

Loading…
Cancel
Save