@@ -235,24 +235,24 @@ Nodes can now be entered directly into the hosts file as part of this group.
235
235
236
236
.. code-block :: ini
237
237
238
- [rack1]
239
- hv001 ipmi_address =10.1.28.16
240
- hv002 ipmi_address =10.1.28.17
241
- …
238
+ [rack1]
239
+ hv001 ipmi_address =10.1.28.16
240
+ hv002 ipmi_address =10.1.28.17
241
+ …
242
242
243
243
This rack group contains the baremetal hosts but will also need to be
244
244
associated with the baremetal-compute and baremetal-sr645 groups in order for
245
245
those variables to be associated with the rack group.
246
-
246
+
247
247
.. code-block :: ini
248
248
249
- [baremetal-<YOUR_BAREMETAL_HARDWARE_TYPE>:children]
250
- rack1
251
- …
249
+ [baremetal-<YOUR_BAREMETAL_HARDWARE_TYPE>:children]
250
+ rack1
251
+ …
252
252
253
- [baremetal-compute:children]
254
- rack1
255
- …
253
+ [baremetal-compute:children]
254
+ rack1
255
+ …
256
256
257
257
Node enrollment
258
258
===============
@@ -297,21 +297,21 @@ hosts.
297
297
298
298
.. code-block :: ini
299
299
300
- [rack1]
300
+ [rack1]
301
301
hv001 ipmi_address =10.1.28.16
302
302
hv002 ipmi_address =10.1.28.17
303
303
…
304
304
305
- [rack1-compute]
305
+ [rack1-compute]
306
306
hv003 ipmi_address =10.1.28.18
307
307
hv004 ipmi_address =10.1.28.19
308
308
…
309
309
310
- [rack1:children]
311
- rack1-compute
310
+ [rack1:children]
311
+ rack1-compute
312
312
313
- [compute:children]
314
- rack1-compute
313
+ [compute:children]
314
+ rack1-compute
315
315
316
316
The rack1-compute group as shown above is also associated with the Kayobe
317
317
compute group in order for Kayobe to run the compute Kolla workflows on these
@@ -324,9 +324,9 @@ The configuration should resemble below in networks.yml:
324
324
325
325
.. code-block :: yaml
326
326
327
- physical_rack1_admin_oc_net_cidr: “172.16.208.128/27”
328
- physical_rack1_admin_oc_net_gateway: “172.16.208.129”
329
- physical_rack1_admin_net_defroute: true
327
+ physical_rack1_admin_oc_net_cidr : “172.16.208.128/27”
328
+ physical_rack1_admin_oc_net_gateway : “172.16.208.129”
329
+ physical_rack1_admin_net_defroute : true
330
330
331
331
You will also need to configure a neutron network for racks to deploy instances
332
332
on, we can configure this in openstack-config as before. We will need to define
@@ -335,16 +335,16 @@ Ironic.
335
335
336
336
.. code-block :: yaml
337
337
338
- openstack_network_rack:
339
- name : " rack-net"
340
- project : " admin"
341
- provider_network_type : " vlan"
342
- provider_physical_network : " provider"
343
- provider_segmentation_id : 450
344
- shared : false
345
- external : false
346
- subnets :
347
- - "{{ openstack_subnet_rack1 }}"
338
+ openstack_network_rack :
339
+ name : " rack-net"
340
+ project : " admin"
341
+ provider_network_type : " vlan"
342
+ provider_physical_network : " provider"
343
+ provider_segmentation_id : 450
344
+ shared : false
345
+ external : false
346
+ subnets :
347
+ - " {{ openstack_subnet_rack1 }}"
348
348
349
349
openstack_subnet_rack1 :
350
350
name : " rack1-subnet"
@@ -385,12 +385,12 @@ baremetal node registration.
385
385
386
386
.. code-block :: yaml
387
387
388
- hypervisor_image: "<image_uuid>"
389
- key_name: "<key_name>"
390
- availability_zone: "nova"
391
- baremetal_flavor: "<ironic_flavor_name>"
392
- baremetal_network: "rack-net"
393
- auth:
388
+ hypervisor_image : " <image_uuid>"
389
+ key_name : " <key_name>"
390
+ availability_zone : " nova"
391
+ baremetal_flavor : " <ironic_flavor_name>"
392
+ baremetal_network : " rack-net"
393
+ auth :
394
394
auth_url : " {{ lookup('env', 'OS_AUTH_URL') }}"
395
395
username : " {{ lookup('env', 'OS_USERNAME') }}"
396
396
password : " {{ lookup('env', 'OS_PASSWORD') }}"
@@ -401,11 +401,11 @@ instances, to begin we invoke the deploy-baremetal-hypervisor ansible playbook.
401
401
402
402
.. code-block :: console
403
403
404
- kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/deploy-baremetal-hypervisor.yml
404
+ kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/deploy-baremetal-hypervisor.yml
405
405
406
406
This playbook will update the Kayobe network allocations with the the admin
407
407
network addresses associated with that rack for each baremetal server, e.g.
408
- in the case of rack 1 this will appear in network-allocations.yml as
408
+ in the case of rack 1 this will appear in network-allocations.yml as
409
409
410
410
.. code-block :: yaml
411
411
0 commit comments