Merge "Add database directory mount for openvswitchdb"
[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 nova::keystone::auth::configure_ec2_endpoint: false
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_ec2: true
170 tripleo::loadbalancer::nova_osapi: true
171 tripleo::loadbalancer::nova_metadata: true
172 tripleo::loadbalancer::nova_novncproxy: true
173 tripleo::loadbalancer::mysql: true
174 tripleo::loadbalancer::redis: true
175 tripleo::loadbalancer::sahara: true
176 tripleo::loadbalancer::swift_proxy_server: true
177 tripleo::loadbalancer::ceilometer: true
178 tripleo::loadbalancer::aodh: true
179 tripleo::loadbalancer::gnocchi: true
180 tripleo::loadbalancer::heat_api: true
181 tripleo::loadbalancer::heat_cloudwatch: true
182 tripleo::loadbalancer::heat_cfn: true
183 tripleo::loadbalancer::horizon: true
184
185 controller_classes: []
186 # firewall
187 tripleo::firewall::firewall_rules:
188   '101 mongodb_config':
189     port: 27019
190   '102 mongodb_sharding':
191     port: 27018
192   '103 mongod':
193     port: 27017
194   '104 mysql galera':
195     port:
196       - 873
197       - 3306
198       - 4444
199       - 4567
200       - 4568
201       - 9200
202   '105 ntp':
203     port: 123
204     proto: udp
205   '106 vrrp':
206     proto: vrrp
207   '107 haproxy stats':
208     port: 1993
209   '108 redis':
210     port:
211       - 6379
212       - 26379
213   '109 rabbitmq':
214     port:
215       - 5672
216       - 35672
217   '110 ceph':
218     port:
219       - 6789
220       - '6800-6810'
221   '111 keystone':
222     port:
223       - 5000
224       - 13000
225       - 35357
226       - 13357
227   '112 glance':
228     port:
229       - 9292
230       - 9191
231       - 13292
232   '113 nova':
233     port:
234       - 6080
235       - 13080
236       - 8773
237       - 3773
238       - 8774
239       - 13774
240       - 8775
241   '114 neutron server':
242     port:
243       - 9696
244       - 13696
245   '115 neutron dhcp input':
246     proto: 'udp'
247     port: 67
248   '116 neutron dhcp output':
249     proto: 'udp'
250     chain: 'OUTPUT'
251     port: 68
252   '118 neutron vxlan networks':
253     proto: 'udp'
254     port: 4789
255   '119 cinder':
256     port:
257       - 8776
258       - 13776
259   '120 iscsi initiator':
260     port: 3260
261   '121 memcached':
262     port: 11211
263   '122 swift proxy':
264     port:
265       - 8080
266       - 13808
267   '123 swift storage':
268     port:
269       - 873
270       - 6000
271       - 6001
272       - 6002
273   '124 ceilometer':
274     port:
275       - 8777
276       - 13777
277   '125 heat':
278     port:
279       - 8000
280       - 13800
281       - 8003
282       - 13003
283       - 8004
284       - 13004
285   '126 horizon':
286     port:
287       - 80
288       - 443
289   '127 snmp':
290     port: 161
291     proto: 'udp'
292   '128 aodh':
293     port:
294       - 8042
295       - 13042
296   '129 gnocchi-api':
297     port:
298       - 8041
299       - 13041