Description:
Perform multiple si-swap: amf-adm si-swap safSi=SC-2N,safApp=OpenSAF
Sometimes amf-adm failed:error - saImmOmAdminOperationInvoke_2 FAILED: SA_AIS_ERR_TIMEOUT (5)
Steps to reproduce:
1) Perform si-swap:amf-adm si-swap safSi=SC-2N,safApp=OpenSAF
2) Check the form active is now passive and vice versa.
3) Loop to 1) sometimes.
Analysis:
IMM jobs are put in a queue to be performed later.
When a si-swap on safSi=SC-2N,safApp=OpenSAF is performed,
there may be a chance that the return code for si-swap operation
has not been returned before OI is disconnected. In that case,
admin operation returns timeout (SA_AIS_ERR_TIMEOUT).
Diff:
Diff:
changeset: 8384:441994664aec
branch: opensaf-5.0.x
tag: tip
parent: 8381:6064a2b4e69c
user: Long Nguyen long.hb.nguyen@dektech.com.au
date: Thu Dec 01 11:01:16 2016 +1100
summary: amfd: fix si-swap timeout [#2190]
changeset: 8383:f82d380b667f
branch: opensaf-5.1.x
parent: 8380:185196ebe26f
user: Long Nguyen long.hb.nguyen@dektech.com.au
date: Thu Dec 01 11:00:51 2016 +1100
summary: amfd: fix si-swap timeout [#2190]
changeset: 8382:35b55d8ea7af
parent: 8379:5cf3d4f77d98
user: Long Nguyen long.hb.nguyen@dektech.com.au
date: Thu Dec 01 11:00:38 2016 +1100
summary: amfd: fix si-swap timeout [#2190]
Related
Tickets:
#2190