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