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 1549446 - replace '--clone' and '--master' with 'clone' and 'master' in 'pcs resource create' commands
Summary: replace '--clone' and '--master' with 'clone' and 'master' in 'pcs resource c...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: doc-High_Availability_Add-On_Reference
Version: 7.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Steven J. Levine
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-27 06:04 UTC by Ondrej Faměra
Modified: 2021-06-10 14:53 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-12 16:59:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3364631 0 None None None 2018-02-27 06:06:00 UTC

Description Ondrej Faměra 2018-02-27 06:04:54 UTC
=== Document URL:
High Availability Add-On Reference
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html-single/high_availability_add-on_reference/index#s1-resourcecreate-HAAR

=== Section Number and Name:
6.1. Resource Creation
9.2. MultiState Resources: Resources That Have Multiple Modes
8.3. Moving Resources Due to Connectivity Changes

=== Describe the issue:
`pcs resource create` command from RHEL 7.4 (pcs-0.9.158) uses new syntax for `--master` and `--clone` resources. from `pcs-0.9.158` these option are `clone` and `master` without double-dash ('--') and the `master` option has a slightly different syntax than before.

=== Suggestions for improvement:
Update the above mentioned sections to reflect the current state == use `clone` instead of `--clone` and `master` instead of `--master`.
In section 9.2 also make sure that option `meta` is removed after `master`.

-   --master [meta master_options]
+   master [master_options]

=== Additional information:
I have recently created article https://access.redhat.com/solutions/3364631 to document and explain change that occurs when `--master` changed to `master`. It might be worth checking if it makes sense to mention this in the documentation somewhere, for example in 'New and changed Features in ...' section for 7.4 where the 0.9.158 introducing the `master` option was added.

Comment 8 Steven J. Levine 2018-03-12 13:32:37 UTC
The updated manual is now on the Portal:

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html-single/high_availability_add-on_reference/#s1-multistateresource-HAAR

I will wait until we get this info into the 7.4 release notes before closing this BZ.

Comment 10 Steven J. Levine 2018-03-12 14:38:41 UTC
Adding Tomas Jelinek to the CC list to this BZ in case he can add any clarification to the issue of which release implemented this update.

Comment 12 Steven J. Levine 2018-03-12 16:58:51 UTC
Ondrej:

Since the updated manual is now on the Portal, I am closing this BZ.

However, I have written up a description for the 7.4 release notes (to be updated) on BZ#1549446 and put it in needinfo from Ivan. Could you look that over as well (and comment on that BZ)?

Thanks,

Steven

Comment 13 Steven J. Levine 2018-03-12 16:59:40 UTC
Oops -- the updated description is in this BZ:

https://bugzilla.redhat.com/show_bug.cgi?id=1378107


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