-
Bug
-
Resolution: Done-Errata
-
Critical
-
4.18.z, 4.19
-
Quality / Stability / Reliability
-
False
-
-
None
-
Critical
-
None
-
Proposed
-
Bug Fix
-
Release payload architecture check needed to be skipped in disconnected environments because the registry where it is hosted is not necessarily (and usually is not) accessible from the machine where the cli runs.
-
None
-
None
-
None
-
None
This is a clone of issue OCPBUGS-47715. The following is the description of the original issue:
—
Description of problem:
Failed to create a disconnected cluster using HCP/HyperShift CLI
Version-Release number of selected component (if applicable):
4.19 4.18
How reproducible:
100%
Steps to Reproduce:
1. create disconnected hostedcluster with hcp cli 2. The environment where the command is executed cannot access the payload.
Actual results:
/tmp/hcp create cluster agent --cluster-cidr fd03::/48 --service-cidr fd04::/112 --additional-trust-bundle=/tmp/secret/registry.2.crt --network-type=OVNKubernetes --olm-disable-default-sources --name=b2ce1d5218a2c7b561d6 --pull-secret=/tmp/.dockerconfigjson --agent-namespace=hypershift-agents --namespace local-cluster --base-domain=ostest.test.metalkube.org --api-server-address=api.b2ce1d5218a2c7b561d6.ostest.test.metalkube.org --image-content-sources /tmp/secret/mgmt_icsp.yaml --ssh-key=/tmp/secret/id_rsa.pub --release-image virthost.ostest.test.metalkube.org:5000/localimages/local-release-image@sha256:7acdfad179f4571cbf211a87bce87749a1576b72f1d57499e6d9be09b0c4d31d1422024-12-31T08:01:05Z ERROR Failed to create cluster {"error": "failed to retrieve manifest virthost.ostest.test.metalkube.org:5000/localimages/local-release-image@sha256:7acdfad179f4571cbf211a87bce87749a1576b72f1d57499e6d9be09b0c4d31d: failed to create repository client for https://virthost.ostest.test.metalkube.org:5000: Get \"https://virthost.ostest.test.metalkube.org:5000/v2/\": Internal Server Error"}143github.com/openshift/hypershift/product-cli/cmd/cluster/agent.NewCreateCommand.func1144 /remote-source/app/product-cli/cmd/cluster/agent/create.go:32145github.com/spf13/cobra.(*Command).execute146 /remote-source/app/vendor/github.com/spf13/cobra/command.go:985147github.com/spf13/cobra.(*Command).ExecuteC148 /remote-source/app/vendor/github.com/spf13/cobra/command.go:1117149github.com/spf13/cobra.(*Command).Execute150 /remote-source/app/vendor/github.com/spf13/cobra/command.go:1041151github.com/spf13/cobra.(*Command).ExecuteContext152 /remote-source/app/vendor/github.com/spf13/cobra/command.go:1034153main.main154 /remote-source/app/product-cli/main.go:59155runtime.main156 /usr/lib/golang/src/runtime/proc.go:272157Error: failed to retrieve manifest virthost.ostest.test.metalkube.org:5000/localimages/local-release-image@sha256:7acdfad179f4571cbf211a87bce87749a1576b72f1d57499e6d9be09b0c4d31d: failed to create repository client for https://virthost.ostest.test.metalkube.org:5000: Get "https://virthost.ostest.test.metalkube.org:5000/v2/": Internal Server Error158failed to retrieve manifest virthost.ostest.test.metalkube.org:5000/localimages/local-release-image@sha256:7acdfad179f4571cbf211a87bce87749a1576b72f1d57499e6d9be09b0c4d31d: failed to create repository client for https://virthost.ostest.test.metalkube.org:5000: Get "https://virthost.ostest.test.metalkube.org:5000/v2/": Internal Server Error
Expected results:
can be created successful
Additional info:
- blocks
-
OCPBUGS-48170 Failed to create a disconnected cluster using HCP/HyperShift CLI
-
- Closed
-
- clones
-
OCPBUGS-47715 Failed to create a disconnected cluster using HCP/HyperShift CLI
-
- Closed
-
- is blocked by
-
OCPBUGS-47715 Failed to create a disconnected cluster using HCP/HyperShift CLI
-
- Closed
-
- is cloned by
-
OCPBUGS-48170 Failed to create a disconnected cluster using HCP/HyperShift CLI
-
- Closed
-
- is duplicated by
-
OCPBUGS-42867 HCP CLI should not directly inspect the release image
-
- Closed
-
- links to
-
RHEA-2024:6122 OpenShift Container Platform 4.18.z bug fix update