Skip to content

Commit 6a9d806

Browse files
authored
Merge pull request #88405 from jeana-redhat/OSDOCS-13365-nutanix-multi-nic-support-day-2
OSDOCS-13365: multi-NIC support in Nutanix
2 parents 2e7f4e3 + 96d6189 commit 6a9d806

File tree

3 files changed

+49
-16
lines changed

3 files changed

+49
-16
lines changed

modules/cpmso-yaml-provider-spec-nutanix.adoc

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,21 +78,40 @@ You must use the `Legacy` boot type in {product-title} {product-version}.
7878
====
7979
Clusters that use {product-title} version 4.15 or later can use failure domain configurations.
8080
81-
If the cluster is configured to use a failure domain, this parameter is configured in the failure domain.
81+
If the cluster uses a failure domain, configure this parameter in the failure domain.
8282
If you specify this value in the provider specification when using failure domains, the Control Plane Machine Set Operator ignores it.
8383
====
8484
<4> Specifies the secret name for the cluster. Do not change this value.
8585
<5> Specifies the image that was used to create the disk.
8686
<6> Specifies the cloud provider platform type. Do not change this value.
8787
<7> Specifies the memory allocated for the control plane machines.
8888
<8> Specifies the Nutanix project that you use for your cluster. In this example, the project type is `name`, so there is a `name` stanza.
89-
<9> Specifies a subnet configuration. In this example, the subnet type is `uuid`, so there is a `uuid` stanza.
89+
<9> Specify one or more Prism Element subnet objects.
90+
In this example, the subnet type is `uuid`, so there is a `uuid` stanza.
91+
A maximum of 32 subnets for each Prism Element failure domain in the cluster is supported.
92+
+
93+
[IMPORTANT]
94+
====
95+
The following known issues with configuring multiple subnets for an existing Nutanix cluster by using a control plane machine set exist in {product-title} version 4.18:
96+
97+
* Adding subnets above the existing subnet in the `subnets` stanza causes a control plane node to become stuck in the `Deleting` state.
98+
As a workaround, only add subnets below the existing subnet in the `subnets` stanza.
99+
100+
* Sometimes, after adding a subnet, the updated control plane machines appear in the Nutanix console but the {product-title} cluster is unreachable.
101+
There is no workaround for this issue.
102+
103+
These issues occur on clusters that use a control plane machine set to configure subnets regardless of whether subnets are specified in a failure domain or the provider specification.
104+
For more information, see link:https://issues.redhat.com/browse/OCPBUGS-50904[*OCPBUGS-50904*].
105+
====
106+
+
107+
The CIDR IP address prefix for one of the specified subnets must contain the virtual IP addresses that the {product-title} cluster uses.
108+
All subnet UUID values must be unique.
90109
+
91110
[NOTE]
92111
====
93112
Clusters that use {product-title} version 4.15 or later can use failure domain configurations.
94113
95-
If the cluster is configured to use a failure domain, this parameter is configured in the failure domain.
114+
If the cluster uses a failure domain, configure this parameter in the failure domain.
96115
If you specify this value in the provider specification when using failure domains, the Control Plane Machine Set Operator ignores it.
97116
====
98117
<10> Specifies the VM disk size for the control plane machines.

modules/machineset-yaml-nutanix.adoc

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -108,16 +108,16 @@ endif::infra[]
108108
project: <10>
109109
type: name
110110
name: <project_name>
111-
subnets:
111+
subnets: <11>
112112
- type: uuid
113113
uuid: <subnet_uuid>
114-
systemDiskSize: 120Gi <11>
114+
systemDiskSize: 120Gi <12>
115115
userDataSecret:
116-
name: <user_data_secret> <12>
117-
vcpuSockets: 4 <13>
118-
vcpusPerSocket: 1 <14>
116+
name: <user_data_secret> <13>
117+
vcpuSockets: 4 <14>
118+
vcpusPerSocket: 1 <15>
119119
ifdef::infra[]
120-
taints: <15>
120+
taints: <16>
121121
- key: node-role.kubernetes.io/infra
122122
effect: NoSchedule
123123
endif::infra[]
@@ -143,12 +143,16 @@ You must use the `Legacy` boot type in {product-title} {product-version}.
143143
<8> Specify the image to use. Use an image from an existing default compute machine set for the cluster.
144144
<9> Specify the amount of memory for the cluster in Gi.
145145
<10> Specify the Nutanix project that you use for your cluster. In this example, the project type is `name`, so there is a `name` stanza.
146-
<11> Specify the size of the system disk in Gi.
147-
<12> Specify the name of the secret in the user data YAML file that is in the `openshift-machine-api` namespace. Use the value that installation program populates in the default compute machine set.
148-
<13> Specify the number of vCPU sockets.
149-
<14> Specify the number of vCPUs per socket.
146+
<11> Specify one or more UUID for the Prism Element subnet object.
147+
The CIDR IP address prefix for one of the specified subnets must contain the virtual IP addresses that the {product-title} cluster uses.
148+
A maximum of 32 subnets for each Prism Element failure domain in the cluster is supported.
149+
All subnet UUID values must be unique.
150+
<12> Specify the size of the system disk in Gi.
151+
<13> Specify the name of the secret in the user data YAML file that is in the `openshift-machine-api` namespace. Use the value that installation program populates in the default compute machine set.
152+
<14> Specify the number of vCPU sockets.
153+
<15> Specify the number of vCPUs per socket.
150154
ifdef::infra[]
151-
<15> Specify a taint to prevent user workloads from being scheduled on infra nodes.
155+
<16> Specify a taint to prevent user workloads from being scheduled on infra nodes.
152156
+
153157
[NOTE]
154158
====

modules/post-installation-configuring-nutanix-failure-domains.adoc

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ You add failure domains to an existing Nutanix cluster by modifying its Infrastr
1010

1111
[TIP]
1212
====
13-
It is recommended that you configure three failure domains to ensure high-availability.
13+
To ensure high-availability, configure three failure domains.
1414
====
1515

1616
.Procedure
@@ -62,6 +62,16 @@ where:
6262

6363
`<uuid>`:: Specifies the universally unique identifier (UUID) of the Prism Element.
6464
`<failure_domain_name>`:: Specifies a unique name for the failure domain. The name is limited to 64 or fewer characters, which can include lower-case letters, digits, and a dash (`-`). The dash cannot be in the leading or ending position of the name.
65-
`<network_uuid>`:: Specifies the UUID of the Prism Element subnet object. The subnet's IP address prefix (CIDR) should contain the virtual IP addresses that the {product-title} cluster uses. Only one subnet per failure domain (Prism Element) in an {product-title} cluster is supported.
65+
`<network_uuid>`:: Specifies one or more UUID for the Prism Element subnet object.
66+
The CIDR IP address prefix for one of the specified subnets must contain the virtual IP addresses that the {product-title} cluster uses.
67+
+
68+
--
69+
:FeatureName: Configuring multiple subnets
70+
include::snippets/technology-preview.adoc[]
71+
--
72+
+
73+
To configure multiple subnets in the Infrastructure CR, you must enable the `NutanixMultiSubnets` feature gate.
74+
A maximum of 32 subnets for each failure domain (Prism Element) in an {product-title} cluster is supported.
75+
All subnet UUID values must be unique.
6676

6777
. Save the CR to apply the changes.

0 commit comments

Comments
 (0)