Merge "Update to use oslo.messaging service for RPC and Notify"
This commit is contained in:
commit
75edc93536
@ -233,12 +233,22 @@ ironic_pip_packages:
|
||||
- python-swiftclient
|
||||
- uwsgi
|
||||
|
||||
## RabbitMQ info
|
||||
ironic_rabbitmq_userid: ironic
|
||||
ironic_rabbitmq_vhost: /ironic
|
||||
ironic_rabbitmq_servers: 127.0.0.1
|
||||
ironic_rabbitmq_use_ssl: False
|
||||
ironic_rabbitmq_port: 5672
|
||||
## Oslo Messaging Info
|
||||
# RPC
|
||||
ironic_oslomsg_rpc_transport: rabbit
|
||||
ironic_oslomsg_rpc_servers: 127.0.0.1
|
||||
ironic_oslomsg_rpc_port: 5672
|
||||
ironic_oslomsg_rpc_use_ssl: False
|
||||
ironic_oslomsg_rpc_userid: ironic
|
||||
ironic_oslomsg_rpc_vhost: /ironic
|
||||
|
||||
# Notify
|
||||
ironic_oslomsg_notify_transport: rabbit
|
||||
ironic_oslomsg_notify_servers: 127.0.0.1
|
||||
ironic_oslomsg_notify_port: 5672
|
||||
ironic_oslomsg_notify_use_ssl: False
|
||||
ironic_oslomsg_notify_userid: ironic
|
||||
ironic_oslomsg_notify_vhost: /ironic
|
||||
|
||||
# Auth
|
||||
ironic_service_user_name: "ironic"
|
||||
|
@ -0,0 +1,14 @@
|
||||
---
|
||||
features:
|
||||
- Support separate oslo.messaging services for RPC and Notifications
|
||||
to enable operation of separate and different messaging backend servers.
|
||||
deprecations:
|
||||
- |
|
||||
The rabbitmq server parameters have been replaced by corresponding
|
||||
oslo.messaging RPC and Notify parameters in order to abstract the
|
||||
messaging service from the actual backend server deployment.
|
||||
- ironic_oslomsg_rpc_servers replaces ironic_rabbitmq_servers
|
||||
- ironic_oslomsg_rpc_port replaces ironic_rabbitmq_port
|
||||
- ironic_oslomsg_rpc_use_ssl replaces ironic_rabbitmq_use_ssl
|
||||
- ironic_oslomsg_rpc_userid replaces ironic_rabbitmq_userid
|
||||
- ironic_oslomsg_rpc_vhost replaces ironic_rabbitmq_vhost
|
@ -13,6 +13,9 @@ memcached_servers = {{ memcached_servers }}
|
||||
enabled_network_interfaces = {{ ironic_enabled_network_interfaces_list }}
|
||||
default_network_interface = {{ ironic_default_network_interface }}
|
||||
|
||||
## RPC Backend
|
||||
transport_url = {{ ironic_oslomsg_rpc_transport }}://{% for host in ironic_oslomsg_rpc_servers.split(',') %}{{ ironic_oslomsg_rpc_userid }}:{{ ironic_oslomsg_rpc_password }}@{{ host }}:{{ ironic_oslomsg_rpc_port }}{% if not loop.last %},{% else %}/{{ ironic_oslomsg_rpc_vhost }}{% if ironic_oslomsg_rpc_use_ssl | bool %}?ssl=1{% else %}?ssl=0{% endif %}{% endif %}{% endfor %}
|
||||
|
||||
[agent]
|
||||
|
||||
[amt]
|
||||
@ -139,14 +142,9 @@ lock_path = {{ ironic_lock_path }}
|
||||
[oslo_messaging_amqp]
|
||||
|
||||
[oslo_messaging_notifications]
|
||||
transport_url = {{ ironic_oslomsg_notify_transport }}://{% for host in ironic_oslomsg_notify_servers.split(',') %}{{ ironic_oslomsg_notify_userid }}:{{ ironic_oslomsg_notify_password }}@{{ host }}:{{ ironic_oslomsg_notify_port }}{% if not loop.last %},{% else %}/{{ ironic_oslomsg_notify_vhost }}{% if ironic_oslomsg_notify_use_ssl | bool %}?ssl=1{% else %}?ssl=0{% endif %}{% endif %}{% endfor %}
|
||||
|
||||
[oslo_messaging_rabbit]
|
||||
rabbit_port = {{ ironic_rabbitmq_port }}
|
||||
rabbit_userid = {{ ironic_rabbitmq_userid }}
|
||||
rabbit_password = {{ ironic_rabbitmq_password }}
|
||||
rabbit_virtual_host = {{ ironic_rabbitmq_vhost }}
|
||||
rabbit_hosts = {{ ironic_rabbitmq_servers }}
|
||||
ssl = {{ ironic_rabbitmq_use_ssl }}
|
||||
pool_max_size = {{ ironic_wsgi_processes }}
|
||||
|
||||
|
||||
|
@ -11,6 +11,12 @@ openstack1
|
||||
swift-storage1
|
||||
ironic1
|
||||
|
||||
[oslomsg_rpc_all]
|
||||
infra1
|
||||
|
||||
[oslomsg_notify_all]
|
||||
infra1
|
||||
|
||||
[rabbitmq_all]
|
||||
infra1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user