Add nova cell v2 setup
Cells are required. This patch adds setup of the default cell. Change-Id: I0bb692997c8f438a9c6172f53a8c553c0b9bbbfe
This commit is contained in:
parent
e649710c78
commit
8168496c9e
@ -100,20 +100,7 @@ class packstack::mariadb::services ()
|
|||||||
host => '%',
|
host => '%',
|
||||||
allowed_hosts => '%',
|
allowed_hosts => '%',
|
||||||
charset => 'utf8',
|
charset => 'utf8',
|
||||||
#TODO(apevec): enable it again when it's fixed upstream in nova
|
|
||||||
# https://bugs.launchpad.net/nova/+bug/1656276
|
|
||||||
setup_cell0 => false,
|
|
||||||
}
|
}
|
||||||
#class { '::nova::db::sync_cell_v2':
|
|
||||||
# transport_url => os_transport_url({
|
|
||||||
# 'transport' => 'rabbit',
|
|
||||||
# 'hosts' => [hiera('CONFIG_AMQP_HOST_URL')],
|
|
||||||
# 'port' => hiera('CONFIG_AMQP_CLIENTS_PORT'),
|
|
||||||
# 'username' => hiera('CONFIG_AMQP_AUTH_USER'),
|
|
||||||
# 'password' => hiera('CONFIG_AMQP_AUTH_PASSWORD'),
|
|
||||||
# 'ssl' => sprintf('%s', hiera('CONFIG_AMQP_SSL_ENABLED')),
|
|
||||||
# })
|
|
||||||
#}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if hiera('CONFIG_PANKO_INSTALL') == 'y' and
|
if hiera('CONFIG_PANKO_INSTALL') == 'y' and
|
||||||
|
@ -52,6 +52,8 @@ class packstack::nova::api ()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
include ::nova::cell_v2::simple_setup
|
||||||
|
|
||||||
$manage_flavors = str2bool(hiera('CONFIG_NOVA_MANAGE_FLAVORS'))
|
$manage_flavors = str2bool(hiera('CONFIG_NOVA_MANAGE_FLAVORS'))
|
||||||
if $manage_flavors {
|
if $manage_flavors {
|
||||||
Class['::nova::api'] -> Nova_flavor<||>
|
Class['::nova::api'] -> Nova_flavor<||>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user