On 29/08/2013, at 10:37 AM, [email protected] 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@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: [email protected]
> 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
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Pacemaker mailing list: [email protected] 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
