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