-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
4.17
-
None
-
None
-
False
-
Description of problem:
install cluster failed with >15 subnets, got validation_failed_max_items error
Version-Release number of selected component (if applicable):
4.17
How reproducible:
Always
Steps to Reproduce:
1. create a vpc, which has 16 subnets 2. based on all subnets create cluster.
platform: ibmcloud: region: jp-tok networkResourceGroupName: ci-op-tbky051x-771f9-rg vpcName: ci-op-tbky051x-771f9-vpc controlPlaneSubnets: - ci-op-tbky051x-771f9-control-plane-1-4 - ci-op-tbky051x-771f9-control-plane-3-3 - ci-op-tbky051x-771f9-control-plane-3-2 - ci-op-tbky051x-771f9-control-plane-3-1 - ci-op-tbky051x-771f9-control-plane-2-3 - ci-op-tbky051x-771f9-control-plane-2-2 - ci-op-tbky051x-771f9-control-plane-2-1 - ci-op-tbky051x-771f9-control-plane-1-3 - ci-op-tbky051x-771f9-control-plane-1-2 - ci-op-tbky051x-771f9-control-plane-1-1 - ci-op-tbky051x-771f9-control-plane-jp-tok-3 - ci-op-tbky051x-771f9-control-plane-jp-tok-2 - ci-op-tbky051x-771f9-control-plane-jp-tok-1 computeSubnets: - ci-op-tbky051x-771f9-compute-jp-tok-3 - ci-op-tbky051x-771f9-compute-jp-tok-2 - ci-op-tbky051x-771f9-compute-jp-tok-1
3. install failed:
level=error msg=Cluster operator ingress Degraded is True with IngressDegraded: The "default" ingress controller reports Degraded=True: DegradedConditions: One or more other status conditions indicate a degraded state: LoadBalancerReady=False (SyncLoadBalancerFailed: The service-controller component is reporting SyncLoadBalancerFailed events like: Error syncing load balancer: failed to ensure load balancer: Error on cloud load balancer kube-maxu-17m-fndsl-15344382c19745f6a834d33f66aaf017 for service openshift-ingress/router-default with UID 15344382-c197-45f6-a834-d33f66aaf017: Failed ensuring LoadBalancer: Invalid json payload provided: Message: Validation Failure for field: subnets Code: validation_failed_max_items TargetName: subnets TargetType: field TargetValue: [{"id":"02e7-a1d50243-4153-46c4-ad2d-fa47ec6276ad"},{"id":"02g7-291d54be-983a-4dc8-9e18-dc61b20e0fba"},{"id":"02g7-c5c7b21e-48ec-4fa8-ad1f-f5a33fe09ce3"},{"id":"02g7-335d78fd-d4ae-4753-b438-9494e8ba0f3d"},{"id":"02f7-f3338ce5-b36e-49ba-b07f-d130b6811bcc"},{"id":"02f7-6719bf36-ddfe-413b-8f47-23f8563b1a73"},{"id":"02f7-d371be41-7bdf-40b5-b5ed-f7843aa43d12"},{"id":"02e7-c3b04191-3be0-43d7-9c05-64ddba1693a8"},{"id":"02e7-ff7e07ee-fc50-4db4-bbde-fa49a0b75094"},{"id":"02e7-c0aecc1e-d407-4b27-ba92-a7c0a9de9cd7"},{"id":"02g7-67941881-fca6-4931-af88-2ccada17e9a5"},{"id":"02f7-8a940fba-3bcf-4c75-8a40-e1f95804f45f"},{"id":"02e7-dec22a65-f49d-48ea-8af6-8710eff787c4"},{"id":"02g7-d8723269-7982-42be-a9d3-13b26efb9a20"},{"id":"02f7-43b9f6f3-3384-4c22-9514-e7aa3ecee807"},{"id":"02e7-fa4a4ec9-eeb8-43df-a045-866fcf9d22c6"}]:: 10-29 21:03:26.863 level=error msg=The cloud-controller-manager logs may contain more details.), CanaryChecksSucceeding=False (CanaryChecksRepetitiveFailures: Canary route checks for the default ingress controller are failing.
Actual results:
install failed, got validation_failed_max_items error
Expected results:
in checking install-config, the max subnets is 15.
Additional info:
1. https://cloud.ibm.com/docs/vpc?topic=vpc-load-balancer-faqs#max-number-subnets-alb 2. when the subnets is 15, install succeed.