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 1173346 - Allow to modify arbitrary corosync.conf value
Summary: Allow to modify arbitrary corosync.conf value
Keywords:
Status: CLOSED DUPLICATE of bug 1667061
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pcs
Version: 7.1
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Tomas Jelinek
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-11 22:09 UTC by Jan Pokorný [poki]
Modified: 2021-06-10 10:49 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-17 11:43:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1078343 0 urgent CLOSED PCS not setting token.timeout in corosync.conf (meaning 1 sec token timeout by default) 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1108538 0 high CLOSED [RFE] Add support for corosync totem.token_coefficient setting 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1165821 0 medium CLOSED pcs CLI/GUI should be capable of setting up a hardened cluster (for not entirely trusted environment) 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1368100 0 low CLOSED [RFE] pcs doesn't allow per-node votes management 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1457314 0 high CLOSED [RFE] Add commands for enabling and disabling cluster hardening in existing clusters 2023-04-28 11:48:03 UTC
Red Hat Bugzilla 1615420 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Bugzilla 1620043 0 medium CLOSED unable to change cluster name 2023-07-18 11:59:34 UTC
Red Hat Knowledge Base (Article) 3185291 0 None None None 2018-08-06 19:59:22 UTC
Red Hat Knowledge Base (Solution) 3354671 0 None None None 2018-08-08 19:48:21 UTC
Red Hat Knowledge Base (Solution) 3556961 0 None None None 2018-08-08 19:48:41 UTC


Description Jan Pokorný [poki] 2014-12-11 22:09:03 UTC
It would be beneficial, at least for "static config -> pcs commands"
translation to be able to set arbitrary value in corosync.conf.

Best if implemented in a clever way that would use the knowledge
which sections/options can be sensibly repeated (like uidgid section)
and conversely, which should be treated as singleton values
(vast majority;  in reality, IIRC, when specified more than once,
the last instance wins).

Implementation-wise, this would also simplify changes like [1]
by translating, e.g.,

  --token_coefficient 5

to

  --corosync-set totem.token_coefficient=5

prior to handling.


BTW. the metadata for describing the option meaning could be extracted
from "corosync-schema" change I proposed back then:

  https://github.com/jfriesse/corosync/tree/topic-relax-conf-gen

and I even use the schema in clufter right now(!):

  https://github.com/jnpkrn/clufter/blob/v0.3.0/formats/corosync/corosync.rng



[1] https://github.com/feist/pcs/pull/44/files

Comment 1 Jan Pokorný [poki] 2014-12-11 22:10:22 UTC
Allowing something similar for CMAN-backed Pacemaker cluster is also
an option but not needed for clufter purposes.

Comment 5 Tomas Jelinek 2017-10-02 15:20:41 UTC
Which settings are possible to be changed in runtime:
https://github.com/corosync/corosync/wiki/Config-file-values

Comment 6 Bruno Travouillon 2017-10-02 16:47:10 UTC
Tomas,

It would be great to add nodefile.node.x.name to this list.

Comment 8 Jan Pokorný [poki] 2018-08-14 08:22:01 UTC
Note that some precautions should be taken, such as when logging to
file gets configured: [bug 1615420 comment 2].

This is on top of possible schema-based validation ([comment 0]).

Comment 9 Tomas Jelinek 2020-09-17 11:43:45 UTC
Considering the current RHEL 7 life cycle stage, there will be no fix for RHEL 7.
In RHEL 8 this has been or will be fixed shortly by: bz1667061 bz1667058

*** This bug has been marked as a duplicate of bug 1667061 ***


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