An SAPHana resource's promote operation succeeds despite the error "HANA SYNC STATUS IS NOT 'SOK' SO THIS HANA SITE COULD NOT BE PROMOTED"
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
- Red Hat Enterprise Linux 7 or 8 (with the High Availability Add-on)
- Automated SAP HANA System Replication in Scale-Up in pacemaker cluster
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.