-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
4.17.0
-
None
-
Important
-
Yes
-
Proposed
-
False
-
Description of problem:
when installing a disconnected and/or private cluster, existing VPC and subnets are used and inserted into install-config, unfortunately CAPI installation failed with error 'failed to generate asset "Cluster API Manifests": failed to generate GCP manifests: failed to get control plane subnet'
Version-Release number of selected component (if applicable):
4.17.0-0.nightly-2024-07-07-131215
How reproducible:
Always
Steps to Reproduce:
1. create VPC/subnets/etc. 2. "create install-config", and insert the VPC/subnets settings (see [1]) 3. "create cluster" (or "create manifests")
Actual results:
Failed with below error, although the subnet does exist (see [2]): 07-08 17:46:44.755 level=fatal msg=failed to fetch Cluster API Manifests: failed to generate asset "Cluster API Manifests": failed to generate GCP manifests: failed to get control plane subnet: failed to find subnet jiwei-0708b-master-subnet: googleapi: Error 400: Invalid resource field value in the request. 07-08 17:46:44.755 level=fatal msg=Details: 07-08 17:46:44.755 level=fatal msg=[ 07-08 17:46:44.755 level=fatal msg= { 07-08 17:46:44.755 level=fatal msg= "@type": "type.googleapis.com/google.rpc.ErrorInfo", 07-08 17:46:44.755 level=fatal msg= "domain": "googleapis.com", 07-08 17:46:44.755 level=fatal msg= "metadatas": { 07-08 17:46:44.755 level=fatal msg= "method": "compute.v1.SubnetworksService.Get", 07-08 17:46:44.755 level=fatal msg= "service": "compute.googleapis.com" 07-08 17:46:44.755 level=fatal msg= }, 07-08 17:46:44.755 level=fatal msg= "reason": "RESOURCE_PROJECT_INVALID" 07-08 17:46:44.755 level=fatal msg= } 07-08 17:46:44.756 level=fatal msg=] 07-08 17:46:44.756 level=fatal msg=, invalidParameter
Expected results:
Installation should succeed.
Additional info:
FYI one of the problem PROW CI tests: https://qe-private-deck-ci.apps.ci.l2s4.p1.openshiftapps.com/view/gs/qe-private-deck/logs/periodic-ci-openshift-openshift-tests-private-release-4.17-multi-nightly-gcp-ipi-disc-priv-capi-amd-mixarch-f28-destructive/1810155486213836800 QE's Flexy-install/295772/ VARIABLES_LOCATION private-templates/functionality-testing/aos-4_17/ipi-on-gcp/versioned-installer-private_cluster LAUNCHER_VARS feature_set: "TechPreviewNoUpgrade"
- links to
-
RHEA-2024:3718 OpenShift Container Platform 4.17.z bug fix update