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


---

** [tickets:#198] change in readiness state during validate step in admin 
operation scenario is not handled properly**

**Status:** unassigned
**Milestone:** future
**Created:** Tue May 14, 2013 09:29 AM UTC by Mathi Naickan
**Last Updated:** Tue May 14, 2013 09:29 AM UTC
**Owner:** nobody

Issued an admin lock operation on plmEE with trylock option.
When callback is received in the validate step, hold on with out responding.
In the mean time, kill the plmcd on the payload or stop the payload such that 
readiness state changes to OUT_OF_SERVICE.
UNINSTANTIATED callback is received.
Now respond to the validate callback.
Then start callback is issued, with the expected readiness state set to 0.
IMM Admin lock operational return value is set to 1, but admin state of the 
entity is still UNLOCKED.
***********************PLM CALLBACK***************************
cookie—> 100
cause—-> SA_PLM_CAUSE_LOCK (2)
root_cause_entity—-> safEE=PL-3,safDomain=domain_1
step—> SA_PLM_CHANGE_VALIDATE (1)
error—> 1
num_tracked_entities—> 1
entity—> safEE=PL-3,safDomain=domain_1
entity change —> SA_PLM_GROUP_MEMBER_READINESS_CHANGE (4)
Current_RStatus —> ('IN_SERVICE', 0)
Expected_RStatus —> ('OUT_OF_SERVICE', 0)
Invoking the function <built-in function saPlmReadinessTrackResponse> with the 
arguments (30L, 54L, 1)
('Return Value of the function : <—', 1)
**************************************************************
Breakpoint 1, pycbk_SaPlmReadinessTrackCallbackT (entityGroupHandle=30, 
trackCookie=100, invocation=0,
cause=SA_PLM_CAUSE_EE_UNINSTANTIATED, rootCauseEntity=0x81e98f8, 
rootCorrelationId=0, trackedEntities=0x81e9a04,
step=SA_PLM_CHANGE_COMPLETED, error1=SA_AIS_OK) at saPlm_wrap.c:3027
3027 in saPlm_wrap.c
(gdb) p *trackedEntities->entities
$11 = {change = SA_PLM_GROUP_MEMBER_READINESS_CHANGE, entityName = {length = 29,
value = "safEE=PL-3,safDomain=domain_1", '\000' <repeats 226 times>}, 
currentReadinessStatus = {
readinessState = SA_PLM_READINESS_OUT_OF_SERVICE, readinessFlags = 0}, 
expectedReadinessStatus = {
readinessState = SA_PLM_READINESS_OUT_OF_SERVICE, readinessFlags = 0}, 
plmNotificationId = 0}
(gdb) c
Continuing.
***********************PLM CALLBACK***************************
cookie—> 100
cause—-> SA_PLM_CAUSE_EE_UNINSTANTIATED (212)
root_cause_entity—-> safEE=PL-3,safDomain=domain_1
step—> SA_PLM_CHANGE_COMPLETED (4)
error—> 1
num_tracked_entities—> 1
entity—> safEE=PL-3,safDomain=domain_1
entity change —> SA_PLM_GROUP_MEMBER_READINESS_CHANGE (4)
Current_RStatus —> ('OUT_OF_SERVICE', 0)
Expected_RStatus —> ('OUT_OF_SERVICE', 0)
**************************************************************
Breakpoint 1, pycbk_SaPlmReadinessTrackCallbackT (entityGroupHandle=30, 
trackCookie=100, invocation=56, cause=SA_PLM_CAUSE_LOCK,
rootCauseEntity=0x8233708, rootCorrelationId=0, trackedEntities=0x8233814, 
step=SA_PLM_CHANGE_START, error1=SA_AIS_OK)
at saPlm_wrap.c:3027
3027 in saPlm_wrap.c
(gdb) p *trackedEntities->entities
$12 = {change = SA_PLM_GROUP_MEMBER_READINESS_CHANGE, entityName = {length = 29,
value = "safEE=PL-3,safDomain=domain_1", '\000' <repeats 226 times>}, 
currentReadinessStatus = {
readinessState = SA_PLM_READINESS_OUT_OF_SERVICE, readinessFlags = 0}, 
expectedReadinessStatus = {readinessState = 0,
readinessFlags = 0}, plmNotificationId = 0}
Start callback should not be generated as the EE went to uninstantiated and 
admin state should be set to locked and no further callbacks should be 
generated after uninstantiated.


---

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