prototypes: fix yamllint issues
[releng.git] / prototypes / openstack-ansible / file / openstack_user_config.yml
1 ---
2 cidr_networks:
3   container: 172.29.236.0/22
4   tunnel: 172.29.240.0/22
5   storage: 172.29.244.0/22
6
7 used_ips:
8   - "172.29.236.1,172.29.236.50"
9   - "172.29.240.1,172.29.240.50"
10   - "172.29.244.1,172.29.244.50"
11   - "172.29.248.1,172.29.248.50"
12
13 global_overrides:
14   internal_lb_vip_address: 172.29.236.222
15   external_lb_vip_address: 192.168.122.220
16   tunnel_bridge: "br-vxlan"
17   management_bridge: "br-mgmt"
18   provider_networks:
19     - network:
20         container_bridge: "br-mgmt"
21         container_type: "veth"
22         container_interface: "eth1"
23         ip_from_q: "container"
24         type: "raw"
25         group_binds:
26           - all_containers
27           - hosts
28         is_container_address: true
29         is_ssh_address: true
30     - network:
31         container_bridge: "br-vxlan"
32         container_type: "veth"
33         container_interface: "eth10"
34         ip_from_q: "tunnel"
35         type: "vxlan"
36         range: "1:1000"
37         net_name: "vxlan"
38         group_binds:
39           - neutron_linuxbridge_agent
40     - network:
41         container_bridge: "br-vlan"
42         container_type: "veth"
43         container_interface: "eth12"
44         host_bind_override: "eth12"
45         type: "flat"
46         net_name: "flat"
47         group_binds:
48           - neutron_linuxbridge_agent
49     - network:
50         container_bridge: "br-vlan"
51         container_type: "veth"
52         container_interface: "eth11"
53         type: "vlan"
54         range: "1:1"
55         net_name: "vlan"
56         group_binds:
57           - neutron_linuxbridge_agent
58     - network:
59         container_bridge: "br-storage"
60         container_type: "veth"
61         container_interface: "eth2"
62         ip_from_q: "storage"
63         type: "raw"
64         group_binds:
65           - glance_api
66           - cinder_api
67           - cinder_volume
68           - nova_compute
69
70 # ##
71 # ## Infrastructure
72 # ##
73
74 # galera, memcache, rabbitmq, utility
75 shared-infra_hosts:
76   controller00:
77     ip: 172.29.236.11
78   controller01:
79     ip: 172.29.236.12
80   controller02:
81     ip: 172.29.236.13
82
83 # repository (apt cache, python packages, etc)
84 repo-infra_hosts:
85   controller00:
86     ip: 172.29.236.11
87   controller01:
88     ip: 172.29.236.12
89   controller02:
90     ip: 172.29.236.13
91
92 # load balancer
93 # Ideally the load balancer should not use the Infrastructure hosts.
94 # Dedicated hardware is best for improved performance and security.
95 haproxy_hosts:
96   controller00:
97     ip: 172.29.236.11
98   controller01:
99     ip: 172.29.236.12
100   controller02:
101     ip: 172.29.236.13
102
103 # rsyslog server
104 # log_hosts:
105 # log1:
106 #  ip: 172.29.236.14
107
108 # ##
109 # ## OpenStack
110 # ##
111
112 # keystone
113 identity_hosts:
114   controller00:
115     ip: 172.29.236.11
116   controller01:
117     ip: 172.29.236.12
118   controller02:
119     ip: 172.29.236.13
120
121 # cinder api services
122 storage-infra_hosts:
123   controller00:
124     ip: 172.29.236.11
125   controller01:
126     ip: 172.29.236.12
127   controller02:
128     ip: 172.29.236.13
129
130 # glance
131 # The settings here are repeated for each infra host.
132 # They could instead be applied as global settings in
133 # user_variables, but are left here to illustrate that
134 # each container could have different storage targets.
135 image_hosts:
136   controller00:
137     ip: 172.29.236.11
138     container_vars:
139       limit_container_types: glance
140       glance_nfs_client:
141         - server: "172.29.244.15"
142           remote_path: "/images"
143           local_path: "/var/lib/glance/images"
144           type: "nfs"
145           options: "_netdev,auto"
146   controller01:
147     ip: 172.29.236.12
148     container_vars:
149       limit_container_types: glance
150       glance_nfs_client:
151         - server: "172.29.244.15"
152           remote_path: "/images"
153           local_path: "/var/lib/glance/images"
154           type: "nfs"
155           options: "_netdev,auto"
156   controller02:
157     ip: 172.29.236.13
158     container_vars:
159       limit_container_types: glance
160       glance_nfs_client:
161         - server: "172.29.244.15"
162           remote_path: "/images"
163           local_path: "/var/lib/glance/images"
164           type: "nfs"
165           options: "_netdev,auto"
166
167 # nova api, conductor, etc services
168 compute-infra_hosts:
169   controller00:
170     ip: 172.29.236.11
171   controller01:
172     ip: 172.29.236.12
173   controller02:
174     ip: 172.29.236.13
175
176 # heat
177 orchestration_hosts:
178   controller00:
179     ip: 172.29.236.11
180   controller01:
181     ip: 172.29.236.12
182   controller02:
183     ip: 172.29.236.13
184
185 # horizon
186 dashboard_hosts:
187   controller00:
188     ip: 172.29.236.11
189   controller01:
190     ip: 172.29.236.12
191   controller02:
192     ip: 172.29.236.13
193
194 # neutron server, agents (L3, etc)
195 network_hosts:
196   controller00:
197     ip: 172.29.236.11
198   controller01:
199     ip: 172.29.236.12
200   controller02:
201     ip: 172.29.236.13
202
203 # ceilometer (telemetry API)
204 metering-infra_hosts:
205   controller00:
206     ip: 172.29.236.11
207   controller01:
208     ip: 172.29.236.12
209   controller02:
210     ip: 172.29.236.13
211
212 # aodh (telemetry alarm service)
213 metering-alarm_hosts:
214   controller00:
215     ip: 172.29.236.11
216   controller01:
217     ip: 172.29.236.12
218   controller02:
219     ip: 172.29.236.13
220
221 # gnocchi (telemetry metrics storage)
222 metrics_hosts:
223   controller00:
224     ip: 172.29.236.11
225   controller01:
226     ip: 172.29.236.12
227   controller02:
228     ip: 172.29.236.13
229
230 # nova hypervisors
231 compute_hosts:
232   compute00:
233     ip: 172.29.236.14
234   compute01:
235     ip: 172.29.236.15
236
237 # ceilometer compute agent (telemetry)
238 metering-compute_hosts:
239   compute00:
240     ip: 172.29.236.14
241   compute01:
242     ip: 172.29.236.15
243 # cinder volume hosts (NFS-backed)
244 # The settings here are repeated for each infra host.
245 # They could instead be applied as global settings in
246 # user_variables, but are left here to illustrate that
247 # each container could have different storage targets.
248 storage_hosts:
249   controller00:
250     ip: 172.29.236.11
251     container_vars:
252       cinder_backends:
253         limit_container_types: cinder_volume
254         lvm:
255           volume_group: cinder-volumes
256           volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver
257           volume_backend_name: LVM_iSCSI
258           iscsi_ip_address: "172.29.244.11"
259   controller01:
260     ip: 172.29.236.12
261     container_vars:
262       cinder_backends:
263         limit_container_types: cinder_volume
264         lvm:
265           volume_group: cinder-volumes
266           volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver
267           volume_backend_name: LVM_iSCSI
268           iscsi_ip_address: "172.29.244.12"
269   controller02:
270     ip: 172.29.236.13
271     container_vars:
272       cinder_backends:
273         limit_container_types: cinder_volume
274         lvm:
275           volume_group: cinder-volumes
276           volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver
277           volume_backend_name: LVM_iSCSI
278           iscsi_ip_address: "172.29.244.13"