Merge "osprofiler support redis"
This commit is contained in:
commit
e88b9a7ad4
@ -541,6 +541,20 @@ elasticsearch_address: "{{ kolla_internal_fqdn }}"
|
||||
enable_elasticsearch: "{{ 'yes' if enable_central_logging | bool or enable_freezer | bool or enable_osprofiler | bool or enable_skydive | bool or enable_monasca | bool else 'no' }}"
|
||||
enable_kibana: "{{ 'yes' if enable_central_logging | bool else 'no' }}"
|
||||
|
||||
####################
|
||||
# Redis options
|
||||
####################
|
||||
redis_address: "{{ kolla_internal_fqdn }}"
|
||||
|
||||
####################
|
||||
# Osprofiler options
|
||||
####################
|
||||
# valid values: ["elasticsearch", "redis"]
|
||||
osprofiler_backend: "elasticsearch"
|
||||
elasticsearch_connection_string: "elasticsearch://{{ elasticsearch_address }}:{{ elasticsearch_port }}"
|
||||
redis_connection_string: "redis://:{{ redis_master_password }}@{{ redis_address }}:{{ redis_port }}"
|
||||
osprofiler_backend_connection_string: "{{ redis_connection_string if osprofiler_backend == 'redis' else elasticsearch_connection_string }}"
|
||||
|
||||
####################
|
||||
# RabbitMQ options
|
||||
####################
|
||||
|
@ -203,9 +203,7 @@ helper_command=sudo cinder-rootwrap /etc/cinder/rootwrap.conf privsep-helper --c
|
||||
enabled = true
|
||||
trace_sqlalchemy = true
|
||||
hmac_keys = {{ osprofiler_secret }}
|
||||
{% if enable_elasticsearch | bool %}
|
||||
connection_string = elasticsearch://{{ elasticsearch_address }}:{{ elasticsearch_port }}
|
||||
{% endif %}
|
||||
connection_string = {{ osprofiler_backend_connection_string }}
|
||||
{% endif %}
|
||||
|
||||
{% if enable_barbican | bool %}
|
||||
|
@ -103,7 +103,5 @@ policy_file = {{ glance_policy_file }}
|
||||
enabled = true
|
||||
trace_sqlalchemy = true
|
||||
hmac_keys = {{ osprofiler_secret }}
|
||||
{% if enable_elasticsearch | bool %}
|
||||
connection_string = elasticsearch://{{ elasticsearch_address }}:{{ elasticsearch_port }}
|
||||
{% endif %}
|
||||
connection_string = {{ osprofiler_backend_connection_string }}
|
||||
{% endif %}
|
||||
|
@ -50,7 +50,5 @@ policy_file = {{ glance_policy_file }}
|
||||
enabled = true
|
||||
trace_sqlalchemy = true
|
||||
hmac_keys = {{ osprofiler_secret }}
|
||||
{% if enable_elasticsearch | bool %}
|
||||
connection_string = elasticsearch://{{ elasticsearch_address }}:{{ elasticsearch_port }}
|
||||
{% endif %}
|
||||
connection_string = {{ osprofiler_backend_connection_string }}
|
||||
{% endif %}
|
||||
|
@ -103,7 +103,5 @@ enable_proxy_headers_parsing = True
|
||||
enabled = true
|
||||
trace_sqlalchemy = true
|
||||
hmac_keys = {{ osprofiler_secret }}
|
||||
{% if enable_elasticsearch | bool %}
|
||||
connection_string = elasticsearch://{{ elasticsearch_address }}:{{ elasticsearch_port }}
|
||||
{% endif %}
|
||||
connection_string = {{ osprofiler_backend_connection_string }}
|
||||
{% endif %}
|
||||
|
@ -52,9 +52,7 @@ driver = messagingv2
|
||||
enabled = true
|
||||
trace_sqlalchemy = true
|
||||
hmac_keys = {{ osprofiler_secret }}
|
||||
{% if enable_elasticsearch | bool %}
|
||||
connection_string = elasticsearch://{{ elasticsearch_address }}:{{ elasticsearch_port }}
|
||||
{% endif %}
|
||||
connection_string = {{ osprofiler_backend_connection_string }}
|
||||
{% endif %}
|
||||
|
||||
{% if enable_grafana | bool %}
|
||||
|
@ -103,7 +103,5 @@ policy_file = {{ magnum_policy_file }}
|
||||
enabled = true
|
||||
trace_sqlalchemy = true
|
||||
hmac_keys = {{ osprofiler_secret }}
|
||||
{% if enable_elasticsearch | bool %}
|
||||
connection_string = elasticsearch://{{ elasticsearch_address }}:{{ elasticsearch_port }}
|
||||
{% endif %}
|
||||
connection_string = {{ osprofiler_backend_connection_string }}
|
||||
{% endif %}
|
||||
|
@ -67,9 +67,7 @@ policy_file = {{ mistral_policy_file }}
|
||||
enabled = true
|
||||
trace_sqlalchemy = true
|
||||
hmac_keys = {{ osprofiler_secret }}
|
||||
{% if enable_elasticsearch | bool %}
|
||||
connection_string = elasticsearch://{{ elasticsearch_address }}:{{ elasticsearch_port }}
|
||||
{% endif %}
|
||||
connection_string = {{ osprofiler_backend_connection_string }}
|
||||
{% endif %}
|
||||
|
||||
[coordination]
|
||||
|
@ -152,9 +152,7 @@ ipv6_ptr_zone_prefix_size = 116
|
||||
enabled = true
|
||||
trace_sqlalchemy = true
|
||||
hmac_keys = {{ osprofiler_secret }}
|
||||
{% if enable_elasticsearch | bool %}
|
||||
connection_string = elasticsearch://{{ elasticsearch_address }}:{{ elasticsearch_port }}
|
||||
{% endif %}
|
||||
connection_string = {{ osprofiler_backend_connection_string }}
|
||||
{% endif %}
|
||||
|
||||
{% if enable_opendaylight_qos | bool %}
|
||||
|
@ -277,9 +277,7 @@ notify_on_state_change = vm_and_task_state
|
||||
enabled = true
|
||||
trace_sqlalchemy = true
|
||||
hmac_keys = {{ osprofiler_secret }}
|
||||
{% if enable_elasticsearch | bool %}
|
||||
connection_string = elasticsearch://{{ elasticsearch_address }}:{{ elasticsearch_port }}
|
||||
{% endif %}
|
||||
connection_string = {{ osprofiler_backend_connection_string }}
|
||||
{% endif %}
|
||||
|
||||
{% if enable_barbican | bool %}
|
||||
|
@ -129,7 +129,5 @@ notifications_topics_exchanges = ironic_versioned_notifications,ironic
|
||||
{# enabled = true #}
|
||||
{# trace_sqlalchemy = true #}
|
||||
{# hmac_keys = {{ osprofiler_secret }} #}
|
||||
{# {% if enable_elasticsearch | bool %} #}
|
||||
{# connection_string = elasticsearch://{{ elasticsearch_address }}:{{ elasticsearch_port }} #}
|
||||
{# {% endif %} #}
|
||||
{# connection_string = {{ osprofiler_backend_connection_string }} #}
|
||||
{# {% endif %} #}
|
||||
|
@ -62,7 +62,5 @@ policy_file = {{ senlin_policy_file }}
|
||||
enabled = true
|
||||
trace_sqlalchemy = true
|
||||
hmac_keys = {{ osprofiler_secret }}
|
||||
{% if enable_elasticsearch | bool %}
|
||||
connection_string = elasticsearch://{{ elasticsearch_address }}:{{ elasticsearch_port }}
|
||||
{% endif %}
|
||||
connection_string = {{ osprofiler_backend_connection_string }}
|
||||
{% endif %}
|
||||
|
@ -22,7 +22,5 @@ max_retries = -1
|
||||
enabled = true
|
||||
trace_sqlalchemy = true
|
||||
hmac_keys = {{ osprofiler_secret }}
|
||||
{% if enable_elasticsearch | bool %}
|
||||
connection_string = elasticsearch://{{ elasticsearch_address }}:{{ elasticsearch_port }}
|
||||
{% endif %}
|
||||
connection_string = {{ osprofiler_backend_connection_string }}
|
||||
{% endif %}
|
||||
|
@ -48,7 +48,5 @@ driver = noop
|
||||
enabled = true
|
||||
trace_sqlalchemy = true
|
||||
hmac_keys = {{ osprofiler_secret }}
|
||||
{% if enable_elasticsearch | bool %}
|
||||
connection_string = elasticsearch://{{ elasticsearch_address }}:{{ elasticsearch_port }}
|
||||
{% endif %}
|
||||
connection_string = {{ osprofiler_backend_connection_string }}
|
||||
{% endif %}
|
||||
|
@ -54,7 +54,5 @@ driver = noop
|
||||
enabled = true
|
||||
trace_sqlalchemy = true
|
||||
hmac_keys = {{ osprofiler_secret }}
|
||||
{% if enable_elasticsearch | bool %}
|
||||
connection_string = elasticsearch://{{ elasticsearch_address }}:{{ elasticsearch_port }}
|
||||
{% endif %}
|
||||
connection_string = {{ osprofiler_backend_connection_string }}
|
||||
{% endif %}
|
||||
|
@ -64,7 +64,5 @@ policy_file = {{ vitrage_policy_file }}
|
||||
enabled = true
|
||||
trace_sqlalchemy = true
|
||||
hmac_keys = {{ osprofiler_secret }}
|
||||
{% if enable_elasticsearch | bool %}
|
||||
connection_string = elasticsearch://{{ elasticsearch_address }}:{{ elasticsearch_port }}
|
||||
{% endif %}
|
||||
connection_string = {{ osprofiler_backend_connection_string }}
|
||||
{% endif %}
|
||||
|
@ -94,9 +94,7 @@ endpoint_type = internalURL
|
||||
enabled = true
|
||||
trace_sqlalchemy = true
|
||||
hmac_keys = {{ osprofiler_secret }}
|
||||
{% if enable_elasticsearch | bool %}
|
||||
connection_string = elasticsearch://{{ elasticsearch_address }}:{{ elasticsearch_port }}
|
||||
{% endif %}
|
||||
connection_string = {{ osprofiler_backend_connection_string }}
|
||||
{% endif %}
|
||||
|
||||
[oslo_concurrency]
|
||||
|
@ -162,6 +162,7 @@ kolla_internal_vip_address: "10.10.10.254"
|
||||
#enable_congress: "no"
|
||||
#enable_designate: "no"
|
||||
#enable_destroy_images: "no"
|
||||
#enable_elasticsearch: "{{ 'yes' if enable_central_logging | bool or enable_freezer | bool or enable_osprofiler | bool or enable_skydive | bool else 'no' }}"
|
||||
#enable_etcd: "no"
|
||||
#enable_fluentd: "yes"
|
||||
#enable_freezer: "no"
|
||||
@ -306,6 +307,11 @@ kolla_internal_vip_address: "10.10.10.254"
|
||||
# in glance, so default value should be set to "no".
|
||||
glance_enable_rolling_upgrade: "no"
|
||||
|
||||
####################
|
||||
# Osprofiler options
|
||||
####################
|
||||
# valid values: ["elasticsearch", "redis"]
|
||||
#osprofiler_backend: "elasticsearch"
|
||||
|
||||
##################
|
||||
# Barbican options
|
||||
|
Loading…
Reference in New Issue
Block a user