Bug 1744496 - The 4.2 oc client rpm not contain the man pages
Summary: The 4.2 oc client rpm not contain the man pages
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.2.z
Assignee: Maciej Szulik
QA Contact: zhou ying
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-22 09:54 UTC by zhou ying
Modified: 2020-03-26 07:21 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-26 07:21:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:0826 0 None None None 2020-03-26 07:21:38 UTC

Description zhou ying 2019-08-22 09:54:45 UTC
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:

Comment 3 Maciej Szulik 2020-03-13 09:31:56 UTC
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.

Comment 6 zhou ying 2020-03-16 03:02:03 UTC
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.

Comment 8 errata-xmlrpc 2020-03-26 07:21:27 UTC
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


Note You need to log in before you can comment on or make changes to this bug.