Initial commit
[ta/infra-ansible.git] / roles / bootstrap-host / templates / user_variables.aio.yml.j2
1 ---
2 # Copyright 2014, Rackspace US, Inc.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #     http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 ## General options
17 debug: True
18
19 ## Tempest settings
20 tempest_public_subnet_cidr: 172.29.248.0/22
21 tempest_public_subnet_allocation_pools: "172.29.249.110-172.29.249.200"
22
23 ## Galera settings
24 galera_innodb_buffer_pool_size: 256M
25 galera_innodb_log_buffer_size: 32M
26 galera_wsrep_provider_options:
27  - { option: "gcache.size", value: "32M" }
28
29 ## Neutron settings
30 neutron_metadata_checksum_fix: True
31
32 ## Set workers for all services to optimise memory usage
33 ceilometer_api_workers: 2
34 ceilometer_collector_workers: 2
35 ceilometer_notification_workers: 2
36 cinder_osapi_volume_workers: 2
37 glance_api_workers: 2
38 glance_registry_workers: 2
39 heat_api_workers: 2
40 heat_engine_workers: 2
41 horizon_wsgi_processes: 2
42 horizon_wsgi_threads: 2
43 keystone_wsgi_processes: 2
44 neutron_api_workers: 2
45 neutron_metadata_workers: 1
46 neutron_rpc_workers: 1
47 nova_conductor_workers: 2
48 nova_metadata_workers: 2
49 nova_osapi_compute_workers: 2
50 nova_wsgi_processes: 2
51 swift_account_server_workers: 2
52 swift_container_server_workers: 2
53 swift_object_server_workers: 2
54 swift_proxy_server_workers: 2
55
56 # NOTE: hpcloud-b4's eth0 uses 10.0.3.0/24, which overlaps with the
57 #       lxc_net_address default
58 # TODO: We'll need to implement a mechanism to determine valid lxc_net_address
59 #       value which will not overlap with an IP already assigned to the host.
60 lxc_net_address: 10.255.255.1
61 lxc_net_netmask: 255.255.255.0
62 lxc_net_dhcp_range: 10.255.255.2,10.255.255.253
63
64 {% if repo_build_pip_extra_indexes is defined %}
65 ## Wheel mirrors for the repo_build to use
66 repo_build_pip_extra_indexes:
67 {{ repo_build_pip_extra_indexes | to_nice_yaml }}
68 {% endif %}
69
70 {% if uca_apt_repo_url is defined %}
71 ## Ubuntu Cloud Archive mirror to use
72 uca_apt_repo_url: {{ uca_apt_repo_url }}
73 {% endif %}
74
75 {% if cache_timeout is defined %}
76 ## Package cache timeout
77 cache_timeout: {{ cache_timeout }}
78 {% endif %}
79
80 {% if repo_build_git_cache is defined %}
81 ## Git cache to use for the repo build process
82 repo_build_git_cache: {{ repo_build_git_cache }}
83 {% endif %}
84
85 # The container backing store is set to 'overlayfs' to speed up the
86 # AIO build time.
87 lxc_container_backing_store: "{{ (ansible_kernel | version_compare('3.18.0-0-generic', '<')) | ternary('dir', 'overlayfs') }}"
88
89 ## Enable LBaaSv2 in the AIO
90 neutron_plugin_base:
91   - router
92   - metering
93   - neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2
94
95 ## Always setup tempest, the resources for it, then execute tests
96 tempest_install: yes
97 tempest_run: yes
98
99 {% if nodepool_dir.stat.exists %}
100 # Disable chronyd in OpenStack CI
101 security_rhel7_enable_chrony: no
102 {% endif %}