1 heat_template_version: 2016-10-14
4 RabbitMQ service configured with Puppet
9 description: Mapping of service_name -> network name. Typically set
10 via parameter_defaults in the resource registry. This
11 mapping overrides those in ServiceNetMapDefaults.
18 description: Mapping of service endpoint -> protocol. Typically set
19 via parameter_defaults in the resource registry.
23 description: The username for RabbitMQ
26 description: The password for RabbitMQ
31 description: Configures RabbitMQ FD limit
35 description: Enable IPv6 in RabbitMQ
43 The number of HA queues to be configured in rabbit. The default is 0 which will
44 be automatically overridden to CEIL(N/2) where N is the number of nodes running
48 MonitoringSubscriptionRabbitmq:
49 default: 'overcloud-rabbitmq'
54 description: Role data for the RabbitMQ role.
56 service_name: rabbitmq
57 monitoring_subscription: {get_param: MonitoringSubscriptionRabbitmq}
59 rabbitmq::file_limit: {get_param: RabbitFDLimit}
60 rabbitmq::default_user: {get_param: RabbitUserName}
61 rabbitmq::default_pass: {get_param: RabbitPassword}
62 rabbit_ipv6: {get_param: RabbitIPv6}
63 tripleo.rabbitmq.firewall_rules:
69 rabbitmq::delete_guest_user: false
70 rabbitmq::wipe_db_on_cookie_change: true
71 rabbitmq::port: '5672'
72 rabbitmq::package_source: undef
73 rabbitmq::repos_ensure: false
74 rabbitmq::tcp_keepalive: true
76 RABBITMQ_NODENAME: "rabbit@%{::hostname}"
77 RABBITMQ_SERVER_ERL_ARGS: '"+K true +P 1048576 -kernel inet_default_connect_options [{nodelay,true},{raw,6,18,<<5000:64/native>>}] -kernel inet_default_listen_options [{raw,6,18,<<5000:64/native>>}]"'
78 rabbitmq_kernel_variables:
79 inet_dist_listen_min: '25672'
80 inet_dist_listen_max: '25672'
81 rabbitmq_config_variables:
82 cluster_partition_handling: 'pause_minority'
83 queue_master_locator: '<<"min-masters">>'
85 rabbitmq::erlang_cookie:
87 expression: $.data.passwords.where($ != '').first()
90 - {get_param: RabbitCookie}
91 - {get_param: [DefaultPasswords, rabbit_cookie]}
92 # NOTE: bind IP is found in Heat replacing the network name with the
93 # local node IP for the given network; replacement examples
94 # (eg. for internal_api):
96 # internal_api_uri -> [IP]
97 # internal_api_subnet - > IP/CIDR
98 rabbitmq::node_ip_address: {get_param: [ServiceNetMap, RabbitmqNetwork]}
99 rabbitmq::nr_ha_queues: {get_param: RabbitHAQueues}
102 include ::tripleo::profile::base::rabbitmq