1 heat_template_version: ocata
4 OpenStack containerized gnocchi service
9 default: 'tripleoupstream'
11 DockerGnocchiApiImage:
13 default: 'centos-binary-gnocchi-api: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-api.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: [GnocchiApiPuppetBase, role_data, service_name]}
46 - get_attr: [GnocchiApiPuppetBase, role_data, config_settings]
47 - apache::default_vhost: false
48 step_config: &step_config
49 get_attr: [GnocchiApiPuppetBase, role_data, step_config]
50 service_config_settings: {get_attr: [GnocchiApiPuppetBase, role_data, service_config_settings]}
51 # BEGIN DOCKER SETTINGS
53 config_volume: gnocchi
54 puppet_tags: gnocchi_api_paste_ini,gnocchi_config
55 step_config: *step_config
56 config_image: &gnocchi_image
59 - [ {get_param: DockerNamespace}, {get_param: DockerGnocchiApiImage} ]
61 /var/lib/kolla/config_files/gnocchi-api.json:
62 command: /usr/sbin/httpd -DFOREGROUND
69 command: ['/bin/bash', '-c', 'mkdir -p /var/log/httpd && mkdir -p /var/log/gnocchi && chown gnocchi:gnocchi /var/log/gnocchi']
79 - /var/lib/config-data/gnocchi/etc/gnocchi/:/etc/gnocchi/:ro
80 - /etc/hosts:/etc/hosts:ro
81 - /etc/localtime:/etc/localtime:ro
83 command: ["/usr/bin/gnocchi-upgrade", "--skip-storage"]
91 - /var/lib/kolla/config_files/gnocchi-api.json:/var/lib/kolla/config_files/config.json:ro
92 - /var/lib/config-data/gnocchi/etc/gnocchi/:/etc/gnocchi/:ro
93 - /var/lib/config-data/gnocchi/etc/httpd/:/etc/httpd/:ro
94 - /var/lib/config-data/gnocchi/var/www/:/var/www/:ro
95 - /etc/hosts:/etc/hosts:ro
96 - /etc/localtime:/etc/localtime:ro
98 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS