[Pacemaker] [Problem]Two error information is displayed.

Andrew Beekhof andrew at beekhof.net
Tue Sep 3 00:42:57 EDT 2013


On 29/08/2013, at 10:37 AM, renayama19661014 at ybb.ne.jp wrote:

> Hi All,
> 
> Though the trouble is only once, two error information is displayed in crm_mon.

Have you got the full cib for when crm_mon is showing this?

> 
> -----------------------------------------
> 
> [root at rh64-coro2 ~]# crm_mon -1 -Af
> Last updated: Thu Aug 29 18:11:00 2013
> Last change: Thu Aug 29 18:10:45 2013 via cibadmin on rh64-coro2
> Stack: corosync
> Current DC: NONE
> 1 Nodes configured
> 1 Resources configured
> 
> 
> Online: [ rh64-coro2 ]
> 
> 
> Node Attributes:
> * Node rh64-coro2:
> 
> Migration summary:
> * Node rh64-coro2: 
>   dummy: migration-threshold=1 fail-count=1 last-failure='Thu Aug 29 18:10:57 2013'
> 
> Failed actions:
>    dummy_monitor_3000 on (null) 'not running' (7): call=11, status=complete, last-rc-change='Thu Aug 29 18:10:57 2013', queued=0ms, exec=0ms
>    dummy_monitor_3000 on rh64-coro2 'not running' (7): call=11, status=complete, last-rc-change='Thu Aug 29 18:10:57 2013', queued=0ms, exec=0ms
> 
> -----------------------------------------
> 
> There seems to be the problem with an additional judgment of the error information somehow or other.
> 
> -----------------------------------------
> static void
> unpack_rsc_op_failure(resource_t *rsc, node_t *node, int rc, xmlNode *xml_op, enum action_fail_response *on_fail, pe_working_set_t * data_set) 
> {
>    int interval = 0;
>    bool is_probe = FALSE;
>    action_t *action = NULL;
> (snip)
>    if (rc != PCMK_OCF_NOT_INSTALLED || is_set(data_set->flags, pe_flag_symmetric_cluster)) {
>        if ((node->details->shutdown == FALSE) || (node->details->online == TRUE)) {
>            add_node_copy(data_set->failed, xml_op);
>        }
>    }
> 
>    crm_xml_add(xml_op, XML_ATTR_UNAME, node->details->uname);
>    if ((node->details->shutdown == FALSE) || (node->details->online == TRUE)) {
>        add_node_copy(data_set->failed, xml_op);
>    }
> (snip)
> -----------------------------------------
> 
> 
> Please revise the additional handling of error information.
> 
> Best Regards,
> Hideo Yamauchi.
> 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130903/497e918d/attachment-0002.sig>


More information about the Pacemaker mailing list