Bug 1725027
| Summary: | Should update `oc adm release info -h` help info with output : digest, name, pullspec | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | zhou ying <yinzhou> |
| Component: | oc | Assignee: | Clayton Coleman <ccoleman> |
| Status: | CLOSED ERRATA | QA Contact: | zhou ying <yinzhou> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.1.0 | CC: | aos-bugs, jokerman, mfojtik, wking |
| Target Milestone: | --- | ||
| Target Release: | 4.2.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: | 2019-10-16 06:32:46 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: | |||
Origin PR closed [1] in favor of the oc PR, which merged [2] before the 4.2/4.3 split and is in the latest RC: $ oc adm release info --commits quay.io/openshift-release-dev/ocp-release:4.2.0-rc.1 | grep cli | head -n1 cli https://github.com/openshift/oc 75a68b31c2225b8bb10f9fb521bf368fa563c6be $ git log --oneline 75a68b31c2225b8bb10f9fb521bf368fa563c6be | grep a1b4b05f3 a1b4b05f3 Bug 1725027: --output flag to release info does not include all options Moving to ON_QA. [1]: https://github.com/openshift/origin/pull/23316#issuecomment-520692104 [2]: https://github.com/openshift/oc/pull/53#event-2633852378 Back to MODIFIED so ARTs sweeper will put these in errata. The issue has fixed: [root@dhcp-140-138 ~]# oc version Client Version: v4.2.0 Server Version: 4.2.0-0.nightly-2019-10-07-203748 Kubernetes Version: v1.14.6+c795c6c [root@dhcp-140-138 ~]# oc adm release info -h Show information about an OpenShift release .... -o, --output='': Display the release info in an alternative format: digest|json|name|pullspec. 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 |
Description of problem: Now the `oc adm release info` output support digest, name, and pull spec, but the help info not include those. Should update the help info with them. Version-Release number of selected component (if applicable): cli: 4.1.4-201906261555.git.0.c9e4f28.el7 How reproducible: always Steps to Reproduce: 1. Use command to check help info: `oc adm release info -h` Actual results: 1. [root@dhcp-140-138 ~]# oc adm release info -h .... -o, --output='': Display the release info in an alternative format: json --pullspecs=false: Display the pull spec of each image instead of the digest. .... Expected results: 1. -o, --output='': Display the release info in an alternative format: json, name, digest, pullspec. Additional info: