Pass stack name during minor update.

Overcloud minor update fails when stack's name differs.
To bypass it we need pass it to update commands.

Change-Id: Ia6a4792ff8f6214ed6ed87bd79e37266a3a995d5
(cherry picked from commit 203db80568)
(cherry picked from commit 8c82c0a80c)
This commit is contained in:
Yurii Prokulevych 2018-10-29 15:07:29 +01:00
parent c25325489d
commit d3ebb6bbd5
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ source {{ undercloud_rc }}
echo "Running minor update {{ playbook }} playbook for {{ item }} role"
openstack overcloud update run \
--stack {{ overcloud_stack_name }} \
{% if tripleo_upgrade_debug|bool %}
--debug \
{% endif %}
@ -26,6 +27,7 @@ openstack overcloud update run \
echo "Running minor update all playbooks for {{ item }} role"
openstack overcloud update run \
--stack {{ overcloud_stack_name }} \
{% if tripleo_upgrade_debug|bool %}
--debug \
{% endif %}