Add rabbitmq policies for OpenStack services
Change-Id: Ice90decc7036e2622164edd3165a0a38f3e3ce58
Related-PROD: https://mirantis.jira.com/browse/PROD-19212
diff --git a/rabbitmq/server/vhost/openstack/rpc_ha.yml b/rabbitmq/server/vhost/openstack/rpc_ha.yml
new file mode 100644
index 0000000..a3c461d
--- /dev/null
+++ b/rabbitmq/server/vhost/openstack/rpc_ha.yml
@@ -0,0 +1,22 @@
+parameters:
+ rabbitmq:
+ server:
+ host:
+ '/openstack':
+ policies:
+ - name: heat_engine_rpc_expire
+ pattern: '^heat-engine-listener\.'
+ definition: '{"expires":3600000, "ha-mode":"all", "ha-sync-mode":"automatic"}'
+ priority: 1
+ - name: heat_worker_rpc_expire
+ pattern: '^engine_worker\.'
+ definition: '{"expires":3600000, "ha-mode":"all", "ha-sync-mode":"automatic"}'
+ priority: 1
+ - name: results_expire
+ pattern: '^results\.'
+ definition: '{"expires":3600000, "ha-mode":"all", "ha-sync-mode":"automatic"}'
+ priority: 1
+ - name: tasks_expire
+ pattern: '^tasks\.'
+ definition: '{"expires":3600000, "ha-mode":"all", "ha-sync-mode":"automatic"}'
+ priority: 1