Add stack name option to steps missing it
This change adds the stack name option to allow running these steps on environments using a non-default stack name. Change-Id: I3657df7b1467feb18587318da994d126237eaa70
This commit is contained in:
parent
b8b71e66f1
commit
460008a5ff
@ -7,6 +7,7 @@ echo "[$(date)] Started {% if ffu_overcloud_upgrade %} ffwd-upgrade {% else %} m
|
||||
|
||||
openstack overcloud ceph-upgrade run \
|
||||
--templates {{ tht_directory }} \
|
||||
--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 }} \
|
||||
|
@ -3,4 +3,7 @@
|
||||
set -euo pipefail
|
||||
|
||||
source {{ undercloud_rc }}
|
||||
openstack overcloud upgrade run --nodes {{ item }} --skip-tags validation | tee {{ working_dir}}/overcloud_upgrade_{{ item }}.log
|
||||
openstack overcloud upgrade run \
|
||||
--stack {{ overcloud_stack_name }} \
|
||||
--nodes {{ item }} \
|
||||
--skip-tags validation | tee {{ working_dir}}/overcloud_upgrade_{{ item }}.log
|
||||
|
@ -3,4 +3,7 @@
|
||||
set -euo pipefail
|
||||
|
||||
source {{ undercloud_rc }}
|
||||
openstack overcloud upgrade run --roles {{ item }} --skip-tags validation | tee {{ working_dir}}/overcloud_upgrade_{{ item }}.log
|
||||
openstack overcloud upgrade run \
|
||||
--stack {{ overcloud_stack_name }} \
|
||||
--roles {{ item }} \
|
||||
--skip-tags validation | tee {{ working_dir}}/overcloud_upgrade_{{ item }}.log
|
||||
|
@ -3,5 +3,5 @@
|
||||
set -euo pipefail
|
||||
|
||||
source {{ undercloud_rc }}
|
||||
openstack overcloud ffwd-upgrade run --yes {% if overcloud_ssh_user != '' %} --ssh-user {{ overcloud_ssh_user }} {% endif %} | tee {{ working_dir}}/overcloud_upgrade_run.log
|
||||
openstack overcloud ffwd-upgrade run --yes --stack {{ overcloud_stack_name }} {% if overcloud_ssh_user != '' %} --ssh-user {{ overcloud_ssh_user }} {% endif %} | tee {{ working_dir}}/overcloud_upgrade_run.log
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user