Remove enable_(mistral|zaqar) options
Disabling either of these features is going to result in a useless undercloud now, so there's no point exposing them as options. Change-Id: I2c54ec066fcc321fefe473038631efe9ced61936
This commit is contained in:
parent
74223b7a84
commit
e465ca4e70
|
@ -527,7 +527,6 @@ if str2bool(hiera('enable_docker_registry', true)) {
|
|||
}
|
||||
}
|
||||
|
||||
if str2bool(hiera('enable_mistral', true)) {
|
||||
include ::mistral
|
||||
$mistral_dsn = split(hiera('mistral::database_connection'), '[@:/?]')
|
||||
class { '::mistral::db::mysql':
|
||||
|
@ -554,7 +553,6 @@ if str2bool(hiera('enable_mistral', true)) {
|
|||
# db-populate calls inspectorclient, which will use the keystone endpoint to
|
||||
# check inspector's version. So that's needed before db-populate is executed.
|
||||
Class['::ironic::keystone::auth_inspector'] ~> Exec['mistral-db-populate']
|
||||
}
|
||||
|
||||
if str2bool(hiera('enable_ui', true)) {
|
||||
include ::tripleo::profile::base::ui
|
||||
|
@ -564,7 +562,6 @@ if str2bool(hiera('enable_validations', true)) {
|
|||
include ::tripleo::profile::base::validations
|
||||
}
|
||||
|
||||
if str2bool(hiera('enable_zaqar', true)) {
|
||||
include ::mongodb::globals
|
||||
include ::mongodb::server
|
||||
include ::mongodb::client
|
||||
|
@ -581,7 +578,6 @@ if str2bool(hiera('enable_zaqar', true)) {
|
|||
zaqar::server_instance{ '1':
|
||||
transport => 'websocket'
|
||||
}
|
||||
}
|
||||
|
||||
if str2bool(hiera('enable_cinder', true)) {
|
||||
$cinder_dsn = split(hiera('cinder::database_connection'), '[@:/?]')
|
||||
|
|
|
@ -666,9 +666,9 @@ tripleo::haproxy::panko: "%{hiera('enable_telemetry')}"
|
|||
tripleo::haproxy::ironic: true
|
||||
tripleo::haproxy::ironic_inspector: true
|
||||
tripleo::haproxy::rabbitmq: true
|
||||
tripleo::haproxy::mistral: {{ENABLE_MISTRAL}}
|
||||
tripleo::haproxy::zaqar_api: {{ENABLE_ZAQAR}}
|
||||
tripleo::haproxy::zaqar_ws: {{ENABLE_ZAQAR}}
|
||||
tripleo::haproxy::mistral: true
|
||||
tripleo::haproxy::zaqar_api: true
|
||||
tripleo::haproxy::zaqar_ws: true
|
||||
tripleo::haproxy::docker_registry: true
|
||||
|
||||
# Keepalived
|
||||
|
@ -709,8 +709,6 @@ mistral::keystone_tenant: 'service'
|
|||
swift::proxy::workers: "%{::os_workers}"
|
||||
# Options
|
||||
enable_tempest: {{ENABLE_TEMPEST}}
|
||||
enable_mistral: {{ENABLE_MISTRAL}}
|
||||
enable_zaqar: {{ENABLE_ZAQAR}}
|
||||
enable_validations: {{ENABLE_VALIDATIONS}}
|
||||
enable_telemetry: {{ENABLE_TELEMETRY}}
|
||||
enable_legacy_ceilometer_api: {{ENABLE_LEGACY_CEILOMETER_API}}
|
||||
|
|
|
@ -99,7 +99,6 @@ openstack quota set --cores -1 --instances -1 --ram -1 $(openstack project show
|
|||
# instack-prepare-for-overcloud
|
||||
rm -rf $HOME/.novaclient
|
||||
|
||||
if [ "$(hiera enable_mistral)" = "true" ]; then
|
||||
# load workflows
|
||||
for workbook in $(mistral workbook-list | grep tripleo | cut -f 2 -d ' '); do
|
||||
mistral workbook-delete $workbook
|
||||
|
@ -110,7 +109,6 @@ if [ "$(hiera enable_mistral)" = "true" ]; then
|
|||
for workbook in $(ls /usr/share/openstack-tripleo-common/workbooks/*); do
|
||||
mistral workbook-create $workbook
|
||||
done
|
||||
fi
|
||||
|
||||
# IP forwarding is needed to allow the overcloud nodes access to the outside
|
||||
# internet in cases where they are on an isolated network.
|
||||
|
|
|
@ -279,14 +279,6 @@ _opts = [
|
|||
default=True,
|
||||
help=('Whether to install Tempest in the Undercloud.')
|
||||
),
|
||||
cfg.BoolOpt('enable_mistral',
|
||||
default=True,
|
||||
help=('Whether to install Mistral services in the Undercloud.')
|
||||
),
|
||||
cfg.BoolOpt('enable_zaqar',
|
||||
default=True,
|
||||
help=('Whether to install Zaqar services in the Undercloud.')
|
||||
),
|
||||
cfg.BoolOpt('enable_telemetry',
|
||||
default=True,
|
||||
help=('Whether to install Telemetry services '
|
||||
|
@ -1225,7 +1217,6 @@ def _post_config(instack_env):
|
|||
_ensure_flavor(nova, 'block-storage', 'block-storage')
|
||||
_ensure_flavor(nova, 'swift-storage', 'swift-storage')
|
||||
|
||||
if CONF.enable_mistral:
|
||||
mistral_url = instack_env['UNDERCLOUD_ENDPOINT_MISTRAL_PUBLIC']
|
||||
mistral = mistralclient.client(
|
||||
mistral_url=mistral_url,
|
||||
|
|
|
@ -139,14 +139,7 @@
|
|||
# Whether to install Tempest in the Undercloud. (boolean value)
|
||||
#enable_tempest = true
|
||||
|
||||
# Whether to install Mistral services in the Undercloud. (boolean
|
||||
# value)
|
||||
#enable_mistral = true
|
||||
|
||||
# Whether to install Zaqar services in the Undercloud. (boolean value)
|
||||
#enable_zaqar = true
|
||||
|
||||
# Whether to install Telemetry services (ceilometer, aodh, gnocchi, panko) in the
|
||||
# Whether to install Telemetry services (ceilometer, aodh) in the
|
||||
# Undercloud. (boolean value)
|
||||
#enable_telemetry = true
|
||||
|
||||
|
|
Loading…
Reference in New Issue