- **Type**: defect --> enhancement


---

** [tickets:#354] amf: proxy registers a proxied successfully having proxied 
configured in same SU.**

**Status:** unassigned
**Milestone:** future
**Created:** Tue May 28, 2013 05:04 AM UTC by Praveen
**Last Updated:** Tue May 28, 2013 05:05 AM UTC
**Owner:** nobody

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

setup : 1 controller
 Model observed : TwoN
 configuration : 1 App, 1 SG, 2 SUs. SU1 has PI_PXY, PI_PXD(category 12), 
NPI_PXD( category 72) components. SU2 had PI_PXY, PI_PXD, NPI_PXD components
 

Test case:
 

--------------------------------------------------------------------------------

Bring up the configuration. take immdump into a xml file. Modify AdminState? of 
SG and SU to unlock. bring up opensaf with this xml file.
 

The proxy component was written such that when invoked, it registers itself and 
registers the hardcoded component name of PI Proxied component in SU2. Later it 
remains in a loop
 

The same exe file is made available on both nodes. It was seen that SU2's pxy 
registers its own pxd (i.e pxd in the same SU) 


Spec says pg : 217 sec 5.1 point 3:
 

--------------------------------------------------------------------------------

"Pre-instantiable proxied components cannot be located in the same service unit
 as their proxy components. This assumption is devised to prevent potential
 cyclic dependencies when service units are instantiated.
 "
 

When opensaf comes up the proxy is successfully registering the proxied 
component in its own SU.
 If SU2 is removed from the configuration, this scenario is not seen.
 

/var/log/messages show :
 

--------------------------------------------------------------------------------

Sep 11 00:34:05 SLES11-SLOT-2 osafamfnd[6853]: 
'safSu=2nXAppSiorder_SU_1,safSg=2nXAppSiorder_SG,safApp=2nXAppSiorder' Presence 
State UNINSTANTIATED => INSTANTIATING
 Sep 11 00:34:05 SLES11-SLOT-2 osafamfnd[6853]: 
'safSu=2nXAppSiorder_SU_2,safSg=2nXAppSiorder_SG,safApp=2nXAppSiorder' Presence 
State UNINSTANTIATED => INSTANTIATING
 Sep 11 00:34:05 SLES11-SLOT-2 osafamfnd[6853]: 
'safSu=2nXAppSiorder_SU_1,safSg=2nXAppSiorder_SG,safApp=2nXAppSiorder' Presence 
State INSTANTIATING => INSTANTIATED
 Sep 11 00:34:36 SLES11-SLOT-2 osafamfnd[6853]: 
'safSu=2nXAppSiorder_SU_2,safSg=2nXAppSiorder_SG,safApp=2nXAppSiorder' Presence 
State INSTANTIATING => INSTANTIATION_FAILED
 

The SU's and component's states are below:
 

--------------------------------------------------------------------------------

safSu=2nXAppSiorder_SU_1,safSg=2nXAppSiorder_SG,safApp=2nXAppSiorder
 


saAmfSUAdminState=UNLOCKED(1)
 saAmfSUOperState=ENABLED(1)
 saAmfSUPresenceState=INSTANTIATED(3)
 saAmfSUReadinessState=IN-SERVICE(2)
 

safSu=2nXAppSiorder_SU_2,safSg=2nXAppSiorder_SG,safApp=2nXAppSiorder
 


saAmfSUAdminState=UNLOCKED(1)
 saAmfSUOperState=DISABLED(2)
 saAmfSUPresenceState=INSTANTIATION-FAILED(6)
 saAmfSUReadinessState=OUT-OF-SERVICE(1)
 

safComp=2nPIPXDXAppSiorder_comp_pxd,safSu=2nXAppSiorder_SU_1,safSg=2nXAppSiorder_SG,safApp=2nXAppSiorder
 


saAmfCompOperState=ENABLED(1)
 saAmfCompPresenceState=INSTANTIATED(3)
 saAmfCompReadinessState=IN-SERVICE(2)
 

safComp=2nNPIPXDXAppSiorder_comp_pxd,safSu=2nXAppSiorder_SU_1,safSg=2nXAppSiorder_SG,safApp=2nXAppSiorder
 


saAmfCompOperState=ENABLED(1)
 saAmfCompPresenceState=UNINSTANTIATED(1)
 saAmfCompReadinessState=IN-SERVICE(2)
 

safComp=2nNPIPXDXAppSiorder_comp_pxd,safSu=2nXAppSiorder_SU_2,safSg=2nXAppSiorder_SG,safApp=2nXAppSiorder
 


saAmfCompOperState=ENABLED(1)
 saAmfCompPresenceState=UNINSTANTIATED(1)
 saAmfCompReadinessState=OUT-OF-SERVICE(1)
 

safComp=2nPIPXYXAppSiorder_comp_pxy,safSu=2nXAppSiorder_SU_2,safSg=2nXAppSiorder_SG,safApp=2nXAppSiorder
 


saAmfCompOperState=DISABLED(2)
 saAmfCompPresenceState=UNINSTANTIATED(1)
 saAmfCompReadinessState=OUT-OF-SERVICE(1)
 

safComp=2nPIPXDXAppSiorder_comp_pxd,safSu=2nXAppSiorder_SU_2,safSg=2nXAppSiorder_SG,safApp=2nXAppSiorder
 


saAmfCompOperState=DISABLED(2)
 saAmfCompPresenceState=INSTANTIATION-FAILED(6)
 saAmfCompReadinessState=OUT-OF-SERVICE(1)
 

safComp=2nPIPXYXAppSiorder_comp_pxy,safSu=2nXAppSiorder_SU_1,safSg=2nXAppSiorder_SG,safApp=2nXAppSiorder
 


saAmfCompOperState=ENABLED(1)
 saAmfCompPresenceState=INSTANTIATED(3)
 saAmfCompReadinessState=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.
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to