Use the new limit option.
The nodes and roles options will be deprecated in future version on CLI for upgrade and update run. Change-Id: Ieac84692304248dbe3f6e2f1a97096b00690cd20 Closes-bug: #1815418
This commit is contained in:
parent
3a1c1d6d07
commit
f3bbe18b7d
@ -5,5 +5,5 @@ set -euo pipefail
|
||||
source {{ undercloud_rc }}
|
||||
openstack overcloud upgrade run \
|
||||
--stack {{ overcloud_stack_name }} \
|
||||
--nodes {{ item }} \
|
||||
--limit {{ item }} \
|
||||
--skip-tags validation | tee {{ working_dir}}/overcloud_upgrade_{{ item }}.log
|
||||
|
@ -8,5 +8,5 @@ openstack overcloud upgrade run \
|
||||
{% if overcloud_ssh_user %}
|
||||
--ssh-user {{ overcloud_ssh_user }} \
|
||||
{% endif %}
|
||||
--roles {{ item }} \
|
||||
--limit {{ item }} \
|
||||
--skip-tags validation | tee {{ working_dir}}/overcloud_upgrade_{{ item }}.log
|
||||
|
@ -16,7 +16,7 @@ openstack overcloud update run \
|
||||
{% if tripleo_upgrade_debug|bool %}
|
||||
--debug \
|
||||
{% endif %}
|
||||
--nodes {{ item }} --playbook {{ playbook }} 2>&1
|
||||
--limit {{ item }} --playbook {{ playbook }} 2>&1
|
||||
|
||||
{%- endfor -%}
|
||||
|
||||
@ -28,6 +28,6 @@ openstack overcloud update run \
|
||||
{% if tripleo_upgrade_debug|bool %}
|
||||
--debug \
|
||||
{% endif %}
|
||||
--nodes {{ item }} --playbook all 2>&1
|
||||
--limit {{ item }} --playbook all 2>&1
|
||||
|
||||
{% endif %}
|
||||
|
@ -36,7 +36,7 @@ openstack overcloud upgrade run \
|
||||
{% if tripleo_upgrade_debug|bool -%}
|
||||
--debug \
|
||||
{% endif -%}
|
||||
--roles {{ item }} --playbook {{ playbook }} 2>&1
|
||||
--limit {{ item }} --playbook {{ playbook }} 2>&1
|
||||
|
||||
echo "[$(date)] Finished major upgrade {{ playbook }} playbook for {{ item }} role"
|
||||
|
||||
@ -97,7 +97,7 @@ openstack overcloud upgrade run \
|
||||
{% if tripleo_upgrade_debug|bool %}
|
||||
--debug \
|
||||
{% endif -%}
|
||||
--roles {{ item }} --playbook all 2>&1
|
||||
--limit {{ item }} --playbook all 2>&1
|
||||
|
||||
echo "[$(date)] Finished major upgrade for {{ item }} role"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user