Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1838199

Summary: stop printing usage help when the server commands
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: kube-apiserverAssignee: Lukasz Szaszkiewicz <lszaszki>
Status: CLOSED ERRATA QA Contact: Ke Wang <kewang>
Severity: high Docs Contact:
Priority: high    
Version: 4.5CC: aos-bugs, deads, mfojtik, wking, xxia
Target Milestone: ---   
Target Release: 4.4.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-02 11:18:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1831533    
Bug Blocks: 1838196    

Comment 4 Ke Wang 2020-05-26 10:09:47 UTC
Verified with OCP build 4.4.0-0.nightly-2020-05-25-115719,

- On 4.4 OCP without fix ENV, get the related errors
...
2020-05-06T15:10:17.009079506+00:00 stderr F Usage:
2020-05-06T15:10:17.009079506+00:00 stderr F   kube-apiserver [flags]
2020-05-06T15:10:17.009079506+00:00 stderr F
2020-05-06T15:10:17.009079506+00:00 stderr F Generic flags:
2020-05-06T15:10:17.009079506+00:00 stderr F
...

- In one terminal, enter into master 
$ master=$(oc get nodes | grep master | head -1 | cut -d " " -f1)
$ oc debug node/$master
sh-4.2# chroot /host
Try incorrect parameter to endpoint,
sh-4.4#  curl -k --silent --show-error https://localhost:6443/readyz1

$ cd /var/log/pods

$ grep -nr -i 'usage' openshift-*

No results found.

So the bug was fixed, move the bug verified.

Comment 6 errata-xmlrpc 2020-06-02 11:18:47 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:2310

Comment 7 David Eads 2020-06-18 13:45:33 UTC
*** Bug 1838195 has been marked as a duplicate of this bug. ***