瀏覽代碼

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 1 月之前
父節點
當前提交
532af2efc8
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      docker/nova/nova-conductor/extend_start.sh

+ 2
- 2
docker/nova/nova-conductor/extend_start.sh 查看文件

@@ -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…
取消
儲存