[ClusterLabs] crm_attribute bug in 1.1.15-rc1

Andrey Rogovsky a.rogovsky at gmail.com
Fri May 20 08:31:16 EDT 2016


Hi!
I cant get attribute value:
/usr/sbin/crm_attribute -q --type nodes --node-uname $HOSTNAME --attr-name
master-pgsqld --get-value
Error performing operation: No such device or address

This value is present:
crm_mon -A1  | grep master-pgsqld
    + master-pgsqld                    : 1001
    + master-pgsqld                    : 1000
    + master-pgsqld                    : 1

I use 1.1.15-rc1
dpkg -l | grep pacemaker-cli-utils
ii  pacemaker-cli-utils            1.1.15-rc1                    amd64
   Command line interface utilities for Pacemaker

Also non-integer values work file:
/usr/sbin/crm_attribute -q --type nodes --node-uname $HOSTNAME --attr-name
pgsql-data-status --get-value
STREAMING|ASYNC

I thinking this patch
https://github.com/ClusterLabs/pacemaker/commit/26d34a9171bddae67c56ebd8c2513ea8fa770204?diff=unified#diff-55bc49a57c12093902e3842ce349a71fR269
is
not apply in 1.1.15-rc1?

How I can get integere value from node attribute?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20160520/b22e43ce/attachment-0002.html>


More information about the Users mailing list