Merge "Add support for custom Gnocchi configuration"
This commit is contained in:
commit
3e99fa2f31
@ -107,6 +107,7 @@
|
||||
- { name: cinder, file: cinder.conf }
|
||||
- { name: designate, file: designate.conf }
|
||||
- { name: glance, file: glance.conf }
|
||||
- { name: gnocchi, file: gnocchi.conf }
|
||||
- { name: grafana, file: grafana.ini }
|
||||
- { name: heat, file: heat.conf }
|
||||
- { name: inspector, file: ironic-inspector.conf }
|
||||
@ -213,6 +214,7 @@
|
||||
kolla_extra_cinder: "{{ kolla_extra_config.cinder | default }}"
|
||||
kolla_extra_designate: "{{ kolla_extra_config.designate | default }}"
|
||||
kolla_extra_glance: "{{ kolla_extra_config.glance | default }}"
|
||||
kolla_extra_gnocchi: "{{ kolla_extra_config.gnocchi | default }}"
|
||||
kolla_extra_grafana: "{{ kolla_extra_config.grafana | default }}"
|
||||
kolla_extra_heat: "{{ kolla_extra_config.heat | default }}"
|
||||
kolla_extra_inspector: "{{ kolla_extra_config.inspector | default }}"
|
||||
|
@ -57,6 +57,15 @@ kolla_enable_glance:
|
||||
# glance-registry.conf.
|
||||
kolla_extra_glance:
|
||||
|
||||
###############################################################################
|
||||
# Gnocchi configuration.
|
||||
|
||||
# Whether to enable Gnocchi.
|
||||
kolla_enable_gnocchi:
|
||||
|
||||
# Free form extra configuration to append to gnocchi.conf.
|
||||
kolla_extra_gnocchi:
|
||||
|
||||
###############################################################################
|
||||
# Grafana configuration.
|
||||
|
||||
|
@ -34,6 +34,10 @@ provisioner:
|
||||
kolla_extra_glance: |
|
||||
[extra-glance.conf]
|
||||
foo=bar
|
||||
kolla_enable_gnocchi: true
|
||||
kolla_extra_gnocchi: |
|
||||
[extra-gnocchi.conf]
|
||||
foo=bar
|
||||
kolla_enable_grafana: true
|
||||
kolla_extra_grafana: |
|
||||
[extra-grafana.ini]
|
||||
|
@ -19,6 +19,7 @@
|
||||
- { src: designate.conf.j2, dest: designate.conf, enabled: "{{ kolla_enable_designate }}" }
|
||||
- { src: galera.cnf.j2, dest: galera.cnf, enabled: "{{ kolla_enable_mariadb }}" }
|
||||
- { src: glance.conf.j2, dest: glance.conf, enabled: "{{ kolla_enable_glance }}" }
|
||||
- { src: gnocchi.conf.j2, dest: gnocchi.conf, enabled: "{{ kolla_enable_gnocchi }}" }
|
||||
- { src: grafana.ini.j2, dest: grafana.ini, enabled: "{{ kolla_enable_grafana }}" }
|
||||
- { src: heat.conf.j2, dest: heat.conf, enabled: "{{ kolla_enable_heat }}" }
|
||||
- { src: ironic.conf.j2, dest: ironic.conf, enabled: "{{ kolla_enable_ironic }}" }
|
||||
|
9
ansible/roles/kolla-openstack/templates/gnocchi.conf.j2
Normal file
9
ansible/roles/kolla-openstack/templates/gnocchi.conf.j2
Normal file
@ -0,0 +1,9 @@
|
||||
# {{ ansible_managed }}
|
||||
|
||||
{% if kolla_extra_gnocchi %}
|
||||
#######################
|
||||
# Extra configuration
|
||||
#######################
|
||||
|
||||
{{ kolla_extra_gnocchi }}
|
||||
{% endif %}
|
@ -54,6 +54,11 @@ kolla_openstack_custom_config:
|
||||
dest: "{{ kolla_node_custom_config_path }}/glance"
|
||||
patterns: "*"
|
||||
enabled: "{{ kolla_enable_glance }}"
|
||||
# Gnocchi.
|
||||
- src: "{{ kolla_extra_config_path }}/gnocchi"
|
||||
dest: "{{ kolla_node_custom_config_path }}/gnocchi"
|
||||
patterns: "*"
|
||||
enabled: "{{ kolla_enable_gnocchi }}"
|
||||
# Grafana.
|
||||
- src: "{{ kolla_extra_config_path }}/grafana"
|
||||
dest: "{{ kolla_node_custom_config_path }}/grafana"
|
||||
|
@ -164,6 +164,8 @@ which files are supported.
|
||||
``fluentd/output`` Fluentd output configuration.
|
||||
``glance.conf`` Glance configuration.
|
||||
``glance/*`` Extended Glance configuration.
|
||||
``gnocchi.conf`` Gnocchi configuration.
|
||||
``gnocchi/*`` Extended Gnocchi configuration.
|
||||
``grafana/*`` Extended Grafana configuration.
|
||||
``haproxy/*`` HAProxy configuration.
|
||||
``heat.conf`` Heat configuration.
|
||||
|
@ -0,0 +1,3 @@
|
||||
---
|
||||
features:
|
||||
- Adds support for custom Gnocchi configuration.
|
Loading…
Reference in New Issue
Block a user