Upstream development of clufter has progressed (since 6.7 package till 7.2
package + something more likely to come) so this asks for a rebase.
More specifically, clufter received plentiful bug fixes and enhancements
compared to previous RHEL minor release (6.7/clufter-0.11.2-1.el6),
- configuration of bind-mount, nfsclient, SAPDatabase and SAPInstance
rgmanager-compatible resource agents is now migrated in ccs2pcs
- ccs-/cib-/pcs-2pcscmd command families (modulo ccs-/pcs-2pcscmd-flatiron
pre-existing commands) were added and allow one to produce a sequence
of pcs commands to (re)instate the cluster configuration akin to the
existing one as truly as possible
- ccs-disable-rg command was added to allow invocation separately
from commands that call the underlying operation implicitly
Issue raised in [bug 1272570] has to be addressed for sure in this
Will need to respin the package due to suboptimal integration with
pcs (as it passes unicode strings that wasn't previously expected)
and new related issue identified.
We will need to respin the package due to validation issue.
[root@virt-010 ~]# clufter pcs2pcscmd
[ccspcmk2pcscmd ] xslt: NOTE: cluster infrastructure services not enabled at this point, which can be changed any time by issuing `pcs cluster enable --all`
WARNING:clufter.format:Invalid as per RNG file `/usr/lib/python2.6/site-packages/clufter/formats/cib/pacemaker-2.4.rng'
WARNING:clufter.format:Invalid as per RNG file `/usr/lib/python2.6/site-packages/clufter/formats/cib/pacemaker-2.3.rng'
WARNING:clufter.format:Invalid as per RNG file `/usr/lib/python2.6/site-packages/clufter/formats/cib/pacemaker-2.0.rng'
WARNING:clufter.format:Invalid as per RNG file `/usr/lib/python2.6/site-packages/clufter/formats/cib/pacemaker-1.2.rng'
WARNING:clufter.format:None of the validation attempts succeeded with validator spec: /usr/lib/python2.6/site-packages/clufter/formats/cib/pacemaker-2.4.rng, /usr/lib/python2.6/site-packages/clufter/formats/cib/pacemaker-1.2.rng, /usr/lib/python2.6/site-packages/clufter/formats/cib/pacemaker-2.3.rng, /usr/lib/python2.6/site-packages/clufter/formats/cib/pacemaker-2.0.rng
cib: Validation: 1:0:Expecting an element status, got nothing, 1:0:Element cib failed to validate content
[root@virt-010 ~]# echo $?
By default, command generates list of pcs command from CIB of current cluster which is located at "/var/lib/pacemaker/cib/cib.xml".
An issue is that the file does not contain element status, which does not validate with RNG schema. When pacemaker stores CIB locally, it drops element status every time.
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.