1 heat_template_version: ocata
4 OpenStack Neutron Metadata agent configured with Puppet
9 description: Mapping of service_name -> network name. Typically set
10 via parameter_defaults in the resource registry. This
11 mapping overrides those in ServiceNetMapDefaults.
18 description: Mapping of service endpoint -> protocol. Typically set
19 via parameter_defaults in the resource registry.
21 NeutronMetadataProxySharedSecret:
22 description: Shared secret to prevent spoofing
28 Sets the number of worker processes for the neutron metadata agent. The
29 default value results in the configuration being left unset and a
30 system-dependent default will be chosen (usually the number of
31 processors). Please note that this can result in a large number of
32 processes and memory consumption on systems with a large core count. On
33 such systems it is recommended that a non-default value be selected that
34 matches the load requirements.
37 description: The password for the neutron service and db account, used by neutron agents.
40 MonitoringSubscriptionNeutronMetadata:
41 default: 'overcloud-neutron-metadata'
43 NeutronMetadataAgentLoggingSource:
46 tag: openstack.neutron.agent.metadata
47 path: /var/log/neutron/metadata-agent.log
52 type: ./neutron-base.yaml
54 ServiceNetMap: {get_param: ServiceNetMap}
55 DefaultPasswords: {get_param: DefaultPasswords}
56 EndpointMap: {get_param: EndpointMap}
60 description: Role data for the Neutron Metadata agent service.
62 service_name: neutron_metadata
63 monitoring_subscription: {get_param: MonitoringSubscriptionNeutronMetadata}
64 logging_source: {get_param: NeutronMetadataAgentLoggingSource}
69 - get_attr: [NeutronBase, role_data, config_settings]
70 - neutron::agents::metadata::shared_secret: {get_param: NeutronMetadataProxySharedSecret}
71 neutron::agents::metadata::metadata_workers: {get_param: NeutronWorkers}
72 neutron::agents::metadata::auth_password: {get_param: NeutronPassword}
73 neutron::agents::metadata::auth_url: { get_param: [EndpointMap, KeystoneInternal, uri_no_suffix] }
74 neutron::agents::metadata::auth_tenant: 'service'
75 neutron::agents::metadata::metadata_ip: "%{hiera('nova_metadata_vip')}"
77 include tripleo::profile::base::neutron::metadata
79 - name: "PreUpgrade step0,validation: Check service neutron-metadata-agent is running"
80 shell: /usr/bin/systemctl show 'neutron-metadata-agent' --property ActiveState | grep '\bactive\b'
81 tags: step0,validation
82 - name: Stop neutron_metadata service
84 service: name=neutron-metadata-agent state=stopped