Set rabbitmq loopback_users explicitely
[apex-tripleo-heat-templates.git] / puppet / hieradata / controller.yaml
1 # Hiera data here applies to all controller nodes
2
3 nova::api::enabled: true
4 nova::conductor::enabled: true
5 nova::consoleauth::enabled: true
6 nova::vncproxy::enabled: true
7 nova::scheduler::enabled: true
8
9 # gnocchi
10 gnocchi::db::sync::extra_opts: '--skip-storage'
11 gnocchi::storage::swift::swift_user: 'service:gnocchi'
12 gnocchi::storage::swift::swift_auth_version: 2
13 gnocchi::statsd::resource_id: '0a8b55df-f90f-491c-8cb9-7cdecec6fc26'
14 gnocchi::statsd::user_id: '27c0d3f8-e7ee-42f0-8317-72237d1c5ae3'
15 gnocchi::statsd::project_id: '6c38cd8d-099a-4cb2-aecf-17be688e8616'
16 gnocchi::statsd::flush_delay: 10
17 gnocchi::statsd::archive_policy_name: 'low'
18
19 # rabbitmq
20 rabbitmq::delete_guest_user: false
21 rabbitmq::wipe_db_on_cookie_change: true
22 rabbitmq::port: '5672'
23 rabbitmq::package_source: undef
24 rabbitmq::repos_ensure: false
25 rabbitmq_environment:
26   RABBITMQ_NODENAME: "rabbit@%{::hostname}"
27   RABBITMQ_SERVER_ERL_ARGS: '"+K true +A30 +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>>}]"'
28 rabbitmq_kernel_variables:
29   inet_dist_listen_min: '35672'
30   inet_dist_listen_max: '35672'
31 rabbitmq_config_variables:
32   tcp_listen_options: '[binary, {packet, raw}, {reuseaddr, true}, {backlog, 128}, {nodelay, true}, {exit_on_close, false}, {keepalive, true}]'
33   cluster_partition_handling: 'pause_minority'
34   loopback_users: '[]'
35
36 mongodb::server::replset: tripleo
37 mongodb::server::journal: false
38
39 redis::port: 6379
40 redis::sentinel::master_name: "%{hiera('bootstrap_nodeid')}"
41 redis::sentinel::redis_host: "%{hiera('bootstrap_nodeid_ip')}"
42 redis::sentinel::notification_script: '/usr/local/bin/redis-notifications.sh'
43
44 # keystone
45 keystone::roles::admin::email: 'root@localhost'
46
47 # service tenant
48 glance::api::keystone_tenant: 'service'
49 aodh::api::keystone_tenant: 'service'
50 glance::registry::keystone_tenant: 'service'
51 neutron::server::auth_tenant: 'service'
52 neutron::agents::metadata::auth_tenant: 'service'
53 neutron::agents::l3::router_delete_namespaces: True
54 cinder::api::keystone_tenant: 'service'
55 swift::proxy::authtoken::admin_tenant_name: 'service'
56 ceilometer::api::keystone_tenant: 'service'
57 gnocchi::api::keystone_tenant: 'service'
58 heat::keystone_tenant: 'service'
59 sahara::admin_tenant_name: 'service'
60 aodh::keystone::auth::tenant: 'service'
61 ceilometer::keystone::auth::tenant: 'service'
62 cinder::keystone::auth::tenant: 'service'
63 glance::keystone::auth::tenant: 'service'
64 gnocchi::keystone::auth::tenant: 'service'
65 heat::keystone::auth::tenant: 'service'
66 neutron::keystone::auth::tenant: 'service'
67 nova::keystone::auth::tenant: 'service'
68 sahara::keystone::auth::tenant: 'service'
69 swift::keystone::auth::tenant: 'service'
70
71 # keystone
72 keystone::cron::token_flush::maxdelay: 3600
73 keystone::roles::admin::service_tenant: 'service'
74 keystone::roles::admin::admin_tenant: 'admin'
75 keystone::cron::token_flush::destination: '/dev/null'
76 keystone::config::keystone_config:
77   DEFAULT/secure_proxy_ssl_header:
78     value: 'HTTP_X_FORWARDED_PROTO'
79   ec2/driver:
80     value: 'keystone.contrib.ec2.backends.sql.Ec2'
81 keystone::service_name: 'httpd'
82 keystone::wsgi::apache::ssl: false
83
84 #swift
85 swift::proxy::pipeline:
86   - 'catch_errors'
87   - 'healthcheck'
88   - 'cache'
89   - 'ratelimit'
90   - 'tempurl'
91   - 'formpost'
92   - 'authtoken'
93   - 'keystone'
94   - 'staticweb'
95   - 'proxy-logging'
96   - 'proxy-server'
97
98 swift::proxy::account_autocreate: true
99 swift::keystone::auth::configure_s3_endpoint: false
100 swift::keystone::auth::operator_roles:
101   - admin
102   - swiftoperator
103
104 # glance
105 glance::api::pipeline: 'keystone'
106 glance::api::show_image_direct_url: true
107 glance::registry::pipeline: 'keystone'
108 glance::backend::swift::swift_store_create_container_on_put: true
109 glance_file_pcmk_directory: '/var/lib/glance/images'
110
111 # neutron
112 neutron::server::sync_db: true
113
114 # nova
115 nova::notify_on_state_change: 'vm_and_task_state'
116 nova::api::default_floating_pool: 'public'
117 nova::api::sync_db_api: true
118 nova::scheduler::filter::ram_allocation_ratio: '1.0'
119 nova::cron::archive_deleted_rows::hour: '*/12'
120 nova::cron::archive_deleted_rows::destination: '/dev/null'
121 nova::notification_driver: messaging
122
123 # ceilometer
124 ceilometer::agent::auth::auth_endpoint_type: 'internalURL'
125
126 # cinder
127 cinder::scheduler::scheduler_driver: cinder.scheduler.filter_scheduler.FilterScheduler
128 cinder::cron::db_purge::destination: '/dev/null'
129 cinder::host: hostgroup
130 cinder_user_enabled_backends: []
131
132 # heat
133 heat::engine::configure_delegated_roles: false
134 heat::engine::trusts_delegated_roles: []
135 heat::instance_user: ''
136 heat::cron::purge_deleted::age: 30
137 heat::cron::purge_deleted::age_type: 'days'
138 heat::cron::purge_deleted::maxdelay: 3600
139 heat::cron::purge_deleted::destination: '/dev/null'
140 heat::keystone::domain::domain_name: 'heat_stack'
141 heat::keystone::domain::domain_admin: 'heat_stack_domain_admin'
142 heat::keystone::domain::domain_admin_email: 'heat_stack_domain_admin@localhost'
143
144 # pacemaker
145 pacemaker::corosync::cluster_name: 'tripleo_cluster'
146 pacemaker::corosync::manage_fw: false
147 pacemaker::resource_defaults::defaults:
148   resource-stickiness: { value: INFINITY }
149 corosync_token_timeout: 10000
150
151 # horizon
152 horizon::cache_backend: django.core.cache.backends.memcached.MemcachedCache
153 horizon::django_session_engine: 'django.contrib.sessions.backends.cache'
154 horizon::vhost_extra_params:
155   add_listen: false
156   priority: 10
157   access_log_format: '%a %l %u %t \"%r\" %>s %b \"%%{}{Referer}i\" \"%%{}{User-Agent}i\"'
158
159 # mysql
160 mysql::server::manage_config_file: true
161
162
163 tripleo::loadbalancer::keystone_admin: true
164 tripleo::loadbalancer::keystone_public: true
165 tripleo::loadbalancer::neutron: true
166 tripleo::loadbalancer::cinder: true
167 tripleo::loadbalancer::glance_api: true
168 tripleo::loadbalancer::glance_registry: true
169 tripleo::loadbalancer::nova_osapi: true
170 tripleo::loadbalancer::nova_metadata: true
171 tripleo::loadbalancer::nova_novncproxy: true
172 tripleo::loadbalancer::mysql: true
173 tripleo::loadbalancer::redis: true
174 tripleo::loadbalancer::sahara: true
175 tripleo::loadbalancer::swift_proxy_server: true
176 tripleo::loadbalancer::ceilometer: true
177 tripleo::loadbalancer::aodh: true
178 tripleo::loadbalancer::gnocchi: true
179 tripleo::loadbalancer::heat_api: true
180 tripleo::loadbalancer::heat_cloudwatch: true
181 tripleo::loadbalancer::heat_cfn: true
182 tripleo::loadbalancer::horizon: true
183
184 controller_classes: []
185 # firewall
186 tripleo::firewall::firewall_rules:
187   '101 mongodb_config':
188     port: 27019
189   '102 mongodb_sharding':
190     port: 27018
191   '103 mongod':
192     port: 27017
193   '104 mysql galera':
194     port:
195       - 873
196       - 3306
197       - 4444
198       - 4567
199       - 4568
200       - 9200
201   '105 ntp':
202     port: 123
203     proto: udp
204   '106 vrrp':
205     proto: vrrp
206   '107 haproxy stats':
207     port: 1993
208   '108 redis':
209     port:
210       - 6379
211       - 26379
212   '109 rabbitmq':
213     port:
214       - 5672
215       - 35672
216   '110 ceph':
217     port:
218       - 6789
219       - '6800-6810'
220   '111 keystone':
221     port:
222       - 5000
223       - 13000
224       - 35357
225       - 13357
226   '112 glance':
227     port:
228       - 9292
229       - 9191
230       - 13292
231   '113 nova':
232     port:
233       - 6080
234       - 13080
235       - 8773
236       - 3773
237       - 8774
238       - 13774
239       - 8775
240   '114 neutron server':
241     port:
242       - 9696
243       - 13696
244   '115 neutron dhcp input':
245     proto: 'udp'
246     port: 67
247   '116 neutron dhcp output':
248     proto: 'udp'
249     chain: 'OUTPUT'
250     port: 68
251   '118 neutron vxlan networks':
252     proto: 'udp'
253     port: 4789
254   '119 cinder':
255     port:
256       - 8776
257       - 13776
258   '120 iscsi initiator':
259     port: 3260
260   '121 memcached':
261     port: 11211
262   '122 swift proxy':
263     port:
264       - 8080
265       - 13808
266   '123 swift storage':
267     port:
268       - 873
269       - 6000
270       - 6001
271       - 6002
272   '124 ceilometer':
273     port:
274       - 8777
275       - 13777
276   '125 heat':
277     port:
278       - 8000
279       - 13800
280       - 8003
281       - 13003
282       - 8004
283       - 13004
284   '126 horizon':
285     port:
286       - 80
287       - 443
288   '127 snmp':
289     port: 161
290     proto: 'udp'
291   '128 aodh':
292     port:
293       - 8042
294       - 13042
295   '129 gnocchi-api':
296     port:
297       - 8041
298       - 13041