Revert "Run containerized mistral-api eventlet"
This reverts commit e158acb14c.
Change-Id: I9df015b2051d5adbe90436e33b47aa5b58417aed
This commit is contained in:
committed by
Emilien Macchi
parent
e29c28cc71
commit
3dd0f5cdbc
@@ -36,16 +36,6 @@ parameters:
|
|||||||
default: {}
|
default: {}
|
||||||
description: Parameters specific to the role
|
description: Parameters specific to the role
|
||||||
type: json
|
type: json
|
||||||
MistralWorkers:
|
|
||||||
default: 1
|
|
||||||
description: The number of workers for the mistral-api.
|
|
||||||
type: number
|
|
||||||
MistralApiPolicies:
|
|
||||||
description: |
|
|
||||||
A hash of policies to configure for Mistral API.
|
|
||||||
e.g. { mistral-context_is_admin: { key: context_is_admin, value: 'role:admin' } }
|
|
||||||
default: {}
|
|
||||||
type: json
|
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
@@ -55,16 +45,6 @@ resources:
|
|||||||
MySQLClient:
|
MySQLClient:
|
||||||
type: ../../puppet/services/database/mysql-client.yaml
|
type: ../../puppet/services/database/mysql-client.yaml
|
||||||
|
|
||||||
MistralBase:
|
|
||||||
type: ../../puppet/services/mistral-base.yaml
|
|
||||||
properties:
|
|
||||||
EndpointMap: {get_param: EndpointMap}
|
|
||||||
ServiceData: {get_param: ServiceData}
|
|
||||||
ServiceNetMap: {get_param: ServiceNetMap}
|
|
||||||
DefaultPasswords: {get_param: DefaultPasswords}
|
|
||||||
RoleName: {get_param: RoleName}
|
|
||||||
RoleParameters: {get_param: RoleParameters}
|
|
||||||
|
|
||||||
MistralApiBase:
|
MistralApiBase:
|
||||||
type: ../../puppet/services/mistral-api.yaml
|
type: ../../puppet/services/mistral-api.yaml
|
||||||
properties:
|
properties:
|
||||||
@@ -80,28 +60,9 @@ outputs:
|
|||||||
description: Role data for the Mistral API role.
|
description: Role data for the Mistral API role.
|
||||||
value:
|
value:
|
||||||
service_name: {get_attr: [MistralApiBase, role_data, service_name]}
|
service_name: {get_attr: [MistralApiBase, role_data, service_name]}
|
||||||
# FIXME(mandre) restore once mistral-api image has the necessary packages
|
|
||||||
# to run on top of apache
|
|
||||||
# config_settings:
|
|
||||||
# map_merge:
|
|
||||||
# - get_attr: [MistralApiBase, role_data, config_settings]
|
|
||||||
config_settings:
|
config_settings:
|
||||||
map_merge:
|
map_merge:
|
||||||
- get_attr: [MistralBase, role_data, config_settings]
|
- get_attr: [MistralApiBase, role_data, config_settings]
|
||||||
- mistral::api::api_workers: {get_param: MistralWorkers}
|
|
||||||
mistral::api::bind_host:
|
|
||||||
str_replace:
|
|
||||||
template:
|
|
||||||
"%{hiera('$NETWORK')}"
|
|
||||||
params:
|
|
||||||
$NETWORK: {get_param: [ServiceNetMap, MistralApiNetwork]}
|
|
||||||
mistral::policy::policies: {get_param: MistralApiPolicies}
|
|
||||||
tripleo.mistral_api.firewall_rules:
|
|
||||||
'133 mistral':
|
|
||||||
dport:
|
|
||||||
- 8989
|
|
||||||
- 13989
|
|
||||||
mistral_wsgi_enabled: false
|
|
||||||
logging_source: {get_attr: [MistralApiBase, role_data, logging_source]}
|
logging_source: {get_attr: [MistralApiBase, role_data, logging_source]}
|
||||||
logging_groups: {get_attr: [MistralApiBase, role_data, logging_groups]}
|
logging_groups: {get_attr: [MistralApiBase, role_data, logging_groups]}
|
||||||
service_config_settings: {get_attr: [MistralApiBase, role_data, service_config_settings]}
|
service_config_settings: {get_attr: [MistralApiBase, role_data, service_config_settings]}
|
||||||
|
|||||||
Reference in New Issue
Block a user