Bug 1970134
| Summary: | [master] AI KubeAPI AgentClusterInstall confusing "Validated" condition about VIP not matching machine network | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Omer Tuchfeld <otuchfel> | |
| Component: | assisted-installer | Assignee: | Ori Amizur <oamizur> | |
| assisted-installer sub component: | Deployment Operator | QA Contact: | Omri Hochman <ohochman> | |
| Status: | CLOSED CURRENTRELEASE | Docs Contact: | ||
| Severity: | high | |||
| Priority: | urgent | CC: | aos-bugs, oamizur | |
| Version: | 4.8 | Keywords: | Triaged | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | KNI-EDGE-JUKE-4.8 AI-Team-Core | |||
| Fixed In Version: | OCP-Metal-v1.0.23.1 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1971308 (view as bug list) | Environment: | ||
| Last Closed: | 2022-08-28 08:45:59 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: | 1971308 | |||
|
Description
Omer Tuchfeld
2021-06-09 21:06:34 UTC
We have all the logic and the validations in the backend, kube-api is just a translation layer that does not aware to the validations that are failing. because it's a validations issue i think that can be easily resolved in the validations logic. `clusterValidator` handle specific host so it probably can store a state, so maybe when running the validation it can store a specific error and then use it in `printIsApiVipValid` so in this case the validation can check if cluster have registered hosts and give a better reply @oamizur @alazar what do you think? it will require some changes in the logic but i think that this is not the only case that will require different types of errors. @oamizur Maybe in case we don't have hosts, these validation errors should not be displayed, or show "pending" status? @alazar basically this is right. Validations that have need some pending inputs should not fail but just be pending. All the above validations should be pending if there are no hosts with inventories. |