Fix notification_driver
[DEFAULT]/notification_driver is deprecated. New [oslo_messaging_notifications]/driver should be used. Change-Id: I8322d620f7ded03c2df1e3cbdcd65be6541da6b6
This commit is contained in:
parent
374ace641d
commit
1d851dcdc8
@ -23,10 +23,6 @@ enable_v1_registry = {{ glance_enable_v1_registry }}
|
||||
enable_v2_api = {{ glance_enable_v2_api }}
|
||||
enable_v2_registry = {{ glance_enable_v2_registry }}
|
||||
|
||||
{% if glance_ceilometer_enabled %}
|
||||
notification_driver = messagingv2
|
||||
{% endif %}
|
||||
|
||||
rpc_backend = {{ glance_rpc_backend }}
|
||||
|
||||
delayed_delete = False
|
||||
@ -36,6 +32,11 @@ image_cache_dir = {{ glance_system_user_home }}/cache/
|
||||
# defaults to true if RBD is used as default store
|
||||
show_image_direct_url = {{ glance_show_image_direct_url }}
|
||||
|
||||
{% if glance_ceilometer_enabled %}
|
||||
[oslo_messaging_notifications]
|
||||
driver = messagingv2
|
||||
{% endif %}
|
||||
|
||||
[task]
|
||||
task_executor = {{ glance_task_executor }}
|
||||
|
||||
|
@ -14,11 +14,13 @@ backlog = 4096
|
||||
workers = {{ glance_registry_workers | default(api_threads) }}
|
||||
api_limit_max = 1000
|
||||
limit_param_default = 25
|
||||
{% if glance_ceilometer_enabled %}
|
||||
notification_driver = messagingv2
|
||||
{% endif %}
|
||||
rpc_backend = {{ glance_rpc_backend }}
|
||||
|
||||
{% if glance_ceilometer_enabled %}
|
||||
[oslo_messaging_notifications]
|
||||
driver = messagingv2
|
||||
{% endif %}
|
||||
|
||||
[database]
|
||||
connection = mysql+pymysql://{{ glance_galera_user }}:{{ glance_container_mysql_password }}@{{ glance_galera_address }}/{{ glance_galera_database }}?charset=utf8
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user