Hi, Andrew The value currently referred to by "lib/pengine/unpack.c" differs from the value inputted from crm_ticket command.
# cat tools/crm_ticket.c [snip] if [ $rc = 0 ]; then options="$options -n last-granted-$ticket -v `date +%s`" crm_attribute $options -t tickets >/dev/null 2>&1 rc=$? exit $rc I send a patch to refer to a value definitely. Best regards, Yuusuke -- ---------------------------------------- METRO SYSTEMS CO., LTD Yuusuke Iida Mail: iiday...@intellilink.co.jp ----------------------------------------
diff --git a/lib/pengine/unpack.c b/lib/pengine/unpack.c index fd44372..59c7ebb 100644 --- a/lib/pengine/unpack.c +++ b/lib/pengine/unpack.c @@ -418,7 +418,7 @@ get_ticket_state(gpointer key, gpointer value, gpointer user_data) const char *attr_key = key; const char *granted_prefix = "granted-ticket-"; - const char *last_granted_prefix = "last-granted-ticket-"; + const char *last_granted_prefix = "last-granted-"; static int granted_prefix_strlen = 0; static int last_granted_prefix_strlen = 0;
_______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org