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