@@ -235,24 +235,24 @@ Nodes can now be entered directly into the hosts file as part of this group.
235235
236236.. code-block :: ini
237237
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+ …
242242
243243 This rack group contains the baremetal hosts but will also need to be
244244associated with the baremetal-compute and baremetal-sr645 groups in order for
245245those variables to be associated with the rack group.
246-
246+
247247.. code-block :: ini
248248
249- [baremetal-<YOUR_BAREMETAL_HARDWARE_TYPE>:children]
250- rack1
251- …
249+ [baremetal-<YOUR_BAREMETAL_HARDWARE_TYPE>:children]
250+ rack1
251+ …
252252
253- [baremetal-compute:children]
254- rack1
255- …
253+ [baremetal-compute:children]
254+ rack1
255+ …
256256
257257 Node enrollment
258258===============
@@ -297,21 +297,21 @@ hosts.
297297
298298.. code-block :: ini
299299
300- [rack1]
300+ [rack1]
301301 hv001 ipmi_address =10.1.28.16
302302 hv002 ipmi_address =10.1.28.17
303303 …
304304
305- [rack1-compute]
305+ [rack1-compute]
306306 hv003 ipmi_address =10.1.28.18
307307 hv004 ipmi_address =10.1.28.19
308308 …
309309
310- [rack1:children]
311- rack1-compute
310+ [rack1:children]
311+ rack1-compute
312312
313- [compute:children]
314- rack1-compute
313+ [compute:children]
314+ rack1-compute
315315
316316 The rack1-compute group as shown above is also associated with the Kayobe
317317compute 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:
324324
325325.. code-block :: yaml
326326
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
330330
331331 You will also need to configure a neutron network for racks to deploy instances
332332on, we can configure this in openstack-config as before. We will need to define
@@ -335,16 +335,16 @@ Ironic.
335335
336336.. code-block :: yaml
337337
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 }}"
348348
349349 openstack_subnet_rack1 :
350350 name : " rack1-subnet"
@@ -385,12 +385,12 @@ baremetal node registration.
385385
386386.. code-block :: yaml
387387
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 :
394394 auth_url : " {{ lookup('env', 'OS_AUTH_URL') }}"
395395 username : " {{ lookup('env', 'OS_USERNAME') }}"
396396 password : " {{ lookup('env', 'OS_PASSWORD') }}"
@@ -401,11 +401,11 @@ instances, to begin we invoke the deploy-baremetal-hypervisor ansible playbook.
401401
402402.. code-block :: console
403403
404- kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/deploy-baremetal-hypervisor.yml
404+ kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/deploy-baremetal-hypervisor.yml
405405
406406 This playbook will update the Kayobe network allocations with the the admin
407407network 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
409409
410410.. code-block :: yaml
411411
0 commit comments