Skip to content

Commit 2ba2364

Browse files
authored
Merge pull request #71609 from shiftstack/openstack-bm
[OCPBUGS#22683] Remove reference to BM control plane node for OpenStack
2 parents 26916cb + ee271d0 commit 2ba2364

File tree

1 file changed

+9
-19
lines changed

1 file changed

+9
-19
lines changed

modules/installation-osp-deploying-bare-metal-machines.adoc

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ endif::[]
1414
If you want your cluster to use bare metal machines, modify the
1515
ifdef::osp-ipi[`install-config.yaml`]
1616
ifndef::osp-ipi[`inventory.yaml`]
17-
file. Your cluster can have both control plane and compute machines running on bare metal, or just compute machines.
17+
file. Your cluster can have compute machines running on bare metal.
1818

1919
[NOTE]
2020
====
@@ -48,37 +48,29 @@ endif::osp-ipi[]
4848

4949
ifdef::osp-ipi[]
5050
. In the `install-config.yaml` file, edit the flavors for machines:
51-
.. If you want to use bare-metal control plane machines, change the value of `controlPlane.platform.openstack.type` to a bare metal flavor.
5251
.. Change the value of `compute.platform.openstack.type` to a bare metal flavor.
53-
.. If you want to deploy your machines on a pre-existing network, change the value of `platform.openstack.machinesSubnet` to the {rh-openstack} subnet UUID of the network. Control plane and compute machines must use the same subnet.
52+
.. If you want to deploy your machines on a pre-existing network, change the value of `platform.openstack.machinesSubnet` to the {rh-openstack} subnet UUID of the network.
5453
+
5554
.An example bare metal `install-config.yaml` file
5655
[source,yaml]
5756
----
58-
controlPlane:
59-
platform:
60-
openstack:
61-
type: <bare_metal_control_plane_flavor> <1>
62-
...
63-
6457
compute:
6558
- architecture: amd64
6659
hyperthreading: Enabled
6760
name: worker
6861
platform:
6962
openstack:
70-
type: <bare_metal_compute_flavor> <2>
63+
type: <bare_metal_compute_flavor> <1>
7164
replicas: 3
7265
...
7366

7467
platform:
7568
openstack:
76-
machinesSubnet: <subnet_UUID> <3>
69+
machinesSubnet: <subnet_UUID> <2>
7770
...
7871
----
79-
<1> If you want to have bare-metal control plane machines, change this value to a bare metal flavor.
80-
<2> Change this value to a bare metal flavor to use for compute machines.
81-
<3> If you want to use a pre-existing network, change this value to the UUID of the {rh-openstack} subnet.
72+
<1> Change this value to a bare metal flavor to use for compute machines.
73+
<2> If you want to use a pre-existing network, change this value to the UUID of the {rh-openstack} subnet.
8274

8375

8476
Use the updated `install-config.yaml` file to complete the installation process.
@@ -88,7 +80,6 @@ endif::osp-ipi[]
8880

8981
ifndef::osp-ipi[]
9082
. In the `inventory.yaml` file, edit the flavors for machines:
91-
.. If you want to use bare-metal control plane machines, change the value of `os_flavor_master` to a bare metal flavor.
9283
.. Change the value of `os_flavor_worker` to a bare metal flavor.
9384
+
9485
.An example bare metal `inventory.yaml` file
@@ -102,14 +93,13 @@ all:
10293

10394
# User-provided values
10495
os_subnet_range: '10.0.0.0/16'
105-
os_flavor_master: 'my-bare-metal-flavor' <1>
106-
os_flavor_worker: 'my-bare-metal-flavor' <2>
96+
os_flavor_master: 'my-vm-flavor'
97+
os_flavor_worker: 'my-bare-metal-flavor' <1>
10798
os_image_rhcos: 'rhcos'
10899
os_external_network: 'external'
109100
...
110101
----
111-
<1> If you want to have bare-metal control plane machines, change this value to a bare metal flavor.
112-
<2> Change this value to a bare metal flavor to use for compute machines.
102+
<1> Change this value to a bare metal flavor to use for compute machines.
113103
114104
Use the updated `inventory.yaml` file to complete the installation process.
115105
Machines that are created during deployment use the flavor that you

0 commit comments

Comments
 (0)