Mv ceilo, aodh, and gnocchi out of controller.yaml
This patch moves the remaining hiera settings for Ceilometer, Aodh, and Gnocchi out of controller.yaml and into the respective composable services. Change-Id: I01377aa5c121ecbb4a96b4f0525924c7bbf12198 Related-bug: #1604414
This commit is contained in:
parent
cf8e3f5034
commit
dd9c8d6e9c
@ -4,10 +4,6 @@ description: >
|
||||
OpenStack controller node configured by Puppet.
|
||||
|
||||
parameters:
|
||||
AodhPassword:
|
||||
description: The password for the aodh services.
|
||||
type: string
|
||||
hidden: true
|
||||
controllerExtraConfig:
|
||||
default: {}
|
||||
description: |
|
||||
@ -406,17 +402,6 @@ resources:
|
||||
manage_firewall: {get_param: ManageFirewall}
|
||||
purge_firewall_rules: {get_param: PurgeFirewallRules}
|
||||
neutron_metadata_proxy_shared_secret: {get_param: NeutronMetadataProxySharedSecret}
|
||||
aodh_internal_url: { get_param: [ EndpointMap, AodhInternal, uri ] }
|
||||
aodh_public_url: { get_param: [ EndpointMap, AodhPublic, uri ] }
|
||||
aodh_admin_url: { get_param: [ EndpointMap, AodhAdmin, uri ] }
|
||||
ceilometer_coordination_url:
|
||||
list_join:
|
||||
- ''
|
||||
- - 'redis://:'
|
||||
- {get_param: RedisPassword}
|
||||
- '@'
|
||||
- {get_param: RedisVirtualIPUri}
|
||||
- ':6379/'
|
||||
nova_enable_db_purge: {get_param: NovaEnableDBPurge}
|
||||
nova_ipv6: {get_param: NovaIPv6}
|
||||
corosync_ipv6: {get_param: CorosyncIPv6}
|
||||
@ -430,9 +415,6 @@ resources:
|
||||
glance_api_servers: { get_param: [EndpointMap, GlanceInternal, uri]}
|
||||
neutron_api_network: {get_attr: [NetIpMap, net_ip_map, {get_param: [ServiceNetMap, NeutronApiNetwork]}]}
|
||||
neutron_local_ip: {get_attr: [NetIpMap, net_ip_map, {get_param: [ServiceNetMap, NeutronTenantNetwork]}]}
|
||||
ceilometer_api_network: {get_attr: [NetIpMap, net_ip_map, {get_param: [ServiceNetMap, CeilometerApiNetwork]}]}
|
||||
aodh_api_network: {get_attr: [NetIpMap, net_ip_map, {get_param: [ServiceNetMap, AodhApiNetwork]}]}
|
||||
gnocchi_api_network: {get_attr: [NetIpMap, net_ip_map, {get_param: [ServiceNetMap, GnocchiApiNetwork]}]}
|
||||
nova_api_network: {get_attr: [NetIpMap, net_ip_map, {get_param: [ServiceNetMap, NovaApiNetwork]}]}
|
||||
nova_metadata_network: {get_attr: [NetIpMap, net_ip_map, {get_param: [ServiceNetMap, NovaMetadataNetwork]}]}
|
||||
horizon_network: {get_attr: [NetIpMap, net_ip_map, {get_param: [ServiceNetMap, HorizonNetwork]}]}
|
||||
@ -514,23 +496,9 @@ resources:
|
||||
neutron::bind_host: {get_input: neutron_api_network}
|
||||
neutron::agents::ml2::ovs::local_ip: {get_input: neutron_local_ip}
|
||||
neutron::agents::metadata::metadata_ip: {get_input: neutron_api_network}
|
||||
|
||||
# Aodh
|
||||
aodh::api::host: {get_input: aodh_api_network}
|
||||
aodh::wsgi::apache::bind_host: {get_input: aodh_api_network}
|
||||
|
||||
# Ceilometer
|
||||
ceilometer::api::host: {get_input: ceilometer_api_network}
|
||||
snmpd_readonly_user_name: {get_input: snmpd_readonly_user_name}
|
||||
snmpd_readonly_user_password: {get_input: snmpd_readonly_user_password}
|
||||
|
||||
# Gnocchi
|
||||
gnocchi::wsgi::apache::bind_host: {get_input: gnocchi_api_network}
|
||||
gnocchi::api::host: {get_input: gnocchi_api_network}
|
||||
gnocchi::api::keystone_auth_uri: {get_input: keystone_auth_uri}
|
||||
gnocchi::api::keystone_identity_uri: {get_input: keystone_identity_uri}
|
||||
gnocchi::storage::swift::swift_authurl: {get_input: keystone_auth_uri}
|
||||
|
||||
# Nova
|
||||
nova::upgrade_level_compute: {get_input: upgrade_level_nova_compute}
|
||||
nova::use_ipv6: {get_input: nova_ipv6}
|
||||
|
@ -37,11 +37,18 @@ outputs:
|
||||
- get_attr: [AodhBase, role_data, config_settings]
|
||||
- aodh::wsgi::apache::ssl: false
|
||||
aodh::api::service_name: 'httpd'
|
||||
- tripleo.aodh_api.firewall_rules:
|
||||
tripleo.aodh_api.firewall_rules:
|
||||
'128 aodh-api':
|
||||
dport:
|
||||
- 8042
|
||||
- 13042
|
||||
|
||||
# NOTE: bind IP is found in Heat replacing the network name with the
|
||||
# local node IP for the given network; replacement examples
|
||||
# (eg. for internal_api):
|
||||
# internal_api -> IP
|
||||
# internal_api_uri -> [IP]
|
||||
# internal_api_subnet - > IP/CIDR
|
||||
aodh::api::host: {get_param: [ServiceNetMap, AodhApiNetwork]}
|
||||
aodh::wsgi::apache::bind_host: {get_param: [ServiceNetMap, AodhApiNetwork]}
|
||||
step_config: |
|
||||
include tripleo::profile::base::aodh::api
|
||||
|
@ -41,5 +41,12 @@ outputs:
|
||||
dport:
|
||||
- 8777
|
||||
- 13777
|
||||
# NOTE: bind IP is found in Heat replacing the network name with the
|
||||
# local node IP for the given network; replacement examples
|
||||
# (eg. for internal_api):
|
||||
# internal_api -> IP
|
||||
# internal_api_uri -> [IP]
|
||||
# internal_api_subnet - > IP/CIDR
|
||||
ceilometer::api::host: {get_param: [ServiceNetMap, CeilometerApiNetwork]}
|
||||
step_config: |
|
||||
include ::tripleo::profile::base::ceilometer::api
|
||||
|
@ -69,5 +69,17 @@ outputs:
|
||||
gnocchi::keystone::authtoken::project_name: 'service'
|
||||
gnocchi::wsgi::apache::ssl: false
|
||||
tripleo::profile::base::gnocchi::api::gnocchi_backend: {get_param: GnocchiBackend}
|
||||
# NOTE: bind IP is found in Heat replacing the network name with the
|
||||
# local node IP for the given network; replacement examples
|
||||
# (eg. for internal_api):
|
||||
# internal_api -> IP
|
||||
# internal_api_uri -> [IP]
|
||||
# internal_api_subnet - > IP/CIDR
|
||||
gnocchi::wsgi::apache::bind_host: {get_param: [ServiceNetMap, GnocchiApiNetwork]}
|
||||
gnocchi::api::host: {get_param: [ServiceNetMap, GnocchiApiNetwork]}
|
||||
|
||||
gnocchi::api::keystone_auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri]}
|
||||
gnocchi::api::keystone_identity_uri: {get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix]}
|
||||
gnocchi::storage::swift::swift_authurl: {get_param: [EndpointMap, KeystoneInternal, uri]}
|
||||
step_config: |
|
||||
include ::tripleo::profile::base::gnocchi::api
|
||||
|
Loading…
Reference in New Issue
Block a user