RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2064818 - man pcs suggests using 'stickiness' instead of 'resource-stickiness' in 'pcs resource meta'
Summary: man pcs suggests using 'stickiness' instead of 'resource-stickiness' in 'pcs ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: pcs
Version: 9.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: 9.1
Assignee: Tomas Jelinek
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-16 15:59 UTC by Tomas Jelinek
Modified: 2022-11-15 10:04 UTC (History)
10 users (show)

Fixed In Version: pcs-0.11.2-1.el9
Doc Type: No Doc Update
Doc Text:
This is a self-explanatory minor documentation update
Clone Of: 2064805
Environment:
Last Closed: 2022-11-15 09:49:09 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-115761 0 None Closed RHEL EUS Errata Documentation 2022-06-16 06:26:55 UTC
Red Hat Product Errata RHSA-2022:7935 0 None None None 2022-11-15 09:49:22 UTC

Description Tomas Jelinek 2022-03-16 15:59:33 UTC
+++ This bug was initially created as a clone of Bug #2064805 +++

Description of problem:
man pcs shows 'stickiness' option in the example of usage for 'pcs resource meta':

meta <resource id | group id | clone id> <meta options> [--wait[=n]]
              Add specified options to the specified resource, group or clone. Meta options should be in the format of name=value, options may be removed by setting an option without a
              value.  If --wait is specified, pcs will wait up to 'n' seconds for the changes to take effect and then return 0 if the changes have been processed or 1 otherwise. If 'n'
              is not specified it defaults to 60 minutes.
              Example: pcs resource meta TestResource failure-timeout=50 stickiness=


Expected result:
To achieve the correct functionality, 'resource-stickiness' meta option needs to be specified instead

Additional info:
This is also applicable for pcs help

Comment 3 Miroslav Lisik 2022-05-19 17:41:02 UTC
DevTestResults:

[root@r91-1 ~]# rpm -q pcs
pcs-0.11.2-1.el9.x86_64

[root@r91-1 ~]# pcs resource meta |& sed -n "/Example/,$ p"
        Example:
        pcs resource meta test_resource failure-timeout=50 resource-stickiness=

[root@r91-1 ~]# MANWIDTH=80 man pcs | grep "meta <stonith" -A 10
       meta <stonith id> <meta options> [1m--wait22m[=n]]
              Add  specified options to the specified stonith device. Meta op‐
              tions should be in the format of name=value, options may be  re‐
              moved  by setting an option without a value. If 1m--wait 22mis speci‐
              fied, pcs will wait up to 'n' seconds for the  changes  to  take
              effect and then return 0 if the changes have been processed or 1
              otherwise. If 'n' is not specified it defaults to 60 minutes.

              Example: pcs stonith meta  test_stonith  failure-timeout=50  re‐
              source-stickiness=
[root@r91-1 ~]# MANWIDTH=80 man pcs | grep "meta <resource" -A 10
       meta <resource id | group id | clone id> <meta options> [1m--wait22m[=n]]
              Add specified options to the specified resource, group or clone.
              Meta  options should be in the format of name=value, options may
              be removed by setting an option without a value.  If  1m--wait  22mis

              specified,  pcs  will  wait up to 'n' seconds for the changes to
              take effect and then return 0 if the changes have been processed
              or  1  otherwise. If 'n' is not specified it defaults to 60 min‐
              utes.
              Example: pcs resource meta TestResource  failure-timeout=50  re‐
              source-stickiness=

Comment 9 errata-xmlrpc 2022-11-15 09:49:09 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: pcs 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-2022:7935


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