Merge "Pin sqlalchemy collectd plugin for OSP < 16.2"
This commit is contained in:
commit
ae7c9d4aaf
@ -65,7 +65,7 @@
|
|||||||
become: true
|
become: true
|
||||||
register: db_connections
|
register: db_connections
|
||||||
with_dict: "{{mysql_svcs}}"
|
with_dict: "{{mysql_svcs}}"
|
||||||
when: ('Controller' in group_names and sqlalchemy_collectd_plugin)
|
when: (rhosp_version is version('16.2', '<') and 'Controller' in group_names and sqlalchemy_collectd_plugin)
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
- name: Append to mysql string
|
- name: Append to mysql string
|
||||||
@ -75,7 +75,7 @@
|
|||||||
section: database
|
section: database
|
||||||
option: connection
|
option: connection
|
||||||
value: "{{ item.stdout }}&plugin=collectd&collectd_program_name={{ item.item.key }}"
|
value: "{{ item.stdout }}&plugin=collectd&collectd_program_name={{ item.item.key }}"
|
||||||
when: (('Controller' in group_names) and sqlalchemy_collectd_plugin and ('plugin=collectd' not in item.stdout))
|
when: (rhosp_version is version('16.2', '<') and ('Controller' in group_names) and sqlalchemy_collectd_plugin and ('plugin=collectd' not in item.stdout))
|
||||||
with_items: "{{ db_connections.results }}"
|
with_items: "{{ db_connections.results }}"
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
@ -100,7 +100,7 @@
|
|||||||
- heat_api_cron
|
- heat_api_cron
|
||||||
- heat_api_cfn
|
- heat_api_cfn
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
when: ('Controller' in group_names and sqlalchemy_collectd_plugin)
|
when: (rhosp_version is version('16.2', '<') and 'Controller' in group_names and sqlalchemy_collectd_plugin)
|
||||||
|
|
||||||
|
|
||||||
# CephStorage OSD monitoring
|
# CephStorage OSD monitoring
|
||||||
|
Loading…
Reference in New Issue
Block a user