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 1930886 - Update help/man pcs to include clone id as an option in 'pcs resource unclone' parameters
Summary: Update help/man pcs to include clone id as an option in 'pcs resource unclone...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: pcs
Version: 8.4
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: 8.5
Assignee: Tomas Jelinek
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-19 17:20 UTC by Nina Hostakova
Modified: 2021-11-09 19:17 UTC (History)
8 users (show)

Fixed In Version: pcs-0.10.8-2.el8
Doc Type: No Doc Update
Doc Text:
This is just a fix in pcs built-in documentation. Similar fix is planned to be included in HA Add-on documentation in 8.4 time frame.
Clone Of:
Environment:
Last Closed: 2021-11-09 17:34:53 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
proposed fix (4.36 KB, patch)
2021-05-31 12:43 UTC, Tomas Jelinek
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:4142 0 None None None 2021-11-09 17:35:14 UTC

Description Nina Hostakova 2021-02-19 17:20:04 UTC
Description of problem:
As it is possible to use clone id to "unclone" cloned resources, it might be useful (especially for a custom clone id which now can be set) to mention it in pcs help/man.

Version-Release number of selected component (if applicable):
pcs-0.10.8-1.el8

Actual results:
pcs help and man states:
pcs resource unclone <resource id | group id> [--wait[=n]]

Expected results:
pcs resource unclone <clone id | resource id | group id> [--wait[=n]]

Comment 2 Tomas Jelinek 2021-05-31 12:43:07 UTC
Created attachment 1788309 [details]
proposed fix

Test:

Check pcs help and man page for 'pcs resource unclone' command.

Comment 3 Miroslav Lisik 2021-06-14 14:23:58 UTC
Test:

[root@r8-node-01 ~]# rpm -q pcs
pcs-0.10.8-2.el8.x86_64

[root@r8-node-01 ~]# pcs resource unclone --help

Usage: pcs resource unclone...
    unclone <clone id | resource id | group id> [--wait[=n]]
        Remove the specified clone or the clone which contains the specified
        group or resource (the resource or group will not be removed). If
        --wait is specified, pcs will wait up to 'n' seconds for the operation
        to finish (including stopping clone instances if appropriate) and then
        return 0 on success or 1 on error. If 'n' is not specified it defaults
        to 60 minutes.


From a man page:
       unclone <clone id | resource id | group id> [--wait[=n]]
              Remove  the  specified clone or the clone which contains
              the specified group or resource (the resource  or  group
              will  not  be removed). If --wait is specified, pcs will
              wait up to 'n'  seconds  for  the  operation  to  finish
              (including  stopping clone instances if appropriate) and
              then return 0 on success or 1 on error. If  'n'  is  not
              specified it defaults to 60 minutes.

Comment 10 errata-xmlrpc 2021-11-09 17:34:53 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 (Low: 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-2021:4142


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