Bug 1745532 - `oc get --ignore-not-found -f -` does not behave like `oc get --ignore-not-found kind/name.. `
Summary: `oc get --ignore-not-found -f -` does not behave like `oc get --ignore-not-fo...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.2.0
Assignee: Mike Dame
QA Contact: zhou ying
URL:
Whiteboard:
Depends On:
Blocks: 1727917
TreeView+ depends on / blocked
 
Reported: 2019-08-26 10:31 UTC by Michal Fojtik
Modified: 2019-10-16 06:37 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1727917
Environment:
Last Closed: 2019-10-16 06:37:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift kubernetes-cli-runtime pull 2 0 None closed Bug 1745532: FlattenListVisitor now continues traversal on errors and returns an aggregate 2021-02-04 01:13:41 UTC
Github openshift oc pull 78 0 None closed Bug 1745532: FlattenListVisitor now continues traversal on errors and returns an aggregate 2021-02-04 01:13:41 UTC
Red Hat Product Errata RHBA-2019:2922 0 None None None 2019-10-16 06:37:45 UTC

Comment 1 Michal Fojtik 2019-08-26 10:33:08 UTC
Mike are you going to backport this to 4.2 ?

Comment 3 Maciej Szulik 2019-08-29 13:28:44 UTC
Current bump is in https://github.com/openshift/oc/pull/79

Comment 5 zhou ying 2019-09-03 02:26:12 UTC
Confirmed with oc extracted from payload 4.2.0-0.nightly-2019-09-02-172410, the issue has fixed:

[root@dhcp-140-138 ~]# oc get -n openshift-monitoring --ignore-not-found secrets/grafana-tls secrets/grafana-proxy-missing secrets/grafana-config
NAME             TYPE                DATA   AGE
grafana-tls      kubernetes.io/tls   2      23h
grafana-config   Opaque              1      23h


[root@dhcp-140-138 ~]# oc get -f search.yaml --ignore-not-found
NAME             TYPE                DATA   AGE
grafana-tls      kubernetes.io/tls   2      23h
grafana-config   Opaque              1      23h

Comment 6 errata-xmlrpc 2019-10-16 06:37:32 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, 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/RHBA-2019:2922


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