Bug 2122967 - Cluster does not installs because AgentServiceConfig missing entry
Summary: Cluster does not installs because AgentServiceConfig missing entry
Keywords:
Status: CLOSED DUPLICATE of bug 2111272
Alias: None
Product: Red Hat Advanced Cluster Management for Kubernetes
Classification: Red Hat
Component: Infrastructure Operator
Version: rhacm-2.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Daniel Erez
QA Contact: Chad Crum
Derek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-31 12:58 UTC by Jose Gato
Modified: 2022-09-13 07:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-13 07:41:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github stolostron backlog issues 25479 0 None None None 2022-08-31 18:02:57 UTC
Red Hat Issue Tracker MGMTBUGSM-545 0 None None None 2022-09-01 13:48:39 UTC

Description Jose Gato 2022-08-31 12:58:10 UTC
Description of the problem:

Triyng to install a cluster with OCP4.10:
 * OCP4.10 is available as a clusterimageset
 * AgentServiceConfig does not includes an entry for 4.10 installer iso.

The AgentClusterInstall gives the following error:
 
```

  - lastProbeTime: "2022-08-31T08:06:36Z"    lastTransitionTime: "2022-08-31T08:06:36Z"    message: 'The Spec could not be synced due to backend error: failed to add release image ''quay.io/openshift-release-dev/ocp-release:4.10.28-x86_64''. Please ensure the releaseImage field in ClusterImageSet ''openshift-v4.10.latest'' is valid (contact your admin with this info).'    reason: BackendError    status: "False"    type: SpecSynced

```
But the Openshift image, referenced from ClusterImageSet is correct. So the error is not there. The error is in the assisted-image-service that does not contain the proper version for 4.10

IIRC, in the past, I remember a more clear error saying something like "4.10 version" missing. 

We are using ZTP Gitops, so, we configure the image to install with:   clusterImageSetNameRef: "img4.10.5-x86-64-appsub"



Release version: RHACM2.5

Operator snapshot version:

OCP version: 4.10

Browser Info:

Steps to reproduce:
1. Create a SiteConfig with 'clusterImageSetNameRef: "img4.10.5-x86-64-appsub"'
2. Synch ArgoCD
3. All the different resources are created (infraenv,bmh, AgentClusterInstall)
4. AgentClusterInstall error: 
  - lastProbeTime: "2022-08-31T08:06:36Z"    lastTransitionTime: "2022-08-31T08:06:36Z"    message: 'The Spec could not be synced due to backend error: failed to add release image ''quay.io/openshift-release-dev/ocp-release:4.10.28-x86_64''. Please ensure the releaseImage field in ClusterImageSet ''openshift-v4.10.latest'' is valid (contact your admin with this info).'    reason: BackendError    status: "False"    type: SpecSynced
 
Actual results:

AgentClusterInstall error is not accurated.


Expected results:
AgentClusterInstall should point to the missing iso from the assissted-image-service. IIRC, I have seen that kind of error on previous version.

Additional info:


Note You need to log in before you can comment on or make changes to this bug.