Setup cellsv2 for Nova
Run "nova-manage cell_v2 simple_cell_setup --transport_url ..." after Nova is started. This will add all compute hosts into a new cell, and setup a db for cell0. Change-Id: I50a955b97d0e18426406c15397bdfbc9e807d908 Depends-On: I559f9c87e89926414b368cac9442dec4eadcb89b
This commit is contained in:
parent
327f8d14b9
commit
b1a4f34bfc
5
lib/nova
5
lib/nova
@ -937,6 +937,11 @@ function create_flavors {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# create_cell(): Group the available hosts into a cell
|
||||||
|
function create_cell {
|
||||||
|
nova-manage cell_v2 simple_cell_setup --transport-url $(get_transport_url)
|
||||||
|
}
|
||||||
|
|
||||||
# Restore xtrace
|
# Restore xtrace
|
||||||
$_XTRACE_LIB_NOVA
|
$_XTRACE_LIB_NOVA
|
||||||
|
|
||||||
|
1
stack.sh
1
stack.sh
@ -1263,6 +1263,7 @@ if is_service_enabled nova; then
|
|||||||
echo_summary "Starting Nova"
|
echo_summary "Starting Nova"
|
||||||
start_nova
|
start_nova
|
||||||
create_flavors
|
create_flavors
|
||||||
|
create_cell
|
||||||
fi
|
fi
|
||||||
if is_service_enabled cinder; then
|
if is_service_enabled cinder; then
|
||||||
echo_summary "Starting Cinder"
|
echo_summary "Starting Cinder"
|
||||||
|
Loading…
Reference in New Issue
Block a user