Merge "Apply Ironic rolling upgrade logic"

This commit is contained in:
Zuul 2018-07-19 05:12:30 +00:00 committed by Gerrit Code Review
commit d2583735e2

View File

@ -4,6 +4,17 @@
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
ironic-dbsync upgrade
ironic-dbsync online_data_migrations
exit 0
fi
if [[ "${!KOLLA_UPGRADE[@]}" ]]; then
ironic-dbsync upgrade
exit 0
fi
if [[ "${!KOLLA_OSM[@]}" ]]; then
ironic-dbsync online_data_migrations
exit 0
fi