Bug 2041133 - 'oc explain route.status.ingress.conditions' shows type 'Currently only Ready' but actually is 'Admitted'
Summary: 'oc explain route.status.ingress.conditions' shows type 'Currently only Ready...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.10
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.11.0
Assignee: Grant Spence
QA Contact: Melvin Joseph
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-16 04:23 UTC by Xingxing Xia
Modified: 2022-08-10 10:42 UTC (History)
2 users (show)

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.
Clone Of:
Environment:
Last Closed: 2022-08-10 10:42:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift api pull 1122 0 None open Bug 2041133: Fix wording in "oc explain router.status.ingress.conditions" 2022-02-15 18:31:42 UTC
Github openshift openshift-apiserver pull 286 0 None Closed We are unable to see "sybase" user account in SSSD running servers 2022-04-16 22:19:41 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 10:42:52 UTC

Description Xingxing Xia 2022-01-16 04:23:04 UTC
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:

Comment 1 Miciah Dashiel Butler Masters 2022-01-17 04:01:19 UTC
Setting blocker- as this is not a regression or upgrade issue.

Comment 3 Melvin Joseph 2022-02-21 06:53:33 UTC
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

Comment 4 Melvin Joseph 2022-02-22 05:07:35 UTC
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

Comment 7 Melvin Joseph 2022-02-23 16:26:38 UTC
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.

Comment 10 errata-xmlrpc 2022-08-10 10:42:31 UTC
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


Note You need to log in before you can comment on or make changes to this bug.