Bug 1641991
| Summary: | "oc get --ignore-not-found" stops after the first missing object | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Mahesh Taru <mtaru> |
| Component: | oc | Assignee: | Maciej Szulik <maszulik> |
| Status: | CLOSED ERRATA | QA Contact: | Xingxing Xia <xxia> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.9.0 | CC: | aos-bugs, jokerman, mmccomas, public |
| Target Milestone: | --- | ||
| Target Release: | 4.1.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause:
--ignore-not-found flag was ignored when processing results.
Consequence:
oc get stopped on first not found object.
Fix:
Properly interpret value of --ignore-not-found flag.
Result:
Command works as expected when --ignore-not-found flag is passed.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-06-04 10:40:48 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
Mahesh Taru
2018-10-23 10:27:00 UTC
Kubernetes PR: https://github.com/kubernetes/kubernetes/pull/70311 Origin and Upstream PRs have merged. Moving to MODIFIED. This fix will be released as part of 4.0 Verified in v4.0.0-0.80.0 [root@ip-172-18-0-211 ~]# oc get pv my-pv non-exist-1 non-exist-2 regpv-volume --ignore-not-found NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE my-pv 10G RWX Retain Bound xxia-proj/my-claim-2 58m NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE regpv-volume 17G RWX Retain Bound default/regpv-claim 5h 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:0758 |