Merge "Set 'host' globally in Cinder instead of per-backend basis"
[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
56 #swift
57 swift::proxy::pipeline:
58   - 'catch_errors'
59   - 'healthcheck'
60   - 'cache'
61   - 'ratelimit'
62   - 'tempurl'
63   - 'formpost'
64   - 'authtoken'
65   - 'keystone'
66   - 'staticweb'
67   - 'proxy-logging'
68   - 'proxy-server'
69
70 swift::proxy::account_autocreate: true
71
72 # glance
73 glance::api::pipeline: 'keystone'
74 glance::api::show_image_direct_url: true
75 glance::registry::pipeline: 'keystone'
76 glance::backend::swift::swift_store_create_container_on_put: true
77 glance::backend::rbd::rbd_store_user: 'openstack'
78 glance_file_pcmk_directory: '/var/lib/glance/images'
79
80 # neutron
81 neutron::server::sync_db: true
82 neutron::agents::dhcp::dnsmasq_config_file: /etc/neutron/dnsmasq-neutron.conf
83
84 # nova
85 nova::notify_on_state_change: 'vm_and_task_state'
86 nova::api::default_floating_pool: 'public'
87 nova::api::osapi_v3: true
88 nova::scheduler::filter::ram_allocation_ratio: '1.0'
89 nova::cron::archive_deleted_rows::hour: '*/12'
90 nova::cron::archive_deleted_rows::destination: '/dev/null'
91
92 # ceilometer
93 ceilometer::agent::auth::auth_endpoint_type: 'internalURL'
94
95 # cinder
96 cinder::scheduler::scheduler_driver: cinder.scheduler.filter_scheduler.FilterScheduler
97 cinder::cron::db_purge::destination: '/dev/null'
98 cinder::config::cinder_config:
99   DEFAULT/host:
100     value: hostgroup
101
102 # heat
103 heat::engine::configure_delegated_roles: false
104 heat::engine::trusts_delegated_roles: []
105 heat::instance_user: ''
106
107 # pacemaker
108 pacemaker::corosync::cluster_name: 'tripleo_cluster'
109 pacemaker::corosync::manage_fw: false
110 pacemaker::resource_defaults::defaults:
111   resource-stickiness: { value: INFINITY }
112
113 # horizon
114 horizon::cache_backend: django.core.cache.backends.memcached.MemcachedCache
115 horizon::django_session_engine: 'django.contrib.sessions.backends.cache'
116 horizon::vhost_extra_params:
117   add_listen: false
118   priority: 10
119
120 # mysql
121 mysql::server::manage_config_file: true
122
123
124 tripleo::loadbalancer::keystone_admin: true
125 tripleo::loadbalancer::keystone_public: true
126 tripleo::loadbalancer::neutron: true
127 tripleo::loadbalancer::cinder: true
128 tripleo::loadbalancer::glance_api: true
129 tripleo::loadbalancer::glance_registry: true
130 tripleo::loadbalancer::nova_ec2: true
131 tripleo::loadbalancer::nova_osapi: true
132 tripleo::loadbalancer::nova_metadata: true
133 tripleo::loadbalancer::nova_novncproxy: true
134 tripleo::loadbalancer::mysql: true
135 tripleo::loadbalancer::redis: true
136 tripleo::loadbalancer::sahara: true
137 tripleo::loadbalancer::swift_proxy_server: true
138 tripleo::loadbalancer::ceilometer: true
139 tripleo::loadbalancer::heat_api: true
140 tripleo::loadbalancer::heat_cloudwatch: true
141 tripleo::loadbalancer::heat_cfn: true
142 tripleo::loadbalancer::horizon: true
143
144 controller_classes: []
145 # firewall
146 tripleo::firewall::firewall_rules:
147   '101 mongodb_config':
148     port: 27019
149   '102 mongodb_sharding':
150     port: 27018
151   '103 mongod':
152     port: 27017
153   '104 mysql galera':
154     port:
155       - 873
156       - 3306
157       - 4444
158       - 4567
159       - 4568
160       - 9200
161   '105 ntp':
162     port: 123
163     proto: udp
164   '106 vrrp':
165     proto: vrrp
166   '107 haproxy stats':
167     port: 1993
168   '108 redis':
169     port:
170       - 6379
171       - 26379
172   '109 rabbitmq':
173     port:
174       - 5672
175       - 35672
176   '110 ceph':
177     port:
178       - 6789
179       - '6800-6810'
180   '111 keystone':
181     port:
182       - 5000
183       - 13000
184       - 35357
185       - 13357
186   '112 glance':
187     port:
188       - 9292
189       - 9191
190       - 13292
191   '113 nova':
192     port:
193       - 6080
194       - 13080
195       - 8773
196       - 3773
197       - 8774
198       - 13774
199       - 8775
200   '114 neutron server':
201     port:
202       - 9696
203       - 13696
204   '115 neutron dhcp input':
205     proto: 'udp'
206     port: 67
207   '116 neutron dhcp output':
208     proto: 'udp'
209     chain: 'OUTPUT'
210     port: 68
211   '118 neutron vxlan networks':
212     proto: 'udp'
213     port: 4789
214   '119 cinder':
215     port:
216       - 8776
217       - 13776
218   '120 iscsi initiator':
219     port: 3260
220   '121 memcached':
221     port: 11211
222   '122 swift proxy':
223     port:
224       - 8080
225       - 13808
226   '123 swift storage':
227     port:
228       - 873
229       - 6000
230       - 6001
231       - 6002
232   '124 ceilometer':
233     port:
234       - 8777
235       - 13777
236   '125 heat':
237     port:
238       - 8000
239       - 13800
240       - 8003
241       - 13003
242       - 8004
243       - 13004
244   '126 horizon':
245     port:
246       - 80
247       - 443
248   '127 snmp':
249     port: 161
250     proto: 'udp'