Custom OCF resource agent fails with "unimplemented feature" error

Solution In Progress - Updated -

Issue

  • Custom OCF resource agent fails with unimplemented feature error.
  • Pacemaker does not read my OCF RA script properly.

    Apr  2 15:08:55 node-a crmd[2172]:  notice: Result of probe operation for my_resource on node-a: 3 (unimplemented feature)
    
  • A pacemaker error occurred:

    May 12 14:17:57 node42 crmd[1272]:  notice: Initiating action 2: monitor Zimbra_Service_monitor_900000 on node42 (local)
    May 12 14:17:58 node42 lrmd[1269]:  notice: Zimbra_Service_Monitor_800000:17145:stderr [ Usage: /usr/lib/ocf/resource.d/heartbeat/Zimbra {start|stop|reload|status|monitor|validate-all|meta-data} ]
    May 12 14:17:58 node42 crmd[1272]:  notice: node42-Zimbra_Service_Monitor_800000:135 [ Usage: /usr/lib/ocf/resource.d/heartbeat/Zimbra {start|stop|reload|status|monitor|validate-all|meta-data}\n ]
    May 12 14:17:58 node42 crmd[1272]: warning: Action 3 (Zimbra_Service_Monitor_800000) on node42 failed (target: 0 vs. rc: 3): Error
    May 12 14:17:58 node42 crmd[1272]:  notice: Transition aborted by Zimbra_Service_Monitor_800000 'modify' on node42: Event failed (magic=0:3;3:7:0:3604853c-f0e3-426e-b77f-66a0c6cc1756, cib=0.1131.164, source=match_graph_event:381, 0)
    May 12 14:17:58 node42 crmd[1272]:  notice: Transition aborted by status-2-fail-count-Zimbra_Service, fail-count-Zimbra_Service=5: Transient attribute change (modify cib=0.1131.165, source=abort_unless_down:319, path=/cib/status/node_state[@id='2']/transient_attributes[@id='2']/instance_attributes[@id='status-2']/nvpair[@id='status-2-fail-count-Zimbra_Service'], 0)
    May 12 14:18:05 node42 crmd[1272]:  notice: Transition 7 (Complete=9, Pending=0, Fired=0, Skipped=2, Incomplete=4, Source=/var/lib/pacemaker/pengine/pe-input-2447.bz2): Stopped
    May 12 14:18:05 node42 pengine[1271]: warning: Processing failed op Monitor for Zimbra_Service on node42: unimplemented feature (3)
    

Environment

  • Red Hat Enterprise Linux Server 7 (with the High Availability Add-on)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content