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

renayama19661014 at ybb.ne.jp renayama19661014 at ybb.ne.jp
Wed Aug 28 20:37:54 EDT 2013


Hi All,

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

-----------------------------------------

[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.





More information about the Pacemaker mailing list