- **status**: accepted --> not-reproducible
- **Milestone**: 4.4.2 --> never
- **Comment**:

Couldn't reproduce it.
Used CS #6289 with amf demo application and tried locking SU2 on SC-2 during 
si-swap.

I was mislead that I could reproduce it by following mistake(may be this is the 
cause of this ticket):
1. During 2N si-swap, issued Su2 lock on SC-2, lock was successful.
2. Again issue 2N si-swap, issued Su2 lock on SC-2.
Step #2 su lock failed with TRY_AGAIN at SC-2 as below:

Mar  3 17:05:34 PM_SC-2 osafamfd[13385]: Admin op invocation: 64424509441, err: 
'Admin op received during a role switch'
Mar  3 17:05:34 PM_SC-2 osafamfd[13385]: Admin op done for invocation: 
64424509441, result 6

But, since amf-adm keep trying(it tried again), the command failed(on newly 
Active, i.e. SC-1) with SA_AIS_ERR_NO_OP because SU2 was locked in step #1:

PM_SC-2:/var/log/opensaf/saflog # amf-adm  lock 
safSu=SU2,safSg=AmfDemo_2N,safApp=AmfDemo1
error - saImmOmAdminOperationInvoke_2 admin-op RETURNED: SA_AIS_ERR_NO_OP (28)
error-string: Admin operation (2) has no effect on current state (2)

So, closing this ticket.



---

** [tickets:#318] amf : During switchover, admin lock of SU returns 
SA_AIS_ERR_TRY_AGAIN but SU locked happened at background**

**Status:** not-reproducible
**Milestone:** never
**Created:** Fri May 24, 2013 08:57 AM UTC by Praveen
**Last Updated:** Tue Mar 03, 2015 10:24 AM UTC
**Owner:** Nagendra Kumar

Migrated from http://devel.opensaf.org/ticket/2176.

During switchover, admin lock of SU returns SA_AIS_ERR_TRY_AGAIN but SU locked 
happened at background.
Steps followed:-
--------------------------------------------------------------------------------
1. Runtime configured nway model with SG auto adjust enabled, 5SUs.
SU1 and SU5 was on SC-1
SU2 on SC-2
SU3 and SU4 on PL-3
2. Runtime unlock-in and unlock of each SUs.
3. On SC-1 which was active, triggered the controller switchover.
immadm -o 7 safSi=SC-2N,safApp=OpenSAF
4. Immediately on SC-2 triggered the SU3 lock, which failed with 
SA_AIS_ERR_TRY_AGAIN.
 amf-adm lock safSu=d_NWay_1Norm_3,safSg=SG_d_n,safApp=N
 error - saImmOmAdminOwnerRelease FAILED: SA_AIS_ERR_TRY_AGAIN (6)
Controller switchover happened successfully.
5. Then tried to triggered the admin lock of SU3, but this time it failed with 
SA_AIS_ERR_NO_OP.
amf-adm lock safSu=d_NWay_1Norm_3,safSg=SG_d_n,safApp=N
 error - saImmOmAdminOperationInvoke_2 admin-op RETURNED: SA_AIS_ERR_NO_OP (28)
6. Observed that SU3 admin state was locked.
safSu=d_NWay_1Norm_1,safSg=SG_d_n,safApp=N
saAmfSUAdminState=UNLOCKED(1)
 saAmfSUOperState=ENABLED(1)
 saAmfSUPresenceState=INSTANTIATED(3)
 saAmfSUReadinessState=IN-SERVICE(2)

safSu=d_NWay_1Norm_2,safSg=SG_d_n,safApp=N
saAmfSUAdminState=UNLOCKED(1)
 saAmfSUOperState=ENABLED(1)
 saAmfSUPresenceState=INSTANTIATED(3)
 saAmfSUReadinessState=IN-SERVICE(2)

safSu=d_NWay_1Norm_3,safSg=SG_d_n,safApp=N
saAmfSUAdminState=LOCKED(2)
 saAmfSUOperState=ENABLED(1)
 saAmfSUPresenceState=INSTANTIATED(3)
 saAmfSUReadinessState=OUT-OF-SERVICE(1)
 

safSu=d_NWay_1Norm_4,safSg=SG_d_n,safApp=N
saAmfSUAdminState=UNLOCKED(1)
 saAmfSUOperState=ENABLED(1)
 saAmfSUPresenceState=INSTANTIATED(3)
 saAmfSUReadinessState=IN-SERVICE(2)

safSu=d_NWay_1Norm_5,safSg=SG_d_n,safApp=N
saAmfSUAdminState=UNLOCKED(1)
 saAmfSUOperState=ENABLED(1)
 saAmfSUPresenceState=INSTANTIATED(3)
 saAmfSUReadinessState=IN-SERVICE(2)



---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to