- **status**: assigned --> review


---

** [tickets:#3276] pyosaf: waste time to retry modify ccb in error state  **

**Status:** review
**Milestone:** 5.21.10
**Created:** Thu Jul 29, 2021 02:39 AM UTC by Thang Duc Nguyen
**Last Updated:** Thu Jul 29, 2021 02:39 AM UTC
**Owner:** Thang Duc Nguyen


Application uses pyosaf to modify object in a CCB. This CCB is aborted due to 
node sync. The SA_AIS_ERR_FAILED_OPERATION is returned by modify API. The 
pyosaf still try to modify with the default time out (60s).

root@SC-1:~# immcfg -a saAmfCompRecoveryOnError=2 
safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1
error - saImmOmCcbObjectModify_2 FAILED: SA_AIS_ERR_FAILED_OPERATION (21)
error - saImmOmCcbGetErrorStrings with: IMM: Resource abort: CCB is in an error 
state
OI reports: IMM: Resource abort: CCB is in an error state

syslog
2021-07-29 09:21:04.156 SC-1 osafimmnd[241]: WA Aborting ccbId  6 to start sync
2021-07-29 09:21:04.161 SC-1 osafimmnd[241]: NO Ccb 6 ABORTED (immcfg_SC-1_613)

Retry should be ignored if the ccb in error state.


---

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.
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to