Bug 1910840 - Show Nonexistent command info in the `oc rollback -h` help page
Summary: Show Nonexistent command info in the `oc rollback -h` help page
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 4.7
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.7.0
Assignee: Maciej Szulik
QA Contact: zhou ying
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-25 05:58 UTC by zhou ying
Modified: 2021-02-24 15:48 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-24 15:48:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift oc pull 684 0 None closed Bug 1910840: fix help for rollback 2021-01-11 06:48:46 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:48:48 UTC

Description zhou ying 2020-12-25 05:58:59 UTC
Description of problem:
The 'deploy' command has been discarded , but the help page of `oc rollback` still show it . 

Version-Release number of selected component (if applicable):
[zhouying@dhcp-140-138 ~]$ oc version 
Client Version: 4.7.0-202012220147.p0-8fbc95f

How reproducible:
always

Steps to Reproduce:
1.`oc rollback -h`


Actual results:
1. Show the nonexistent command info: 
Any image triggers present in the rolled back configuration will be disabled with a warning. This is to help prevent
your rolled back deployment from being replaced by a triggered deployment soon after your rollback. To re-enable the
triggers, use the 'deploy' command.

Expected results:
1. Show correct help info.

Additional info:

Comment 2 zhou ying 2021-01-11 06:55:42 UTC
the issue has fixed with latest oc client: 

[root@dhcp-140-138 verification-tests]# oc rollback -h
Revert an application back to a previous deployment

....

 Any image triggers present in the rolled back configuration will be disabled with a warning. This is to help prevent
your rolled back deployment from being replaced by a triggered deployment soon after your rollback. To re-enable the
triggers, use the 'set triggers' command.


[root@dhcp-140-138 verification-tests]#  oc version  --client
Client Version: 4.7.0-202101092121.p0-eeb9d6d

Comment 5 errata-xmlrpc 2021-02-24 15:48:29 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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), 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/RHSA-2020:5633


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