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