Bug 1728890
Summary: | RFE - Mention syntax changes in man / error output | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Madison Kelly <mkelly> | ||||
Component: | pcs | Assignee: | Tomas Jelinek <tojeline> | ||||
Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 8.0 | CC: | cfeist, cluster-maint, idevat, mlisik, mmazoure, omular, rnandanw, tojeline | ||||
Target Milestone: | rc | Keywords: | FutureFeature | ||||
Target Release: | 8.2 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | pcs-0.10.3-1.el8 | Doc Type: | Enhancement | ||||
Doc Text: |
Feature:
List changes compared to RHEL 7 in pcs man page. Make removed and changed commands print an explanatory error message pointing to that section for more details.
Reason:
To make it easier for the users to deal with changes done in pcs commands in RHEL 8.
Result:
Removed and changed commands print an error message pointing to a new man page section summarizing the changes.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2020-04-28 15:27:56 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Madison Kelly
2019-07-10 21:29:41 UTC
All the changes are covered in pcs changelog. On the other hand, I guess users mostly read the man page only and they rarely go to the changelog. So it is worth covering the changes in the man page as well. We also plan to update Clusters from Scratch, I'll coordinate with pacemaker team on when and how we can do that. Created attachment 1613553 [details] proposed fix Added a section in pcs man page. Affected commands print error messages pointing to that section. The list of changes is available in CHANGELOG.md as well. Clusters from Scratch document has been updated upstream in https://github.com/ClusterLabs/pacemaker/commit/1a4e5c9fd2b15519ae17f2fdbd70ba483a31a736 After fix: [root@r81-node-01 ~]# rpm -q pcs pcs-0.10.3-1.el8.x86_64 Pcs man page has new section "CHANGES IN PCS-0.10": [root@r81-node-01 ~]# MANWIDTH=72 man pcs | grep -A 3 -i "CHANGES in PCS-0.10" CHANGES IN PCS-0.10 This section summarizes the most important changes in commands done in pcs-0.10.x compared to pcs-0.9.x. For detailed descripâ tion of current commands see above. If old syntax is used in pcs command, then pcs adds a hit about pcs changes in an error message: [root@r81-node-01 ~]# pcs cluster auth -u hacluster -p password r81-node-0{1,2} Usage: pcs cluster auth... auth [-u <username>] [-p <password>] Authenticate pcs/pcsd to pcsd on nodes configured in the local cluster. Hint: Syntax has changed from previous version. See 'man pcs' -> Changes in pcs-0.10. [root@r81-node-01 ~]# pcs cluster setup --name TestCluster r81-node-0{1,2} Error: Specified options '--name' are not supported in this command Hint: Syntax has changed from previous version. See 'man pcs' -> Changes in pcs-0.10. [root@r81-node-01 ~]# pcs stonith sbd enable --watchdog=/dev/watchdog0 <snip> option --watchdog not recognized Hint: Syntax has changed from previous version. See 'man pcs' -> Changes in pcs-0.10. Updated Clusters from Scratch document has been released. 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/RHEA-2020:1568 *** Bug 1829198 has been marked as a duplicate of this bug. *** |