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