File pacemaker-libcib-set_standby-state-id-format.patch of Package pacemaker

commit b4d07a38807f7a00a80d516eae12a45f1dac7143
Author: Zhuravleva Aleksandra <zhuravleva357@gmail.com>
Date:   Tue Mar 28 05:08:10 2017 +0300

    change the format of the state id in set_standby()

diff --git a/lib/cib/cib_attrs.c b/lib/cib/cib_attrs.c
index a2b118f00..d3ea30484 100644
--- a/lib/cib/cib_attrs.c
+++ b/lib/cib/cib_attrs.c
@@ -591,7 +591,7 @@ set_standby(cib_t * the_cib, const char *uuid, const char *scope, const char *st
 
     } else {
         scope = XML_CIB_TAG_NODES;
-        attr_id = crm_strdup_printf("standby-%.256s", uuid);
+        attr_id = crm_strdup_printf("nodes-%.256s-standby", uuid);
     }
 
     rc = update_attr_delegate(the_cib, cib_sync_call, scope, uuid, NULL, NULL,
openSUSE Build Service is sponsored by