[Debian-ha-maintainers] Bug#717196: pacemaker: "crm configure" does not have support for rsc_ticket constraint.
ap at serversnab.ru
ap at serversnab.ru
Wed Jul 17 20:05:46 UTC 2013
Package: pacemaker
Version: 1.1.7-1
Severity: important
1) About bug.
Shell util "crm" does not accept rsc_ticket constraint and also there
is no information about this option in docs.
Impossible to create working "Multi-Site Cluster" configuration
(booth+pacemaker) via "crm". Probably it's unusable in other ways (via
editing raw xml). I don't trying it yet.
Pacemaker from "unstable" branch (1.1.7-2.1) also affected.
2) How to reproduce. Install pacemaker+booth-pacemaker. After basic
setup corosync try to create constraint:
# crm configure rsc_ticket cluster-req-t_ticket t_ticket:
cluster_group loss-policy=fence
ERROR: syntax: rsc_ticket cluster-req-t_ticket t_ticket: cluster_group
loss-policy=fence
# crm configure rsc_ticket help
ERROR: syntax: rsc_ticket help
# crm configure help rsc_ticket
There is no help for topic rsc_ticket
# crm configure help | grep -i ticket
#
3) What I expect?
Accepting input by crm shell util
"crm configure rsc_ticket cluster-req-t_ticket t_ticket:
cluster_group loss-policy=fence"
and listing this constraint in help menu by command "crm configure
help" "
according booth/pacemaker documentation
http://doc.opensuse.org/products/draft/SLE-HA/SLE-ha-guide_sd_draft/cha.ha.geo.html#sec.ha.geo.setup.resources
4) Additional information
Behind this, pacemaker package has working "crm_ticket" util in it and
there is some kind of information of rsc_ticket in source code
(http://ftp.de.debian.org/debian/pool/main/p/pacemaker/pacemaker_1.1.7.orig.tar.gz)
and
supplementary files:
# grep -ri rsc_ticket /usr/share/pacemaker/
/usr/share/pacemaker/constraints-1.1.rng: <ref
name="element-rsc_ticket"/>
/usr/share/pacemaker/constraints-1.1.rng: <define
name="element-rsc_ticket">
/usr/share/pacemaker/constraints-1.1.rng: <element
name="rsc_ticket">
/usr/share/pacemaker/constraints-1.2.rng: <ref
name="element-rsc_ticket"/>
/usr/share/pacemaker/constraints-1.2.rng: <define
name="element-rsc_ticket">
/usr/share/pacemaker/constraints-1.2.rng: <element
name="rsc_ticket">
Package version from "experimental" branch (1.1.9+git20130321-1) can't
be installed due packages dependency problem.
Anyway I recompile experimental package from debian source
(pacemaker_1.1.9+git20130321-1.dsc) on the top of debian unstable
and compiled package does not affected by this bug. Output:
# crm configure help 2>/dev/null | grep -i ticket
rsc_ticket resources ticket dependency
# dpkg -l | grep 'pacemaker '
ii crmsh 1.2.5+hg953-2 amd64
CRM shell for the pacemaker cluster manager
ii pacemaker 1.1.9+git20130321-1 amd64
HA cluster resource manager
I don't check full function of it due corosync configuration problems
on debian unstable system.
-- System Information:
Debian Release: 7.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=ANSI_X3.4-1968)
(ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash
Versions of packages pacemaker depends on:
ii adduser 3.113+nmu3
ii corosync 1.4.2-3
ii libbz2-1.0 1.0.6-4
ii libc6 2.13-38
ii libcib1 1.1.7-1
ii libcrmcluster1 1.1.7-1
ii libcrmcommon2 1.1.7-1
ii libesmtp6 1.0.6-1+b1
ii libglib2.0-0 2.33.12+really2.32.4-5
ii libgnutls26 2.12.20-7
ii liblrm2 1.0.9+hg2665-1
ii libltdl7 2.4.2-1.1
ii libncurses5 5.9-10
ii libpam0g 1.1.3-7.1
ii libpe-rules2 1.1.7-1
ii libpe-status3 1.1.7-1
ii libpengine3 1.1.7-1
ii libpils2 1.0.9+hg2665-1
ii libplumb2 1.0.9+hg2665-1
ii libsnmp15 5.4.3~dfsg-2.7
ii libssl1.0.0 1.0.1e-2
ii libstonithd1 1.1.7-1
ii libtinfo5 5.9-10
ii libtransitioner1 1.1.7-1
ii libuuid1 2.20.1-5.3
ii libxml2 2.8.0+dfsg1-7+nmu1
ii libxslt1.1 1.1.26-14.1
ii python 2.7.3-4
ii python2.7 2.7.3-6
ii resource-agents 1:3.9.2-5+deb7u1
pacemaker recommends no packages.
pacemaker suggests no packages.
-- no debconf information
More information about the Debian-ha-maintainers
mailing list