Bug 2041133
| Summary: | 'oc explain route.status.ingress.conditions' shows type 'Currently only Ready' but actually is 'Admitted' | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Xingxing Xia <xxia> |
| Component: | Networking | Assignee: | Grant Spence <gspence> |
| Networking sub component: | router | QA Contact: | Melvin Joseph <mjoseph> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | low | ||
| Priority: | low | CC: | gspence, mmasters |
| Version: | 4.10 | Keywords: | EasyFix, Triaged |
| Target Milestone: | --- | ||
| Target Release: | 4.11.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: Incorrect wording in "oc explain route.status.ingress.conditions" as specified by the Openshift API.
Consequence: Inconsistent wording in Openshift API.
Fix: Change "Currently only Ready" to "Admitted" for "oc explain route.status.ingress.conditions"
Result: Consistent wording in Openshift API.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-08-10 10:42:31 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: | |||
Setting blocker- as this is not a regression or upgrade issue. melvinjoseph@mjoseph-mac Downloads % oc version
Client Version: 4.9.11
Server Version: 0.0.1-0.test-2022-02-21-055439-ci-ln-h5p4mxt-latest
Kubernetes Version: v1.22.1-4779+194b63959f0a95-dirty
melvinjoseph@mjoseph-mac Downloads %
melvinjoseph@mjoseph-mac Downloads %
melvinjoseph@mjoseph-mac Downloads % oc explain route.status.ingress.conditions
KIND: Route
VERSION: route.openshift.io/v1
RESOURCE: conditions <[]Object>
DESCRIPTION:
Conditions is the state of the route, may be empty.
RouteIngressCondition contains details for the current condition of this
route on a particular router.
FIELDS:
lastTransitionTime <string>
RFC 3339 date and time when this condition last transitioned
message <string>
Human readable message indicating details about last transition.
reason <string>
(brief) reason for the condition's last transition, and is usually a
machine and human readable constant
status <string> -required-
Status is the status of the condition. Can be True, False, Unknown.
type <string> -required-
Type is the type of the condition. Currently only Admitted.
melvinjoseph@mjoseph-mac Downloads %
melvinjoseph@mjoseph-mac Downloads %
melvinjoseph@mjoseph-mac Downloads % oc get route -A -o yaml | grep 'type: '
type: Admitted
....snipped...
type: Admitted
melvinjoseph@mjoseph-mac Downloads % oc version
Client Version: 4.9.11
Server Version: 0.0.1-0.test-2022-02-22-034732-ci-ln-mvspqwk-latest
Kubernetes Version: v1.22.1-4779+194b63959f0a95-dirty
melvinjoseph@mjoseph-mac Downloads % oc explain route.status.ingress.conditions
oc get route -A -o yaml | grep 'type: '
KIND: Route
VERSION: route.openshift.io/v1
RESOURCE: conditions <[]Object>
DESCRIPTION:
Conditions is the state of the route, may be empty.
RouteIngressCondition contains details for the current condition of this
route on a particular router.
FIELDS:
lastTransitionTime <string>
RFC 3339 date and time when this condition last transitioned
message <string>
Human readable message indicating details about last transition.
reason <string>
(brief) reason for the condition's last transition, and is usually a
machine and human readable constant
status <string> -required-
Status is the status of the condition. Can be True, False, Unknown.
type <string> -required-
Type is the type of the condition. Currently only Admitted.
melvinjoseph@mjoseph-mac Downloads % oc get route -A -o yaml | grep 'type: '
type: Admitted
type: Admitted
....snipped...
type: Admitted
the PR has been merged into 4.11.0-0.nightly-2022-02-23-045027, seems the robot cannot move it to VERIFIED automatically, so move it to VERIFIED manually. 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 |
Description of problem: 'oc explain route.status.ingress.conditions' shows 'Currently only Ready' but actually is 'Admitted' OpenShift release version: $ oc version Client Version: 4.10.0-202201122238.p0.gda3f635.assembly.stream-da3f635 Server Version: 4.10.0-0.nightly-2022-01-15-092722 Kubernetes Version: v1.23.0+60f5a1c How reproducible: Always Steps to Reproduce (in detail): $ oc explain route.status.ingress.conditions ... type <string> -required- Type is the type of the condition. Currently only Ready. Actual results: It says type 'Currently only Ready', which seems to mean 'type' can only be 'Ready'. But checked any routes: $ oc get route -A -o yaml | grep 'type: ' type: Admitted ...snipped... type: Admitted 'type' is actually 'Admitted' rather. Expected results: 'oc explain route.status.ingress.conditions' should show correct values for 'type'. Additional info: