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