Description of problem: oc adm must-gather exists as a part of the newer oc binary and as part of `oc adm --help`, however, it does not show up when tab completing (unlike every other resource on the tool). Version-Release number of selected component (if applicable): Client Version: version.Info{Major:"4", Minor:"1+", GitVersion:"v4.1.0-201904211700+86afce9-dirty", GitCommit:"86afce9", GitTreeState:"", BuildDate:"2019-04-21T23:20:35Z", GoVersion:"", Compiler:"", Platform:""} How reproducible: 100% (per my testing) Steps to Reproduce: 1. install 4.1 oc cli binary 2. oc adm <tab><tab> Actual results: Don't see must-gather Expected results: See must-gather
I'm moving this to 4.2, for 4.1 it's intentional, the command is hidden and thus no completions are available.
This is fixed in 4.3.
The issue has fixed: [root@192 home]# oc version -o yaml clientVersion: buildDate: "2019-10-24T14:01:53Z" compiler: gc gitCommit: 118066a57f6280d685153dc0253ca2eb1fdc2333 gitTreeState: clean gitVersion: v4.3.0 goVersion: go1.12.8 major: "" minor: "" platform: linux/amd64 openshiftVersion: 4.3.0-0.nightly-2019-10-25-015726 [root@192 home]# oc adm build-chain create-error-template migrate policy upgrade certificate create-kubeconfig must-gather prune verify-image-signature ......
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-2020:0062