Fix the undefined operation_type variable.
On the update_noop or upgrade_noop the operation_type is undefined. Change-Id: I8ae541b4148c8a40b1fe6b529a35bc4af8a141c5
This commit is contained in:
parent
4a1c9c4640
commit
4025761838
@ -2,9 +2,9 @@
|
|||||||
#
|
#
|
||||||
# Run online data migration for OpenStack services
|
# Run online data migration for OpenStack services
|
||||||
#
|
#
|
||||||
{% if overcloud_update|bool -%}
|
{% if overcloud_update|bool or update_noop|bool -%}
|
||||||
{% set operation_type = 'update' -%}
|
{% set operation_type = 'update' -%}
|
||||||
{% elif overcloud_upgrade|bool -%}
|
{% elif overcloud_upgrade|bool or upgrade_noop|bool -%}
|
||||||
{% set operation_type = 'upgrade' -%}
|
{% set operation_type = 'upgrade' -%}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
#
|
#
|
||||||
# Prepare conatainer images for overcloud update/upgrade
|
# Prepare conatainer images for overcloud update/upgrade
|
||||||
#
|
#
|
||||||
{% if overcloud_update|bool -%}
|
{% if overcloud_update|bool or update_noop|bool -%}
|
||||||
{% set operation_type = 'update' -%}
|
{% set operation_type = 'update' -%}
|
||||||
{% elif overcloud_upgrade|bool -%}
|
{% elif overcloud_upgrade|bool or upgrade_noop|bool -%}
|
||||||
{% set operation_type = 'upgrade' -%}
|
{% set operation_type = 'upgrade' -%}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
Loading…
Reference in New Issue
Block a user