Do not fan out DB sync to all cells

Support syncing cell conductor DBs on a per cell basis so that a
cell can be upgraded in isolation.

Change-Id: I357510a05cacbb9f2cdddbbe9fd06acbce9468ac
This commit is contained in:
Doug Szumski 2019-09-06 14:16:39 +00:00
parent 7cda7ac968
commit 532af2efc8
1 changed files with 2 additions and 2 deletions

View File

@ -1,13 +1,13 @@
#!/bin/bash #!/bin/bash
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
nova-manage db sync nova-manage db sync --local_cell
nova-manage db online_data_migrations nova-manage db online_data_migrations
exit 0 exit 0
fi fi
if [[ "${!KOLLA_UPGRADE[@]}" ]]; then if [[ "${!KOLLA_UPGRADE[@]}" ]]; then
nova-manage db sync nova-manage db sync --local_cell
exit 0 exit 0
fi fi