Bug 1900755
Summary: | Wrong output when using jsonpath with "oc get". | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Sergio G. <sgarciam> |
Component: | oc | Assignee: | Robin Cernin <rcernin> |
Status: | CLOSED NOTABUG | QA Contact: | zhou ying <yinzhou> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.6.z | CC: | aos-bugs, fkrepins, jokerman, maszulik, mfojtik, rcernin |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-08-09 13:19:56 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
Sergio G.
2020-11-23 16:33:04 UTC
I’m adding UpcomingSprint, because I was occupied by fixing bugs with higher priority/severity, developing new features with higher priority, or developing new features to improve stability at a macro level. I will revisit this bug next sprint. A(In reply to Robin Cernin from comment #2) > I proposed a PR upstream https://github.com/kubernetes/kubernetes/pull/98057 Awesome, I'll have a look at it sometime soon-ish :-) Thanks! I'm hoping to get to this sometime next week. Merged upstream in https://github.com/kubernetes/kubernetes/pull/98057 We should get it along with k8s 1.22 bump, in that case. the original problem doesn't seem like a bug because it is using incorrect jsonpath syntax. It is missing the {end} element. Please see https://kubernetes.io/docs/reference/kubectl/jsonpath/. The fix for this however caused a bug in one of our tests: https://bugzilla.redhat.com/show_bug.cgi?id=1989505. I have posted a PR for reverting the original fix: https://github.com/kubernetes/kubernetes/pull/104172 I propose closing this bug as not a bug. Based on previous comment I'm closing this as not a bug. The original problem was that the jsonpath statement was missing {end}. |