Skip to content

Commit 5bbcbed

Browse files
authored
Merge pull request #93300 from JoeAldinger/OSDOCS-14584-table
OSDOCS-14584:updates CUDN invalid scenarios tables
2 parents 2f9c78d + b64fcc3 commit 5bbcbed

File tree

1 file changed

+158
-0
lines changed

1 file changed

+158
-0
lines changed

modules/cudn-status-conditions.adoc

Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,161 @@ h|Message
8080
|`Network allocation failed for at least one node: [<node_name>], check UDN events for more info.`
8181

8282
|===
83+
84+
.Invalid `mtu` scenarios types for the `ClusterUserDefinedNetwork` CR
85+
[cols="2a,2a,3a,3a",options="header"]
86+
|===
87+
88+
|Condition type
89+
3+|Reason, Message, Resolution
90+
91+
.6+|`invalid mtu`
92+
3+|One of the following messages is returned when the `mtu` is set incorrect:
93+
h|Reason
94+
h|Message
95+
h|Resolution
96+
97+
|The `mtu` field is set higher than `65536`.
98+
|`spec.network.localnet.mtu` in body should be less than `65536`.
99+
|You must set the `mtu` field lower than `65536`.
100+
101+
|The `mtu` field is set lower than `576`.
102+
|`spec.network.localnet.mtu` in body should be greater than or equal to `576`.
103+
|You must set the `mtu` field greater than or equal to `576`.
104+
105+
|The `mtu` field must be at least `1280` when using the IPv6 subnet.
106+
|`MTU should be greater than or equal to 1280 when an IPv6 subnet is used`
107+
|You must set the `mtu` field higher than or equal to `1280` when you have an IPv6 subnet defined on your user-defined network configuration.
108+
|===
109+
110+
.Invalid `PhysicalNetworkName` scenarios types for the `ClusterUserDefinedNetwork` CR
111+
[cols="2a,2a,3a,3a",options="header"]
112+
|===
113+
114+
|Condition type
115+
3+|Reason, Message, Resolution
116+
117+
.6+|`invalid PhysicalNetworkName`
118+
3+|One of the following messages is returned when the `PhysicalNetworkName` is set incorrect:
119+
h|Reason
120+
h|Message
121+
h|Resolution
122+
123+
|The name of the physical network is not set.
124+
|`spec.network.localnet.physicalNetworkName: Required value`
125+
|You must set the `physicalNetworkName` field.
126+
127+
|The name of the physical network does not meet minimum length requirements.
128+
|`spec.network.localnet.physicalNetworkName in body should be at least 1 chars long`
129+
|You must set physical network name to be at least one character in length.
130+
131+
|The name of the physical network exceeds the maximum character limit of 253.
132+
|`spec.network.localnet.physicalNetworkName: Too long: may not be more than 253 bytes`
133+
|You must set physical network name to not exceed the 253 character in length.
134+
135+
|The name of the physical network must not contain `,` or `:`.
136+
|`physicalNetworkName cannot contain "," or ":" characters`.
137+
|You must remove the `,` or `:` from the physical network name.
138+
|===
139+
140+
.Invalid `role` scenarios types for the `ClusterUserDefinedNetwork` CR
141+
[cols="2a,2a,3a,3a",options="header"]
142+
|===
143+
144+
|Condition type
145+
3+|Reason, Message, Resolution
146+
147+
.6+|`role unset` or `role is primary`
148+
3+|One of the following messages is returned when the `spec.network.localnet.role` is set incorrect:
149+
h|Reason
150+
h|Message
151+
h|Resolution
152+
153+
|The `role` field must be set for your localnet topology.
154+
|`spec.network.localnet.role: Required value`
155+
|You must set the `role` field.
156+
157+
|`Primary` is not a supported value for the Localnet topology.
158+
|`spec.network.localnet.role: Unsupported value: "Primary": supported values: "Secondary"`
159+
|You must set the `role` field for your Localnet topology to `Secondary`-the accepted value.
160+
|===
161+
162+
.Invalid `subnets` and `ipam` scenarios types for the `ClusterUserDefinedNetwork` CR
163+
[cols="2a,2a,3a,3a",options="header"]
164+
|===
165+
166+
|Condition type
167+
3+|Reason, Message, Resolution
168+
169+
.11+|`LocalnetInvalidSubnets`
170+
3+|One of the following messages is returned when either the `spec.network.localnet.subnets` or `spec.network.localnet.ipam` is set incorrect:
171+
h|Reason
172+
h|Message
173+
h|Resolution
174+
175+
|The optional fields, `subnets` and `ipam.mode`, have to be set together.
176+
|`Subnets is required with ipam.mode is Enabled or unset, and forbidden otherwise`
177+
|You must set the `subnets` field unless the `spec.network.localnet.ipam.mode` is explicitly disabled.
178+
179+
|The `spec.network.localnet.subnets` must have an acceptable value when using this optional field.
180+
|`The ClusterUserDefinedNetwork "localnet-empty-subnets-fail" is invalid: spec.network.localnet.subnets: Invalid value: 0: spec.network.localnet.subnets in body should have at least 1 items`
181+
|You must set an acceptable value for `spec.network.localnet.subnets`. Acceptable values are IPv4 and IPv6 Classless Inter-Domain Routing (CIDR) ranges that do not overlap with any CIDR ranges used by {product-title}.
182+
183+
|The `subnet` field must be set when using the optional `spec.network.localnet.excludeSubnets` field.
184+
|`excludeSubnets must be unset when subnets is unset`
185+
|You must set the `spec.network.localnet.subnets` field when using the `spec.network.localnet.excludeSubnet` field.
186+
187+
|The `excludeSubnets` must be a value within the `subnets` field.
188+
|`excludeSubnets must be subnetworks of the networks specified in the subnets field`
189+
|You must set the value for the `excludeSubnets` field to be within the `subnets` field. For example, a `subnets` value of `192.168.100.0/24` and an `excludeSubnets` value of `192.168.200.1/32` is invalid.
190+
191+
|The CIDR range is invalid.
192+
|`The ClusterUserDefinedNetwork "localnet-subnets-invalid-ipv4-cidr-fail" is invalid: spec.network.localnet.subnets[0]: Invalid value: "string": CIDR is invalid`
193+
|You must set an acceptable CIDR range for `spec.network.localnet.subnets` field. Acceptable values are IPv4 and IPv6 CIDR ranges which are not in use or reserved by {product-title}.
194+
195+
|You must set the `subnets` field when the `ipam.mode` is `Enabled` or when the IPAM mode is unset because the default value is `Enabled`.
196+
|`Subnets is required with ipam.mode is Enabled or unset, and forbidden otherwise`.
197+
|You must set the `spec.network.localnet.subnets` field unless the `spec.network.localnet.ipam.mode` is explicitly disabled.
198+
199+
|Setting two CIDR ranges for `spec.network.localnet.subnets` field requires that one be IPv4 and the other be IPv6.
200+
|`Invalid value...When 2 CIDRs are set, they must be from different IP families`.
201+
|You must change one of your CIDR ranges to a different IP family.
202+
203+
|The `spec.network.localnet.ipam.mode` is `Disabled` but the ``spec.network.localnet.lifecycle` has a value of `Persistent`.
204+
|`lifecycle Persistent is only supported when ipam.mode is Enabled`
205+
|You must set the `ipam.mode` to `Enabled` when the optional field `lifecycle` has a value of `Persistent`.
206+
|===
207+
208+
.Invalid `vlan` scenarios types for the `ClusterUserDefinedNetwork` CR
209+
[cols="4a,2a,3a,3a",options="header"]
210+
|===
211+
212+
|Condition type
213+
3+|Reason, Message, Resolution
214+
215+
.8+|`invalid vlan` or `invalid mode`
216+
3+|One of the following messages is returned when the `spec.network.localnet.vlan` is set incorrect:
217+
h|Reason
218+
h|Message
219+
h|Resolution
220+
221+
|The `spec.network.localnet.vlan.mode` field must be set.
222+
|`spec.network.localnet.vlan.mode: Unsupported value: "Disabled": supported values: "Access`
223+
|You must set the `spec.network.localnet.vlan.mode` field to `Access` mode.
224+
225+
|The `spec.network.localnet.vlan` field must be set when `spec.network.localnet.vlan.mode` is set to `Access` mode.
226+
|`vlan access config is required when vlan mode is 'Access', and forbidden otherwise`.
227+
|You must set `spec.network.localnet.vlan.mode.access` field when using `Access` mode.
228+
229+
|The `spec.network.localnet.vlan.access.id` value must be set when using `Access` mode.
230+
|`spec.network.localnet.vlan.access.id: Required value`
231+
|You must set a value for `spec.network.localnet.mode.access.id`.
232+
233+
|Acceptable values for `access.id` are greater than or equal to 1.
234+
|`spec.network.localnet.vlan.access.id in body should be greater than or equal to 1`
235+
|You must set a value of 1 or greater for `access.id` field.
236+
237+
|Acceptable values for `access.id` are less than or equal to 4094.
238+
|`spec.network.localnet.vlan.access.id in body should be less than or equal to 4094`
239+
|You must set a value of 4094 or less for `access.id` field.
240+
|===

0 commit comments

Comments
 (0)