Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
New package: clufter
The clufter package is now installed as a pcs dependency. With clufter installed, pcs is able to import CMAN configuration from the cluster.conf file and convert it into Pacemaker configuration. This package is currently available only as a Technology Preview.
DescriptionJan Pokorný [poki]
2014-12-05 21:27:38 UTC
Separate "clufter" [1] package to be requested for distro inclusion.
[1] https://github.com/jnpkrn/clufter
+++ This bug was initially created as a clone of Bug #1133897 +++
There is an utility for this in the works, it should be integrated
to the pcs "suite".
Before fix:
pcs does not require python-clufter package
After fix:
pcs requires python-clufter package
Note:
python-clufter have been moved to its own component so pcs does not provide python-clufter package any longer.
Comment 13Jan Pokorný [poki]
2015-04-17 15:22:34 UTC
Note that "convert it into a sequence of PCS commands" part of the
assingment is currently fulfilled on the level of direct usage of
"clufter" command provided by clufter-cli (sub)package:
$ clufter -l | sed -n ':s;/.*pcscmd/{p;n;/^ /p;bs}'
> ccs2pcscmd-flatiron (CMAN,rgmanager) cluster cfg. -> equivalent in pcs
> commands
> ccs2pcscmd-needle [COMMAND CURRENTLY UNAVAILABLE]
> pcs2pcscmd-flatiron (Corosync/CMAN,Pacemaker) cluster cfg. -> reinstating
> pcs commands
> pcs2pcscmd-needle [COMMAND CURRENTLY UNAVAILABLE]
> ccs2pcscmd alias for ccs2pcscmd-flatiron
> pcs2pcscmd alias for pcs2pcscmd-flatiron
(NOTE: the -needle variants are not implemented yet, but it's not a big
issue since we are talking about RHEL 6, i.e., flatiron variants
as per respective corosync major version code names)
Example:
$ ./run-dev ccs2pcscmd-flatiron - <<-EOF
<?xml version="1.0"?>
<cluster name="clu" config_version="1">
<clusternodes>
<clusternode nodeid="1" name="a" />
<clusternode nodeid="2" name="b" />
</clusternodes>
<cman two_node="1"/>
<totem consensus="200" join="100" token="5000"
token_retransmits_before_loss_const="4">
<interface ttl="3"/>
</totem>
<rm>
<failoverdomains/>
<resources/>
</rm>
</cluster>
EOF
> [cibcompact2cib ] XSLT: NOTE: no fencing is configured hence stonith
> is disabled; please note, however, that this is
> suboptimal, especially in shared storage scenarios
> pcs cluster setup --name clu a b --consensus 200 --join 100 --token 5000
> pcs property set 'stonith-enabled=false'
> [stringiter-combine2] output file: <stdout>
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, 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://rhn.redhat.com/errata/RHBA-2015-1446.html