diff --git a/lib/nova b/lib/nova index af5d1222a0..4c079f46b9 100644 --- a/lib/nova +++ b/lib/nova @@ -937,6 +937,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 diff --git a/stack.sh b/stack.sh index 68e3d936b8..948475a270 100755 --- a/stack.sh +++ b/stack.sh @@ -1263,6 +1263,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"