From 0b2418125354f4af5e58a33132a2c9ab84c5fda3 Mon Sep 17 00:00:00 2001 From: ZhongShengping Date: Thu, 1 Jun 2017 15:15:05 +0800 Subject: [PATCH] Deprecate rpc_backend option Option "rpc_backend" from group "DEFAULT" is deprecated for removal (Replaced by [DEFAULT]/transport_url). Its value may be silently ignored in the future. Change-Id: Ib9adcd5e9fe058a4780505000ab9fbffe7df638f Implements: blueprint deprecate-rpc-backend --- defaults/main.yml | 2 -- releasenotes/notes/remove_rpc_backend-187132a35223d295.yaml | 5 +++++ templates/keystone.conf.j2 | 1 - 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 releasenotes/notes/remove_rpc_backend-187132a35223d295.yaml diff --git a/defaults/main.yml b/defaults/main.yml index 7101df6f..b28694a7 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -54,8 +54,6 @@ keystone_system_shell: /bin/bash keystone_system_comment: keystone system user keystone_system_user_home: "/var/lib/{{ keystone_system_user_name }}" -keystone_rpc_backend: rabbit - ## Drivers keystone_auth_methods: "password,token" keystone_identity_driver: sql diff --git a/releasenotes/notes/remove_rpc_backend-187132a35223d295.yaml b/releasenotes/notes/remove_rpc_backend-187132a35223d295.yaml new file mode 100644 index 00000000..a51a0315 --- /dev/null +++ b/releasenotes/notes/remove_rpc_backend-187132a35223d295.yaml @@ -0,0 +1,5 @@ +--- +deprecations: + - | + Remove ``keystone_rpc_backend`` option due to deprecation of + rpc_backend option in oslo.messaging. diff --git a/templates/keystone.conf.j2 b/templates/keystone.conf.j2 index 002e793b..3e737db1 100644 --- a/templates/keystone.conf.j2 +++ b/templates/keystone.conf.j2 @@ -20,7 +20,6 @@ log_dir = /var/log/keystone ## RabbitMQ RPC {% if keystone_messaging_enabled | bool %} -rpc_backend = {{ keystone_rpc_backend }} transport_url = rabbit://{% for host in keystone_rabbitmq_servers.split(',') %}{{ keystone_rabbitmq_userid }}:{{ keystone_rabbitmq_password }}@{{ host }}:{{ keystone_rabbitmq_port }}{% if not loop.last %},{% else %}/{{ keystone_rabbitmq_vhost }}{% endif %}{% endfor %} [oslo_messaging_rabbit]