Apply Ironic rolling upgrade logic
This patchset apply Ironic rolling upgrade logic [1][2]: - Add ironic-dbsync online_data_migration to ironic-api image. [1] https://docs.openstack.org/ironic/latest/contributor/rolling-upgrades.html [2] https://docs.openstack.org/ironic/latest/admin/upgrade-guide.html#rolling-upgrades Co-Authored-By: Ha Manh Dong <donghm@vn.fujitsu.com> Change-Id: I14edf639e5120ea9c81252295161b76bc4514cbe Implements: blueprint apply-service-upgrade-procedure
This commit is contained in:
parent
b4ff157327
commit
93765f9ef0
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user