
Support syncing cell conductor DBs on a per cell basis so that a cell can be upgraded in isolation. Change-Id: I357510a05cacbb9f2cdddbbe9fd06acbce9468ac
18 lines
327 B
Bash
18 lines
327 B
Bash
#!/bin/bash
|
|
|
|
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
|
|
nova-manage db sync --local_cell
|
|
nova-manage db online_data_migrations
|
|
exit 0
|
|
fi
|
|
|
|
if [[ "${!KOLLA_UPGRADE[@]}" ]]; then
|
|
nova-manage db sync --local_cell
|
|
exit 0
|
|
fi
|
|
|
|
if [[ "${!KOLLA_OSM[@]}" ]]; then
|
|
nova-manage db online_data_migrations
|
|
exit 0
|
|
fi
|