1 heat_template_version: ocata
4 OpenStack containerized Gnocchi Metricd service
9 default: 'tripleoupstream'
11 DockerGnocchiMetricdImage:
13 default: 'centos-binary-gnocchi-metricd:latest'
17 description: Mapping of service endpoint -> protocol. Typically set
18 via parameter_defaults in the resource registry.
22 description: Mapping of service_name -> network name. Typically set
23 via parameter_defaults in the resource registry. This
24 mapping overrides those in ServiceNetMapDefaults.
33 type: ../../puppet/services/gnocchi-metricd.yaml
35 EndpointMap: {get_param: EndpointMap}
36 ServiceNetMap: {get_param: ServiceNetMap}
37 DefaultPasswords: {get_param: DefaultPasswords}
41 description: Role data for the Gnocchi API role.
43 service_name: {get_attr: [GnocchiMetricdBase, role_data, service_name]}
44 config_settings: {get_attr: [GnocchiMetricdBase, role_data, config_settings]}
45 step_config: &step_config
46 get_attr: [GnocchiMetricdBase, role_data, step_config]
47 service_config_settings: {get_attr: [GnocchiMetricdBase, role_data, service_config_settings]}
48 # BEGIN DOCKER SETTINGS
50 config_volume: gnocchi
51 puppet_tags: gnocchi_config
52 step_config: *step_config
53 config_image: &gnocchi_metricd_image
56 - [ {get_param: DockerNamespace}, {get_param: DockerGnocchiMetricdImage} ]
58 /var/lib/kolla/config_files/gnocchi-metricd.json:
59 command: /usr/bin/gnocchi-metricd
61 - dest: /etc/gnocchi/gnocchi.conf
64 source: /var/lib/kolla/config_files/src/etc/gnocchi/gnocchi.conf
68 image: *gnocchi_metricd_image
73 - /var/lib/kolla/config_files/gnocchi-metricd.json:/var/lib/kolla/config_files/config.json:ro
74 - /var/lib/config-data/gnocchi/:/var/lib/kolla/config_files/src:ro
75 - /etc/hosts:/etc/hosts:ro
76 - /etc/localtime:/etc/localtime:ro
78 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS