Basic support for deploying Ironic in overcloud
[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::consoleauth::enabled: true
5 nova::vncproxy::enabled: true
6 nova::scheduler::enabled: true
7
8 # gnocchi
9 gnocchi::db::sync::extra_opts: '--skip-storage'
10 gnocchi::storage::swift::swift_user: 'service:gnocchi'
11 gnocchi::storage::swift::swift_auth_version: 2
12 gnocchi::statsd::resource_id: '0a8b55df-f90f-491c-8cb9-7cdecec6fc26'
13 gnocchi::statsd::user_id: '27c0d3f8-e7ee-42f0-8317-72237d1c5ae3'
14 gnocchi::statsd::project_id: '6c38cd8d-099a-4cb2-aecf-17be688e8616'
15 gnocchi::statsd::flush_delay: 10
16 gnocchi::statsd::archive_policy_name: 'low'
17
18 # rabbitmq
19 rabbitmq::delete_guest_user: false
20 rabbitmq::wipe_db_on_cookie_change: true
21 rabbitmq::port: '5672'
22 rabbitmq::package_source: undef
23 rabbitmq::repos_ensure: false
24 rabbitmq_environment:
25   RABBITMQ_NODENAME: "rabbit@%{::hostname}"
26   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>>}]"'
27 rabbitmq_kernel_variables:
28   inet_dist_listen_min: '35672'
29   inet_dist_listen_max: '35672'
30 rabbitmq_config_variables:
31   tcp_listen_options: '[binary, {packet, raw}, {reuseaddr, true}, {backlog, 128}, {nodelay, true}, {exit_on_close, false}, {keepalive, true}]'
32   cluster_partition_handling: 'pause_minority'
33   loopback_users: '[]'
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::api::enable_proxy_headers_parsing: 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
131 # TODO(jaosorior): Move to cinder profile once cinder is moved as a composable
132 # service.
133 cinder::api::enable_proxy_headers_parsing: true
134
135 # heat
136 heat::engine::configure_delegated_roles: false
137 heat::engine::trusts_delegated_roles: []
138 heat::instance_user: ''
139 heat::cron::purge_deleted::age: 30
140 heat::cron::purge_deleted::age_type: 'days'
141 heat::cron::purge_deleted::maxdelay: 3600
142 heat::cron::purge_deleted::destination: '/dev/null'
143 heat::keystone::domain::domain_name: 'heat_stack'
144 heat::keystone::domain::domain_admin: 'heat_stack_domain_admin'
145 heat::keystone::domain::domain_admin_email: 'heat_stack_domain_admin@localhost'
146 heat::auth_plugin: 'password'
147
148 # pacemaker
149 pacemaker::corosync::cluster_name: 'tripleo_cluster'
150 pacemaker::corosync::manage_fw: false
151 pacemaker::resource_defaults::defaults:
152   resource-stickiness: { value: INFINITY }
153 corosync_token_timeout: 10000
154
155 # horizon
156 horizon::cache_backend: django.core.cache.backends.memcached.MemcachedCache
157 horizon::django_session_engine: 'django.contrib.sessions.backends.cache'
158 horizon::vhost_extra_params:
159   add_listen: false
160   priority: 10
161   access_log_format: '%a %l %u %t \"%r\" %>s %b \"%%{}{Referer}i\" \"%%{}{User-Agent}i\"'
162
163 # mysql
164 mysql::server::manage_config_file: true
165
166
167 tripleo::haproxy::keystone_admin: true
168 tripleo::haproxy::keystone_public: true
169 tripleo::haproxy::neutron: true
170 tripleo::haproxy::cinder: true
171 tripleo::haproxy::glance_api: true
172 tripleo::haproxy::glance_registry: true
173 tripleo::haproxy::nova_osapi: true
174 tripleo::haproxy::nova_metadata: true
175 tripleo::haproxy::nova_novncproxy: true
176 tripleo::haproxy::mysql: true
177 tripleo::haproxy::redis: true
178 tripleo::haproxy::sahara: true
179 tripleo::haproxy::swift_proxy_server: true
180 tripleo::haproxy::ceilometer: true
181 tripleo::haproxy::aodh: true
182 tripleo::haproxy::gnocchi: true
183 tripleo::haproxy::heat_api: true
184 tripleo::haproxy::heat_cloudwatch: true
185 tripleo::haproxy::heat_cfn: true
186 tripleo::haproxy::horizon: true
187
188 controller_classes: []
189 # firewall
190 tripleo::firewall::firewall_rules:
191   '101 mongodb_config':
192     port: 27019
193   '102 mongodb_sharding':
194     port: 27018
195   '103 mongod':
196     port: 27017
197   '104 mysql galera':
198     port:
199       - 873
200       - 3306
201       - 4444
202       - 4567
203       - 4568
204       - 9200
205   '105 ntp':
206     port: 123
207     proto: udp
208   '106 vrrp':
209     proto: vrrp
210   '107 haproxy stats':
211     port: 1993
212   '108 redis':
213     port:
214       - 6379
215       - 26379
216   '109 rabbitmq':
217     port:
218       - 5672
219       - 35672
220   '110 ceph':
221     port:
222       - 6789
223       - '6800-6810'
224   '111 keystone':
225     port:
226       - 5000
227       - 13000
228       - 35357
229       - 13357
230   '112 glance':
231     port:
232       - 9292
233       - 9191
234       - 13292
235   '113 nova':
236     port:
237       - 6080
238       - 13080
239       - 8773
240       - 3773
241       - 8774
242       - 13774
243       - 8775
244   '114 neutron server':
245     port:
246       - 9696
247       - 13696
248   '115 neutron dhcp input':
249     proto: 'udp'
250     port: 67
251   '116 neutron dhcp output':
252     proto: 'udp'
253     chain: 'OUTPUT'
254     port: 68
255   '118 neutron vxlan networks':
256     proto: 'udp'
257     port: 4789
258   '119 cinder':
259     port:
260       - 8776
261       - 13776
262   '120 iscsi initiator':
263     port: 3260
264   '121 memcached':
265     port: 11211
266   '122 swift proxy':
267     port:
268       - 8080
269       - 13808
270   '123 swift storage':
271     port:
272       - 873
273       - 6000
274       - 6001
275       - 6002
276   '124 ceilometer':
277     port:
278       - 8777
279       - 13777
280   '125 heat':
281     port:
282       - 8000
283       - 13800
284       - 8003
285       - 13003
286       - 8004
287       - 13004
288   '126 horizon':
289     port:
290       - 80
291       - 443
292   '127 snmp':
293     port: 161
294     proto: 'udp'
295   '128 aodh':
296     port:
297       - 8042
298       - 13042
299   '129 gnocchi-api':
300     port:
301       - 8041
302       - 13041