Merge "Setup cellsv2 for Nova"

This commit is contained in:
Jenkins 2016-08-15 16:40:59 +00:00 committed by Gerrit Code Review
commit 8cf4a81bfc
2 changed files with 6 additions and 0 deletions

View File

@ -936,6 +936,11 @@ function create_flavors {
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
$_XTRACE_LIB_NOVA

View File

@ -1257,6 +1257,7 @@ if is_service_enabled nova; then
echo_summary "Starting Nova"
start_nova
create_flavors
create_cell
fi
if is_service_enabled cinder; then
echo_summary "Starting Cinder"