Bug 1779299
Summary: | CVO doesn't populate infrastructure/cluster field introduced with OCP 4.2. | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Chet Hosey <ChetRHosey> |
Component: | Cluster Version Operator | Assignee: | Abhinav Dahiya <adahiya> |
Status: | CLOSED DUPLICATE | QA Contact: | liujia <jiajliu> |
Severity: | unspecified | Docs Contact: | |
Priority: | low | ||
Version: | 4.2.z | CC: | aos-bugs, bzhang, dhansen, jokerman |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | 4.4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-01-13 18:29:07 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
Chet Hosey
2019-12-03 17:20:27 UTC
> https://github.com/openshift/api/blob/d4a64ec2cbd86f11ea74dfdcf6520d5833d0c6cd/config/v1/types_infrastructure.go#L41-L49
the status.platformStatus is optional. So there is not expectation that the new fields need to be configured until we have plans to deprecated the previous field.
From a testing perspective the expectation seems to be there. Otherwise the fact that a cluster can't be upgraded from 4.1 -> 4.2 and take advantage of new features might have been caught. What do you mean about plans to deprecate the previous field? The source code says of the previous field: "Deprecated: Use platformStatus.type instead." There is no reason to keep the variation between freshly installed clusters and upgraded ones. The APIs need to be backwards compatible.. and therefore we will fix it if openshift operators can't handle this safely. We introduced this in 4.2 and for one release cycle we haven't seen the need, and 4.4 there are no operators requesting this migration. So if this is not fixed in 4.4 and it moved to 4.5, the team should look at closing it as WONTFIX. Also this is not a CVO bug. as infrastructure is global configuration setup at install by openshift-install. Is openshift-install used during upgrades? The value is correct for new clusters. It's just missing on upgrade (4.1 -> 4.2). @Clayon Coleman created a bug for this issue: https://bugzilla.redhat.com/show_bug.cgi?id=1787765 *** This bug has been marked as a duplicate of bug 1787765 *** |