Bug 1969416
| Summary: | Misleading error message when creating AgentClusterInstall before ClusterDeployment | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Daniel Erez <derez> |
| 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: | aos-bugs, frolland |
| Version: | 4.8 | Keywords: | Triaged |
| Target Milestone: | --- | Flags: | frolland:
needinfo-
frolland: needinfo- |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | AI-Team-Hive KNI-EDGE-JUKE-4.8 | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-06-16 06:55:41 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: | |||
|
Description
Daniel Erez
2021-06-08 12:01:38 UTC
Maybe need to update the synced condtion, @adam what do you think? @frolland Yes we should update the Sync condition with a good message. Also move all others to Unknown. the description is a bit misleading, in case we have only agent cluster install we will reconcile over it. If user creates only agent cluster install with invalid link to cluster deployment then when reconcile is called then we will fail to get cluster deployment and you may see this error, but the error is correct, we failed to get cluster deployment. the error can be improved if we check the error and see if it's not found and not just generic error, using `apierrors.IsNotFound(err)` So the only thing to do here is to improve the error logs *** This bug has been marked as a duplicate of bug 1969494 *** |