Enable Block Storage meters

Use [oslo_messaging_notifications]/driver option in cinder.conf
to enable block storage meters, set the option default value is
'messagingv2'.

Change-Id: I1e885324fbeb2ad1c547c6c6618cbacd0e441d51
Closes-Bug: 1602055
This commit is contained in:
ZhongShengping 2016-07-11 17:33:32 +08:00
parent 44357460b8
commit b34ede31d4
2 changed files with 9 additions and 0 deletions

View File

@ -42,6 +42,11 @@ nova_catalog_info = compute:nova:internalURL
auth_strategy = keystone auth_strategy = keystone
[oslo_messaging_notifications]
{% if enable_ceilometer | bool %}
driver = messagingv2
{% endif %}
[database] [database]
connection = mysql+pymysql://{{ cinder_database_user }}:{{ cinder_database_password }}@{{ cinder_database_address }}/{{ cinder_database_name }} connection = mysql+pymysql://{{ cinder_database_user }}:{{ cinder_database_password }}@{{ cinder_database_address }}/{{ cinder_database_name }}
max_retries = -1 max_retries = -1

View File

@ -0,0 +1,4 @@
---
features:
- Use [oslo_messaging_notifications]/driver option in cinder.conf
to enable block storage meters.