Fix transport_url vhost
oslo.messaging has removed deprecated options for rabbitmq. one of the options is the vhost, which we do not define in the transport_url. Change-Id: I96d5dbc0f9fbb4423e9a812e8832c25c2bd65df9
This commit is contained in:
parent
8045b3fbd0
commit
5bfcb58427
@ -136,8 +136,9 @@ om_rpc_user: "{{ rabbitmq_user }}"
|
||||
om_rpc_password: "{{ rabbitmq_password }}"
|
||||
om_rpc_port: "{{ rabbitmq_port }}"
|
||||
om_rpc_group: "rabbitmq"
|
||||
om_rpc_vhost: "/"
|
||||
|
||||
rpc_transport_url: "{{ om_rpc_transport }}://{% for host in groups[om_rpc_group] %}{{ om_rpc_user }}:{{ om_rpc_password }}@{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ om_rpc_port }}{% if not loop.last %},{% endif %}{% endfor %}"
|
||||
rpc_transport_url: "{{ om_rpc_transport }}://{% for host in groups[om_rpc_group] %}{{ om_rpc_user }}:{{ om_rpc_password }}@{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ om_rpc_port }}{% if not loop.last %},{% endif %}{% endfor %}/{{ om_rpc_vhost }}"
|
||||
|
||||
# oslo.messaging notify transport valid options are [ rabbit ]
|
||||
om_notify_transport: "rabbit"
|
||||
@ -145,8 +146,9 @@ om_notify_user: "{{ rabbitmq_user }}"
|
||||
om_notify_password: "{{ rabbitmq_password }}"
|
||||
om_notify_port: "{{ rabbitmq_port }}"
|
||||
om_notify_group: "rabbitmq"
|
||||
om_notify_vhost: "/"
|
||||
|
||||
notify_transport_url: "{{ om_notify_transport }}://{% for host in groups[om_notify_group] %}{{ om_notify_user }}:{{ om_notify_password }}@{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ om_notify_port }}{% if not loop.last %},{% endif %}{% endfor %}"
|
||||
notify_transport_url: "{{ om_notify_transport }}://{% for host in groups[om_notify_group] %}{{ om_notify_user }}:{{ om_notify_password }}@{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ om_notify_port }}{% if not loop.last %},{% endif %}{% endfor %}/{{ om_notify_vhost }}"
|
||||
|
||||
####################
|
||||
# Networking options
|
||||
|
Loading…
x
Reference in New Issue
Block a user