Merge "Use the class param to configure Cinder 'host' setting"
[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
95 # ceilometer
96 ceilometer::agent::auth::auth_endpoint_type: 'internalURL'
97
98 # cinder
99 cinder::scheduler::scheduler_driver: cinder.scheduler.filter_scheduler.FilterScheduler
100 cinder::cron::db_purge::destination: '/dev/null'
101 cinder::host: hostgroup
102
103 # heat
104 heat::engine::configure_delegated_roles: false
105 heat::engine::trusts_delegated_roles: []
106 heat::instance_user: ''
107
108 # pacemaker
109 pacemaker::corosync::cluster_name: 'tripleo_cluster'
110 pacemaker::corosync::manage_fw: false
111 pacemaker::resource_defaults::defaults:
112   resource-stickiness: { value: INFINITY }
113
114 # horizon
115 horizon::cache_backend: django.core.cache.backends.memcached.MemcachedCache
116 horizon::django_session_engine: 'django.contrib.sessions.backends.cache'
117 horizon::vhost_extra_params:
118   add_listen: false
119   priority: 10
120
121 # mysql
122 mysql::server::manage_config_file: true
123
124
125 tripleo::loadbalancer::keystone_admin: true
126 tripleo::loadbalancer::keystone_public: true
127 tripleo::loadbalancer::neutron: true
128 tripleo::loadbalancer::cinder: true
129 tripleo::loadbalancer::glance_api: true
130 tripleo::loadbalancer::glance_registry: true
131 tripleo::loadbalancer::nova_ec2: true
132 tripleo::loadbalancer::nova_osapi: true
133 tripleo::loadbalancer::nova_metadata: true
134 tripleo::loadbalancer::nova_novncproxy: true
135 tripleo::loadbalancer::mysql: true
136 tripleo::loadbalancer::redis: true
137 tripleo::loadbalancer::sahara: true
138 tripleo::loadbalancer::swift_proxy_server: true
139 tripleo::loadbalancer::ceilometer: true
140 tripleo::loadbalancer::heat_api: true
141 tripleo::loadbalancer::heat_cloudwatch: true
142 tripleo::loadbalancer::heat_cfn: true
143 tripleo::loadbalancer::horizon: true
144
145 controller_classes: []
146 # firewall
147 tripleo::firewall::firewall_rules:
148   '101 mongodb_config':
149     port: 27019
150   '102 mongodb_sharding':
151     port: 27018
152   '103 mongod':
153     port: 27017
154   '104 mysql galera':
155     port:
156       - 873
157       - 3306
158       - 4444
159       - 4567
160       - 4568
161       - 9200
162   '105 ntp':
163     port: 123
164     proto: udp
165   '106 vrrp':
166     proto: vrrp
167   '107 haproxy stats':
168     port: 1993
169   '108 redis':
170     port:
171       - 6379
172       - 26379
173   '109 rabbitmq':
174     port:
175       - 5672
176       - 35672
177   '110 ceph':
178     port:
179       - 6789
180       - '6800-6810'
181   '111 keystone':
182     port:
183       - 5000
184       - 13000
185       - 35357
186       - 13357
187   '112 glance':
188     port:
189       - 9292
190       - 9191
191       - 13292
192   '113 nova':
193     port:
194       - 6080
195       - 13080
196       - 8773
197       - 3773
198       - 8774
199       - 13774
200       - 8775
201   '114 neutron server':
202     port:
203       - 9696
204       - 13696
205   '115 neutron dhcp input':
206     proto: 'udp'
207     port: 67
208   '116 neutron dhcp output':
209     proto: 'udp'
210     chain: 'OUTPUT'
211     port: 68
212   '118 neutron vxlan networks':
213     proto: 'udp'
214     port: 4789
215   '119 cinder':
216     port:
217       - 8776
218       - 13776
219   '120 iscsi initiator':
220     port: 3260
221   '121 memcached':
222     port: 11211
223   '122 swift proxy':
224     port:
225       - 8080
226       - 13808
227   '123 swift storage':
228     port:
229       - 873
230       - 6000
231       - 6001
232       - 6002
233   '124 ceilometer':
234     port:
235       - 8777
236       - 13777
237   '125 heat':
238     port:
239       - 8000
240       - 13800
241       - 8003
242       - 13003
243       - 8004
244       - 13004
245   '126 horizon':
246     port:
247       - 80
248       - 443
249   '127 snmp':
250     port: 161
251     proto: 'udp'