From 84072c248c2704bf6fd3bef64b47dee6bd87ab7b Mon Sep 17 00:00:00 2001 From: ZhongShengping Date: Thu, 1 Jun 2017 14:16:49 +0800 Subject: [PATCH] Deprecate rpc_backend option Option "rpc_backend" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future. Change-Id: Iec35aaf6c251d4bf79094ab7013e2fed9d83f8db Implements: blueprint deprecate-rpc-backend --- defaults/main.yml | 1 - releasenotes/notes/remove_rpc_backend-7123da9fe3419215.yaml | 5 +++++ templates/cinder.conf.j2 | 1 - 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 releasenotes/notes/remove_rpc_backend-7123da9fe3419215.yaml diff --git a/defaults/main.yml b/defaults/main.yml index 9490a90e..c2decfdb 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -183,7 +183,6 @@ cinder_iscsi_num_targets: 100 cinder_iscsi_port: 3260 ## Cinder RPC -cinder_rpc_backend: rabbit cinder_rpc_executor_thread_pool_size: 64 cinder_rpc_response_timeout: 60 diff --git a/releasenotes/notes/remove_rpc_backend-7123da9fe3419215.yaml b/releasenotes/notes/remove_rpc_backend-7123da9fe3419215.yaml new file mode 100644 index 00000000..3be3c202 --- /dev/null +++ b/releasenotes/notes/remove_rpc_backend-7123da9fe3419215.yaml @@ -0,0 +1,5 @@ +--- +deprecations: + - | + Remove ``cinder_rpc_backend`` option due to deprecation of + rpc_backend option in oslo.messaging. diff --git a/templates/cinder.conf.j2 b/templates/cinder.conf.j2 index 4f68a30f..ee51731c 100644 --- a/templates/cinder.conf.j2 +++ b/templates/cinder.conf.j2 @@ -46,7 +46,6 @@ backup_ceph_pool = {{ cinder_service_backup_ceph_pool }} {% endif %} ## RabbitMQ RPC -rpc_backend = {{ cinder_rpc_backend }} executor_thread_pool_size = {{ cinder_rpc_executor_thread_pool_size }} rpc_response_timeout = {{ cinder_rpc_response_timeout }}