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 862281 - ccs: caution about overwriting semantics of most of set-commands (setfencedaemon, setdlm, setcman, setquorumd, setrm, setlogging, ...)
Summary: ccs: caution about overwriting semantics of most of set-commands (setfencedae...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: doc-Cluster_Administration
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Steven J. Levine
QA Contact: ecs-bugs
URL:
Whiteboard:
: 864118 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-02 14:17 UTC by Jan Pokorný [poki]
Modified: 2013-02-25 17:03 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-25 17:03:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jan Pokorný [poki] 2012-10-02 14:17:31 UTC
Currently, ccs implements overwriting semantics when setting properties
of some cluster configuration items.  Unfortunately, structure of Cluster
Administration guide may make users think the opposite as in section
5.5. Configuring Fence Devices, it contains these two separate
instructions:

To configure a value for the post_fail_delay attribute, execute
the following command:
> ccs -h host --setfencedaemon post_fail_delay=value

To configure a value for the post_join attribute, execute
the following command:
> ccs -h host --setfencedaemon post_join_delay=value

This operates with false assumption the semantics of set-commands is
additive.  If it would be true, the separation would be perfectly OK.
However, it is not;  running these two commands in sequence means
that with the second command, you will cancel the effect of the first
one (post_fail_delay property is dropped upon setting post_join_delay).

To unbend this, there should be no occurrence of configuring one item
(such as fence daemon) in more steps, i.e., everything set at once.

E.g.,:
> ccs -h host --setfencedaemon post_fail_delay=value post_join_delay=value

Additionally, there should probably be a warning box at the beginning
of the section explaining the implemented semantics and the danger
of loosing already configured properties with subsequent configuration
steps.

Adding Chris as he is the right person to discuss this with.

Comment 1 Chris Feist 2012-10-02 17:07:20 UTC
This is correct behavior for ccs, we will just need to add a note in the respective sections that setting those options will unset any other options.

Comment 2 Jan Pokorný [poki] 2012-10-08 15:58:06 UTC
*** Bug 864118 has been marked as a duplicate of this bug. ***

Comment 3 Steven J. Levine 2012-10-09 01:21:04 UTC
Chris:

The subject line of this BZ indicates this issue is true for the following commands:

setfencedaemon
setdlm
setcman
setquorumd
setrm
setlogging

etc.

What else is involved as part of the "etc."?

Comment 6 Chris Feist 2012-10-22 17:06:31 UTC
I believe these are all the commands that overwrite their previous settings:

--settotem
--setdlm
--setrm
--setcman
--setmulticast
--setaltmulticast
--setfencedaemon
--setlogging
--setquorumd

Thanks!
Chris


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