Bug 1968427
| Summary: | [master] ImageCreationError when ClusterDeployment does not match AgentClusterInstall | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Mat Kowalski <mko> | |
| Component: | assisted-installer | Assignee: | Michael Filanov <mfilanov> | |
| assisted-installer sub component: | assisted-service | QA Contact: | Yuri Obshansky <yobshans> | |
| Status: | CLOSED DUPLICATE | Docs Contact: | ||
| Severity: | low | |||
| Priority: | low | CC: | alazar, aos-bugs, frolland | |
| Version: | 4.8 | Keywords: | Triaged | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | KNI-EDGE-JUKE-4.8 AI-Team-Hive | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1972533 (view as bug list) | Environment: | ||
| Last Closed: | 2021-06-22 08:26:11 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1972533 | |||
Seems that it will be solved in https://github.com/openshift/assisted-service/pull/2027 We duplicate this one to: https://bugzilla.redhat.com/show_bug.cgi?id=1968570 *** This bug has been marked as a duplicate of bug 1968570 *** |
+++ 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