瀏覽代碼

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
tags/9.0.0.0rc1
Doug Szumski 4 月之前
父節點
當前提交
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 @@
#!/bin/bash

if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
nova-manage db sync
nova-manage db sync --local_cell
nova-manage db online_data_migrations
exit 0
fi

if [[ "${!KOLLA_UPGRADE[@]}" ]]; then
nova-manage db sync
nova-manage db sync --local_cell
exit 0
fi


Loading…
取消
儲存