Merge "Updated the heat_template_version"
[apex-tripleo-heat-templates.git] / puppet / hieradata / controller.yaml
1 # Hiera data here applies to all controller nodes
2 nova::api::enabled: true
3 nova::conductor::enabled: true
4 nova::consoleauth::enabled: true
5 nova::vncproxy::enabled: true
6 nova::scheduler::enabled: true
7
8 # rabbitmq
9 rabbitmq::delete_guest_user: false
10 rabbitmq::wipe_db_on_cookie_change: true
11 rabbitmq::port: '5672'
12 rabbitmq::package_source: undef
13 rabbitmq::repos_ensure: false
14 rabbitmq_environment:
15   RABBITMQ_NODENAME: "rabbit@%{::hostname}"
16   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>>}]"'
17 rabbitmq_kernel_variables:
18   inet_dist_listen_min: '35672'
19   inet_dist_listen_max: '35672'
20 rabbitmq_config_variables:
21   tcp_listen_options: '[binary, {packet, raw}, {reuseaddr, true}, {backlog, 128}, {nodelay, true}, {exit_on_close, false}, {keepalive, true}]'
22   cluster_partition_handling: 'pause_minority'
23
24 mongodb::server::replset: tripleo
25 mongodb::server::journal: false
26
27 redis::port: 6379
28 redis::sentinel::master_name: "%{hiera('bootstrap_nodeid')}"
29 redis::sentinel::redis_host: "%{hiera('bootstrap_nodeid_ip')}"
30 redis::sentinel::notification_script: '/usr/local/bin/redis-notifications.sh'
31
32 # service tenant
33 glance::api::keystone_tenant: 'service'
34 glance::registry::keystone_tenant: 'service'
35 neutron::server::auth_tenant: 'service'
36 neutron::agents::metadata::auth_tenant: 'service'
37 neutron::agents::l3::router_delete_namespaces: True
38 neutron::agents::dhcp::dhcp_delete_namespaces: True
39 cinder::api::keystone_tenant: 'service'
40 swift::proxy::authtoken::admin_tenant_name: 'service'
41 ceilometer::api::keystone_tenant: 'service'
42 heat::keystone_tenant: 'service'
43 sahara::admin_tenant_name: 'service'
44
45 # keystone
46 keystone::cron::token_flush::maxdelay: 3600
47 keystone::roles::admin::service_tenant: 'service'
48 keystone::roles::admin::admin_tenant: 'admin'
49 keystone::cron::token_flush::destination: '/dev/null'
50 keystone::config::keystone_config:
51   DEFAULT/secure_proxy_ssl_header:
52     value: 'HTTP_X_FORWARDED_PROTO'
53   ec2/driver:
54     value: 'keystone.contrib.ec2.backends.sql.Ec2'
55 keystone::service_name: 'httpd'
56 keystone::wsgi::apache::ssl: false
57
58 #swift
59 swift::proxy::pipeline:
60   - 'catch_errors'
61   - 'healthcheck'
62   - 'cache'
63   - 'ratelimit'
64   - 'tempurl'
65   - 'formpost'
66   - 'authtoken'
67   - 'keystone'
68   - 'staticweb'
69   - 'proxy-logging'
70   - 'proxy-server'
71
72 swift::proxy::account_autocreate: true
73
74 # glance
75 glance::api::pipeline: 'keystone'
76 glance::api::show_image_direct_url: true
77 glance::registry::pipeline: 'keystone'
78 glance::backend::swift::swift_store_create_container_on_put: true
79 glance::backend::rbd::rbd_store_user: 'openstack'
80 glance_file_pcmk_directory: '/var/lib/glance/images'
81
82 # neutron
83 neutron::server::sync_db: true
84 neutron::agents::dhcp::dnsmasq_config_file: /etc/neutron/dnsmasq-neutron.conf
85
86 # nova
87 nova::notify_on_state_change: 'vm_and_task_state'
88 nova::api::default_floating_pool: 'public'
89 nova::api::osapi_v3: true
90 nova::api::sync_db_api: true
91 nova::scheduler::filter::ram_allocation_ratio: '1.0'
92 nova::cron::archive_deleted_rows::hour: '*/12'
93 nova::cron::archive_deleted_rows::destination: '/dev/null'
94 nova::notification_driver: messaging
95
96 # ceilometer
97 ceilometer::agent::auth::auth_endpoint_type: 'internalURL'
98
99 # cinder
100 cinder::scheduler::scheduler_driver: cinder.scheduler.filter_scheduler.FilterScheduler
101 cinder::cron::db_purge::destination: '/dev/null'
102 cinder::host: hostgroup
103 cinder_user_enabled_backends: []
104
105 # heat
106 heat::engine::configure_delegated_roles: false
107 heat::engine::trusts_delegated_roles: []
108 heat::instance_user: ''
109 heat::cron::purge_deleted::age: 30
110 heat::cron::purge_deleted::age_type: 'days'
111 heat::cron::purge_deleted::maxdelay: 3600
112 heat::cron::purge_deleted::destination: '/dev/null'
113
114 # pacemaker
115 pacemaker::corosync::cluster_name: 'tripleo_cluster'
116 pacemaker::corosync::manage_fw: false
117 pacemaker::resource_defaults::defaults:
118   resource-stickiness: { value: INFINITY }
119
120 # horizon
121 horizon::cache_backend: django.core.cache.backends.memcached.MemcachedCache
122 horizon::django_session_engine: 'django.contrib.sessions.backends.cache'
123 horizon::vhost_extra_params:
124   add_listen: false
125   priority: 10
126
127 # mysql
128 mysql::server::manage_config_file: true
129
130
131 tripleo::loadbalancer::keystone_admin: true
132 tripleo::loadbalancer::keystone_public: true
133 tripleo::loadbalancer::neutron: true
134 tripleo::loadbalancer::cinder: true
135 tripleo::loadbalancer::glance_api: true
136 tripleo::loadbalancer::glance_registry: true
137 tripleo::loadbalancer::nova_ec2: true
138 tripleo::loadbalancer::nova_osapi: true
139 tripleo::loadbalancer::nova_metadata: true
140 tripleo::loadbalancer::nova_novncproxy: true
141 tripleo::loadbalancer::mysql: true
142 tripleo::loadbalancer::redis: true
143 tripleo::loadbalancer::sahara: true
144 tripleo::loadbalancer::swift_proxy_server: true
145 tripleo::loadbalancer::ceilometer: true
146 tripleo::loadbalancer::heat_api: true
147 tripleo::loadbalancer::heat_cloudwatch: true
148 tripleo::loadbalancer::heat_cfn: true
149 tripleo::loadbalancer::horizon: true
150
151 controller_classes: []
152 # firewall
153 tripleo::firewall::firewall_rules:
154   '101 mongodb_config':
155     port: 27019
156   '102 mongodb_sharding':
157     port: 27018
158   '103 mongod':
159     port: 27017
160   '104 mysql galera':
161     port:
162       - 873
163       - 3306
164       - 4444
165       - 4567
166       - 4568
167       - 9200
168   '105 ntp':
169     port: 123
170     proto: udp
171   '106 vrrp':
172     proto: vrrp
173   '107 haproxy stats':
174     port: 1993
175   '108 redis':
176     port:
177       - 6379
178       - 26379
179   '109 rabbitmq':
180     port:
181       - 5672
182       - 35672
183   '110 ceph':
184     port:
185       - 6789
186       - '6800-6810'
187   '111 keystone':
188     port:
189       - 5000
190       - 13000
191       - 35357
192       - 13357
193   '112 glance':
194     port:
195       - 9292
196       - 9191
197       - 13292
198   '113 nova':
199     port:
200       - 6080
201       - 13080
202       - 8773
203       - 3773
204       - 8774
205       - 13774
206       - 8775
207   '114 neutron server':
208     port:
209       - 9696
210       - 13696
211   '115 neutron dhcp input':
212     proto: 'udp'
213     port: 67
214   '116 neutron dhcp output':
215     proto: 'udp'
216     chain: 'OUTPUT'
217     port: 68
218   '118 neutron vxlan networks':
219     proto: 'udp'
220     port: 4789
221   '119 cinder':
222     port:
223       - 8776
224       - 13776
225   '120 iscsi initiator':
226     port: 3260
227   '121 memcached':
228     port: 11211
229   '122 swift proxy':
230     port:
231       - 8080
232       - 13808
233   '123 swift storage':
234     port:
235       - 873
236       - 6000
237       - 6001
238       - 6002
239   '124 ceilometer':
240     port:
241       - 8777
242       - 13777
243   '125 heat':
244     port:
245       - 8000
246       - 13800
247       - 8003
248       - 13003
249       - 8004
250       - 13004
251   '126 horizon':
252     port:
253       - 80
254       - 443
255   '127 snmp':
256     port: 161
257     proto: 'udp'