Browse Source

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
changes/57/681057/1
Doug Szumski 2 weeks ago
parent
commit
532af2efc8
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      docker/nova/nova-conductor/extend_start.sh

+ 2
- 2
docker/nova/nova-conductor/extend_start.sh View File

@@ -1,13 +1,13 @@
1 1
 #!/bin/bash
2 2
 
3 3
 if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
4
-    nova-manage db sync
4
+    nova-manage db sync --local_cell
5 5
     nova-manage db online_data_migrations
6 6
     exit 0
7 7
 fi
8 8
 
9 9
 if [[ "${!KOLLA_UPGRADE[@]}" ]]; then
10
-    nova-manage db sync
10
+    nova-manage db sync --local_cell
11 11
     exit 0
12 12
 fi
13 13
 

Loading…
Cancel
Save