Bug 1487245
| Summary: | 'oc get' with 'projectrequest' output as yaml or json causes panic | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | David Caldwell <dcaldwel> |
| Component: | oc | Assignee: | Juan Vallejo <jvallejo> |
| Status: | CLOSED ERRATA | QA Contact: | Xingxing Xia <xxia> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.6.1 | CC: | aos-bugs, ffranz, hasha, jokerman, jvallejo, mmccomas, spadgett |
| Target Milestone: | --- | ||
| Target Release: | 3.7.0 | ||
| 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: | 2017-11-28 22:08:20 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
David Caldwell
2017-08-31 13:39:21 UTC
Related github issue: https://github.com/openshift/origin/issues/16064 Upstream PR: https://github.com/kubernetes/kubernetes/pull/51727 Origin PR (patch available in latest master): https://github.com/openshift/origin/pull/16082 Checked this issue on oc v3.7.0-alpha.1+37bf502-282 version, it works well now.
[hasha@mypc origin]$ git log --pretty="%h %an %cd - %s" 37bf502 | grep '#16082'
4c6b2eb OpenShift Merge Robot Fri Sep 8 22:03:25 2017 -0700 - Merge pull request #16082 from juanvallejo/jvallejo/ensure-unstructured-objects-before-composing
[root@test ~]#oc get --all-namespaces --output=json projectrequests
{
"apiVersion": "v1",
"items": [
{
"apiVersion": "v1",
"kind": "Status",
"metadata": {},
"status": "Success"
}
],
"kind": "List",
"metadata": {
"resourceVersion": "",
"selfLink": ""
}
}
Changed status to verified
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/RHSA-2017:3188 |