Merge "Cleanup nova cell configuration before config it"
This commit is contained in:
commit
b3a7125fcd
2
lib/nova
2
lib/nova
@ -589,6 +589,8 @@ function create_nova_conf {
|
|||||||
local vhost
|
local vhost
|
||||||
conf=$(conductor_conf $i)
|
conf=$(conductor_conf $i)
|
||||||
vhost="nova_cell${i}"
|
vhost="nova_cell${i}"
|
||||||
|
# clean old conductor conf
|
||||||
|
rm -f $conf
|
||||||
iniset $conf database connection `database_connection_url nova_cell${i}`
|
iniset $conf database connection `database_connection_url nova_cell${i}`
|
||||||
iniset $conf conductor workers "$API_WORKERS"
|
iniset $conf conductor workers "$API_WORKERS"
|
||||||
iniset $conf DEFAULT debug "$ENABLE_DEBUG_LOG_LEVEL"
|
iniset $conf DEFAULT debug "$ENABLE_DEBUG_LOG_LEVEL"
|
||||||
|
Loading…
Reference in New Issue
Block a user