Bug 2066444
| Summary: | The "ingress" clusteroperator's relatedObjects field has kind names instead of resource names | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Miciah Dashiel Butler Masters <mmasters> |
| Component: | Networking | Assignee: | Miciah Dashiel Butler Masters <mmasters> |
| Networking sub component: | router | QA Contact: | Arvind iyengar <aiyengar> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | medium | ||
| Priority: | medium | CC: | aos-bugs, hongli, wking |
| Version: | 4.11 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.11.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: The ingress operator's ClusterOperator's status.relatedObjects field had capitalized kind names instead of lower-cased resource names for the "dnsrecords" and "ingresscontrollers" resources.
Consequence: If RESTMapping failed when must-gather ran, the resulting must-gather archive could be missing the ingresscontrollers and dnsrecords resources.
Fix: The ingress operator was changed always to specify resource names in the ClusterOperator's status.relatedObjects field.
Result: Must-gather is more likely to succeed in gathering resources related to ingress.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-08-10 10:55:17 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
Miciah Dashiel Butler Masters
2022-03-21 19:14:35 UTC
Verified in "4.11.0-0.nightly-2022-03-23-132952" payload. With this release version, the relatedObjects fields have normalized case for DNS and ingresscontroller resource:
-----
oc get clusterversion
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.11.0-0.nightly-2022-03-23-132952 True False 15m Cluster version is 4.11.0-0.nightly-2022-03-23-132952
oc get clusteroperators/ingress -o 'jsonpath={.status.relatedObjects}' | jq .
[
{
"group": "",
"name": "openshift-ingress-operator",
"resource": "namespaces"
},
{
"group": "operator.openshift.io",
"name": "",
"namespace": "openshift-ingress-operator",
"resource": "ingresscontrollers"
},
{
"group": "ingress.operator.openshift.io",
"name": "",
"namespace": "openshift-ingress-operator",
"resource": "dnsrecords"
},
{
"group": "",
"name": "openshift-ingress",
"resource": "namespaces"
},
{
"group": "",
"name": "openshift-ingress-canary",
"resource": "namespaces"
}
]
-----
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: OpenShift Container Platform 4.11.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:5069 |