Description of problem: Install oc from the rpm, use `man oc` command to check the man pages, result with "No manual entry for oc" Version-Release number of selected component (if applicable): openshift-clients-4.2.0-201908211819.git.0.350e718.el7.x86_64 How reproducible: Always Steps to Reproduce: 1. Install oc from rpm; 2. Check the man page: `man oc` 3. Check the rpm package. Actual results: 2. No man pages for oc command. 3. No man pages included in the rpm package Expected results: 2. Should contain man page from the rpm package. Additional info:
I've just checked this against openshift-clients-4.2.24-202003130432.git.218.48c474c.el7.x86_64.rpm and I see man pages containing the pages, moving to qa.
Confirmed with latest oc client, the issue has fixed: [root@dhcp-140-138 verification-tests]# oc version -o yaml clientVersion: buildDate: "2020-03-13T04:44:41Z" compiler: gc gitCommit: 33d97ed617e022637cbac55be22003e54b1bd072 gitTreeState: clean gitVersion: 4.2.24-202003130432-33d97ed goVersion: go1.12.8 major: "" minor: "" platform: linux/amd64 when use `man oc`: OC(1) June 2016 OC(1) NAME oc - Command line tools for managing applications SYNOPSIS oc [OPTIONS] DESCRIPTION OpenShift Client This client helps you develop, build, deploy, and run your applications on any OpenShift or Kubernetes cluster. It also includes the administrative commands for managing a cluster under the 'adm' subcommand. OPTIONS --as="" Username to impersonate for the operation --as-group=[] Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
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:0826