Bug 1972533 - [4.8.0] ImageCreationError when ClusterDeployment does not match AgentClusterInstall
Summary: [4.8.0] ImageCreationError when ClusterDeployment does not match AgentCluster...
Keywords:
Status: CLOSED DUPLICATE of bug 1968570
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: assisted-installer
Version: 4.8
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.8.0
Assignee: Raz Regev
QA Contact: Yuri Obshansky
URL:
Whiteboard: KNI-EDGE-JUKE-4.8 AI-Team-Hive
Depends On: 1968427 1968570
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-16 06:59 UTC by Michael Filanov
Modified: 2021-06-24 08:42 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1968427
Environment:
Last Closed: 2021-06-22 08:26:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1968427 1 low CLOSED [master] ImageCreationError when ClusterDeployment does not match AgentClusterInstall 2021-06-22 08:26:09 UTC

Description Michael Filanov 2021-06-16 06:59:13 UTC
+++ This bug was initially created as a clone of Bug #1968427 +++

+++ Description of problem:

"ImageCreationError" with "Failed to create image: record not found" does not provide enough informations to trace the origin of the error

+++ Steps to Reproduce:

1. Create AgentClusterInstall and ClusterDeployment with mismatching references, e.g.

```
---
apiVersion: hive.openshift.io/v1
kind: ClusterImageSet
metadata:
  name: openshift-v4.8.0-fc7
spec:
  releaseImage: quay.io/openshift-release-dev/ocp-release:4.8.0-fc.7-x86_64

---
apiVersion: extensions.hive.openshift.io/v1beta1
kind: AgentClusterInstall
metadata:
  name: bmac-test-bughunter-2
  namespace: assisted-installer-bughunter-3
spec:
  clusterDeploymentRef:
    name: single-node-bughunter-3
  imageSetRef:
    name: openshift-v4.8.0-fc7
[...]

---
apiVersion: hive.openshift.io/v1
kind: ClusterDeployment
metadata:
  name: single-node-bughunter-3
  namespace: assisted-installer-bughunter-3
spec:
  clusterInstallRef:
    group: extensions.hive.openshift.io
    kind: AgentClusterInstall
    name: bmac-test-bughunter-3
    version: v1beta1
[...]

---
apiVersion: agent-install.openshift.io/v1beta1
kind: InfraEnv
metadata:
  name: myinfraenv-bughunter-3
  namespace: assisted-installer-bughunter-3
spec:
  clusterRef:
    name: single-node-bughunter-3
    namespace: assisted-installer-bughunter-3
[...]
```

Please note "bughunter-2" vs "bughunter-3"

+++ Expected results:

As an operator I would expect InfraEnv status to be more descriptive

Comment 1 Michael Filanov 2021-06-22 08:26:30 UTC

*** This bug has been marked as a duplicate of bug 1968570 ***


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