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