An SAPHana resource's promote operation succeeds despite the error "HANA SYNC STATUS IS NOT 'SOK' SO THIS HANA SITE COULD NOT BE PROMOTED"

Solution Verified - Updated -

Issue

  • An ocf:heartbeat:SAPHana cluster resource's promote operation is marked a success (rc=0) after it threw an error stating that the node could not be promoted.
Jan 22 17:34:50  SAPHana(rsc_Hana_H05_HDB00)[60706]:    INFO: RA ==== begin action promote_clone (0.152.21) ====
Jan 22 17:34:50 [4200] node1      attrd:     info: attrd_peer_update:        Setting hana_h05_clone_state[node1]: DEMOTED -> PROMOTED from node1
Jan 22 17:34:50 [4200] node1      attrd:     info: attrd_cib_callback:       Update 19 for hana_h05_clone_state[node1]=PROMOTED: OK (0)
Jan 22 17:34:50 [4200] node1      attrd:     info: attrd_cib_callback:       Update 19 for hana_h05_clone_state[node2]=DEMOTED: OK (0)
Jan 22 17:34:52  SAPHana(rsc_Hana_H05_HDB00)[60706]:    ERROR: ACT: HANA SYNC STATUS IS NOT 'SOK' SO THIS HANA SITE COULD NOT BE PROMOTED
Jan 22 17:34:52  SAPHana(rsc_Hana_H05_HDB00)[60706]:    INFO: RA ==== end action promote_clone with rc=0 (0.152.21) (4s)====

Environment

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