- **status**: accepted --> review


---

** [tickets:#1446] log: trouble when the number of existing app streams reachs 
limitation**

**Status:** review
**Milestone:** 4.6.2
**Created:** Thu Aug 13, 2015 10:10 AM UTC by Vu Minh Nguyen
**Last Updated:** Fri Mar 04, 2016 07:42 AM UTC
**Owner:** Canh Truong


When creating an configurable app stream (e.g: using `immcfg –c`). Suppose all 
inputs are valid.
In this case, logsv returns `SA_AIS_OK` to IMM for its callbacks. Means IMM is 
allowed to creates its database/resource for this obj (*1*).

In apply callback, IMM asks logsv to apply the change – not require acknowledge.
If number of app streams has reached the limitation - defined by 
`logMaxApplicationStreams`, logsv will get failed to add this stream to 
stream_array.

As the result, logsv deletes all allocated resources managed by itself. The 
created resources in step (*1*) is still existing. And it causes things as 
below – see my comments in right side:

1. Create obj successfully from IMM. But actually, logsv gets failed at 
ccbApplyCallback
> immcfg -c SaLogStreamConfig safLgStrCfg=test6 -a saLogStreamPathName=. -a 
> saLogStreamFileName=test6

2. immlist failed as logsv returns not ok `no such obj` to IMM.
> immlist safLgStrCfg=test6
error - saImmOmAccessorGet_2 FAILED: SA_AIS_ERR_NO_RESOURCES (18)

3. Create obj failed as the resource is existing
> immcfg -c SaLogStreamConfig safLgStrCfg=test6 -a saLogStreamPathName=. -a 
> saLogStreamFileName=test6 
error - saImmOmCcbObjectCreate_2 FAILED with SA_AIS_ERR_EXIST (14)


---

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.
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to