Check the imm spec for the callbacks.
Very few error codes are allowed to be returned according to the spec.
ERR_NOT_SUPPORTED is not one of them.
The imm also has the right to abort any ccb that is not in critical,
for its own reasons, so the error code returned by a ccbApply can not
be garanteed to be the error code returned by any particular OI, of which
there could even be several anyway, involved in an apply.
---
** [tickets:#184] Unsupported runtime modifying of attributes return
ERR_FAILED_OP instead of ERR_NOT_SUPP**
**Status:** unassigned
**Created:** Tue May 14, 2013 07:14 AM UTC by Nagendra Kumar
**Last Updated:** Tue Aug 27, 2013 07:04 AM UTC
**Owner:** nobody
Migrated form http://devel.opensaf.org/ticket/2181
The below is the list of all the attributes that are not runtime modifiable.
The modification returns ERR_FAILED_OP instead of ERR_NOT_SUPPORTED
1)immcfg -a saAmfNodeCapacity=0 safAmfNode=SC-1,safAmfCluster=myAmfCluster
error - saImmOmCcbApply FAILED: SA_AIS_ERR_FAILED_OPERATION (21)
Oct 2 15:36:34 SLES11-SLOT-2 osafamfd[5989]: Unknown attribute saAmfNodeCapacity
Oct 2 15:36:34 SLES11-SLOT-2 osafimmnd[5935]: Aborting ccb 4 while waiting for
replies from implementers on COMPLETED
--------------------------------------------------------------------------------
2) ERR_NOT_SUP should be returned.
immcfg -a saAmfSGAutoRepair=1 safSg=2N,safApp=OpenSAF
error - saImmOmCcbApply FAILED: SA_AIS_ERR_FAILED_OPERATION (21)
immcfg -a saAmfSGAutoAdjust=1 safSg=2N,safApp=OpenSAF
error - saImmOmCcbApply FAILED: SA_AIS_ERR_FAILED_OPERATION (21)
immcfg -a saAmfSGAutoAdjustProb=1 safSg=2N,safApp=OpenSAF
error - saImmOmCcbApply FAILED: SA_AIS_ERR_FAILED_OPERATION (21)
immcfg -a saAmfSgtDefAutoRepair=0 safVersion=4.0.0,safSgType=OpenSafSgType?2N
error - saImmOmCcbApply FAILED: SA_AIS_ERR_FAILED_OPERATION (21)
immcfg -a saAmfSgtDefAutoAdjust=1 safVersion=4.0.0,safSgType=OpenSafSgType?2N
error - saImmOmCcbApply FAILED: SA_AIS_ERR_FAILED_OPERATION (21)
immcfg -a saAmfSgtDefAutoAdjustProb=1
safVersion=4.0.0,safSgType=OpenSafSgType?2N
error - saImmOmCcbApply FAILED: SA_AIS_ERR_FAILED_OPERATION (21)
immcfg -a saAmfSIActiveWeight=2 safSi=SC-2N,safApp=OpenSAF
error - saImmOmCcbApply FAILED: SA_AIS_ERR_FAILED_OPERATION (21)
mmcfg -a saAmfSIStandbyWeight=2 safSi=SC-2N,safApp=OpenSAF
error - saImmOmCcbApply FAILED: SA_AIS_ERR_FAILED_OPERATION (21)
immcfg -a saAmfSvcDefActiveWeight="mmm"
safVersion=4.0.0,safSvcType=SC-2N-OpenSAF
error - saImmOmCcbApply FAILED: SA_AIS_ERR_FAILED_OPERATION (21)
immcfg -a saAmfSvcDefStandbyWeight="mmm"
safVersion=4.0.0,safSvcType=SC-2N-OpenSAF
error - saImmOmCcbApply FAILED: SA_AIS_ERR_FAILED_OPERATION (21)
immcfg -a saAmfSvctMaxNumCSIs=1
"safMemberCSType=safVersion=4.0.0\,safCSType=AMFWDOG-OpenSAF,safVersion=4.0.0,safSvcType=NoRed?-OpenSAF"
error - saImmOmCcbApply FAILED: SA_AIS_ERR_FAILED_OPERATION (21)
---
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.
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets