-
Bug
-
Resolution: Unresolved
-
Major
-
4.18
Description of problem:
- While trying to create a hosted cluster with the KubeVirt platform from CLI as per the command provided in the official document, it fails with an invalid ReleaseImage message.
- The provisioner attempts to deploy a hosted cluster with a version "4.19.0-rc.3" which is not even GA.
Version-Release number of selected component:
OpenShift v4.18.13
multicluster-engine.v2.8.1
kubevirt-hyperconverged-operator.v4.18.2
How reproducible:
Follow the command in the official document to deploy the hosted cluster with KubeVirt.
Steps to Reproduce:
./hcp create cluster kubevirt \ --name hcp-virt-test1\ --node-pool-replicas 2 \ --pull-secret gcp/pull-secret.txt \ --memory 4Gi \ --cores 2 \ --etcd-storage-class=standard-csi
Actual results:
- The hcp create command though doesn't throw any error, the HCP isn't deployed. It fails with an error message "ValidReleaseImage condition is false: the latest version supported is: "4.18.0". Attempting to use: "4.19.0-rc.3" "
- The provisioner attempts to deploy a hosted cluster with a version "4.19.0-rc.3" which is not even GA.
$ ./hcp create cluster kubevirt \ --name hcp-virt-test1\ --node-pool-replicas 2 \ --pull-secret gcp/pull-secret.txt \ --memory 4Gi \ --cores 2 \ --etcd-storage-class=standard-csi {"level":"info","ts":"2025-05-26T18:04:36+05:30","msg":"Applied Kube resource","kind":"Namespace","namespace":"","name":"clusters"} {"level":"info","ts":"2025-05-26T18:04:36+05:30","msg":"Applied Kube resource","kind":"Secret","namespace":"clusters","name":"hcp-virt-test1-pull-secret"} {"level":"info","ts":"2025-05-26T18:04:36+05:30","msg":"Applied Kube resource","kind":"Secret","namespace":"clusters","name":"hcp-virt-test1-etcd-encryption-key"} {"level":"info","ts":"2025-05-26T18:04:36+05:30","msg":"Applied Kube resource","kind":"","namespace":"clusters","name":"hcp-virt-test1"} {"level":"info","ts":"2025-05-26T18:04:36+05:30","msg":"Applied Kube resource","kind":"NodePool","namespace":"clusters","name":"hcp-virt-test1"} $ oc get hc NAME VERSION KUBECONFIG PROGRESS AVAILABLE PROGRESSING MESSAGE hcp-virt-test1 Partial False False ValidReleaseImage condition is false: the latest version supported is: "4.18.0". Attempting to use: "4.19.0-rc.3"
Expected results:
- The hosted cluster should be deployed with the default/latest OpenShift release.
OR,
- The usage of --release-image should be made mandatory as a required option for "hcp create" command.
- At least it should NOT attempt to provision a hosted cluster with a release which is not even GA.
- blocks
-
OCPBUGS-58151 Creating hosted cluster from CLI fails due to invalid ReleaseImage
-
- POST
-
- is cloned by
-
OCPBUGS-58151 Creating hosted cluster from CLI fails due to invalid ReleaseImage
-
- POST
-
- links to