diff --git a/modules/installation-osp-custom-subnet.adoc b/modules/installation-osp-custom-subnet.adoc index 731c4ceb43c3..3c1f9077a31d 100644 --- a/modules/installation-osp-custom-subnet.adoc +++ b/modules/installation-osp-custom-subnet.adoc @@ -11,19 +11,21 @@ Optionally, you can deploy a cluster on a {rh-openstack-first} subnet of your choice. The subnet's GUID is passed as the value of `platform.openstack.machinesSubnet` in the `install-config.yaml` file. -This subnet is used as the cluster's primary subnet; nodes and ports are created on it. +This subnet is used as the cluster's primary subnet. By default, nodes and ports are created on it. You can create nodes and ports on a different {rh-openstack} subnet by setting the value of the `platform.openstack.machinesSubnet` property to the subnet's UUID. -Before you run the {product-title} installer with a custom subnet, verify that: +Before you run the {product-title} installer with a custom subnet, verify that your configuration meets the following requirements: -* The target network and subnet are available. +* The subnet that is used by `platform.openstack.machinesSubnet` has DHCP enabled. +* The CIDR of `platform.openstack.machinesSubnet` matches the CIDR of `networking.machineNetwork`. +* The installation program user has permission to create ports on this network, including ports with fixed IP addresses. -* DHCP is enabled on the target subnet. +Clusters that use custom subnets have the following limitations: -* You can provide installer credentials that have permission to create ports on the target network. +* If you plan to install a cluster that uses floating IP addresses, the `platform.openstack.machinesSubnet` subnet must be attached to a router that is connected to the `externalNetwork` network. -* If your network configuration requires a router, it is created in {rh-openstack}. Some configurations rely on routers for floating IP address translation. +* If the `platform.openstack.machinesSubnet` value is set in the `install-config.yaml` file, the installation program does not create a private network or subnet for your {rh-openstack} machines. -* Your network configuration does not rely on a provider network. Provider networks are not supported. +* You cannot use the `platform.openstack.externalDNS` property at the same time as a custom subnet. To add DNS to a cluster that uses a custom subnet, configure DNS on the {rh-openstack} network. [NOTE] ==== diff --git a/modules/machineset-yaml-osp.adoc b/modules/machineset-yaml-osp.adoc index 0f672bd31d78..3aaa39faf94e 100644 --- a/modules/machineset-yaml-osp.adoc +++ b/modules/machineset-yaml-osp.adoc @@ -46,12 +46,13 @@ spec: image: serverGroupID: <4> kind: OpenstackProviderSpec - networks: + networks: <5> - filter: {} subnets: - filter: name: tags: openshiftClusterID= + primarySubnet: <6> securityGroups: - filter: {} name: - @@ -73,4 +74,7 @@ $ oc get -o jsonpath='{.status.infrastructureName}{"\n"}' infrastructure cluster ---- <2> Specify the node label to add. <3> Specify the infrastructure ID and node label. -<4> To set a server group policy for the machine set, enter the value that is returned from link:https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.0/html/command_line_interface_reference/server#server_group_create[creating a server group]. For most deployments, `anti-affinity` or `soft-anti-affinity` policies are recommended. +<4> To set a server group policy for the MachineSet, enter the value that is returned from +link:https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.0/html/command_line_interface_reference/server#server_group_create[creating a server group]. For most deployments, `anti-affinity` or `soft-anti-affinity` policies are recommended. +<5> Required for deployments to multiple networks. If deploying to multiple networks, this list must include the network that is used as the `primarySubnet` value. +<6> Specify the {rh-openstack} subnet that you want the endpoints of nodes to be published on. Usually, this is the same subnet that is used as the value of `machinesSubnet` in the `install-config.yaml` file. \ No newline at end of file