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