Steps followed to reproduce the ticket:

FOR MOVING FROM INSTANTIATING TO INSTANTIATION FAILED:

1.plmcd -s(for instantiating)
2.immlist on the EE(the presence state was instantiating)
3.Set the timer to 10 seconds and waited 
4.The state had changed to instantiation failed as shown by the immlist on the 
entity

eventType = SA_NTF_OBJECT_STATE_CHANGE
notificationObject = "safEE=SC-1,safDomain=domain_1"
notifyingObject = "safApp=safPlmService"
notificationClassId = SA_NTF_VENDOR_ID_SAF.SA_SVC_PLM.101 (0x65)
sourceIndicator = SA_NTF_OBJECT_OPERATION
- State ID: 5 -
        Old State: 1 (Uninstantiated)
New State: 2 (Instantiating)

eventType = SA_NTF_OBJECT_STATE_CHANGE
notificationObject = "safEE=SC-1,safDomain=domain_1"
notifyingObject = "safApp=safPlmService"
notificationClassId = SA_NTF_VENDOR_ID_SAF.SA_SVC_PLM.101 (0x65)
sourceIndicator = SA_NTF_OBJECT_OPERATION
- State ID: 5 -
        Old State: 2 (Instantiating)
New State: 5 (Instantiation_Failed)

FOR MOVING FROM INSTANTIATING TO INSTANTIATED:

1.plmcd -s(for instantiating)
2.Started plmcd
3.The state had changed from instantiating to instantiated as shown by the 
immlist on the entity

eventType = SA_NTF_OBJECT_STATE_CHANGE
notificationObject = "safEE=SC-1,safDomain=domain_1"
notifyingObject = "safApp=safPlmService"
notificationClassId = SA_NTF_VENDOR_ID_SAF.SA_SVC_PLM.101 (0x65)
sourceIndicator = SA_NTF_OBJECT_OPERATION
- State ID: 5 -
        Old State: 1 (Uninstantiated)
New State: 2 (Instantiating)


eventType = SA_NTF_OBJECT_STATE_CHANGE
notificationObject = "safEE=SC-1,safDomain=domain_1"
notifyingObject = "safApp=safPlmService"
notificationClassId = SA_NTF_VENDOR_ID_SAF.SA_SVC_PLM.101 (0x65)
sourceIndicator = SA_NTF_OBJECT_OPERATION
- State ID: 5 -
        Old State: 2 (Instantiating)
New State: 3 (Instantiated)


---

** [tickets:#204] Wrong sequence of notifications when plmEE moves from 
instantiating to instantiation failure state or instantiated state**

**Status:** accepted
**Milestone:** 5.18.12
**Created:** Wed May 15, 2013 05:49 AM UTC by Mathi Naickan
**Last Updated:** Wed Oct 10, 2018 11:02 AM UTC
**Owner:** MeenakshiTK


When plmEE moves from instantiating to instantiation failure state, only 1 
notification needs to be sent.
Instead 2 notifications are generated :
1. instantiating to uninstantiated
2. uninstantiated to instantiation failed
In the similar way, 2 notifications are generated from instantiating to 
instantiated ( instantiating -> uninstantiation -> instantiated )
First scenario is every time happening.
second scenario is very random
Snippet from the code :
100|1|
100|1|{'event_type': 12289, 'notifying_object': 'safApp=safPlmService', 
'notification_object': 'safEE=PL-3,safDomain=domain_1', 'num_state_changes': 1, 
'notification_type': 12288, 'class_identifier': {'major_id': 15, 'vendor_id': 
18568, 'minor_id': 101}, 'additional_info': {'info_value': None, 'info_type': 
10, 'info_id': 2}, 'changed_states': [{'old_state': 1, 'state_id': 5, 
'old_state_present': 1, 'new_state': 2}]}
100|1|
100|1|{'event_type': 12289, 'notifying_object': 'safApp=safPlmService', 
'notification_object': 'safEE=PL-3,safDomain=domain_1', 'num_state_changes': 1, 
'notification_type': 12288, 'class_identifier': {'major_id': 15, 'vendor_id': 
18568, 'minor_id': 101}, 'additional_info': {'info_value': None, 'info_type': 
10, 'info_id': 2}, 'changed_states': [{'old_state': 2, 'state_id': 5, 
'old_state_present': 1, 'new_state': 1}]}
100|1|
100|1|{'event_type': 12289, 'notifying_object': 'safApp=safPlmService', 
'notification_object': 'safEE=PL-3,safDomain=domain_1', 'num_state_changes': 1, 
'notification_type': 12288, 'class_identifier': {'major_id': 15, 'vendor_id': 
18568, 'minor_id': 101}, 'additional_info': {'info_value': None, 'info_type': 
10, 'info_id': 2}, 'changed_states': [{'old_state': 2, 'state_id': 6, 
'old_state_present': 1, 'new_state': 1}]}
100|1|
100|1|{'event_type': 12289, 'notifying_object': 'safApp=safPlmService', 
'notification_object': 'safEE=PL-3,safDomain=domain_1', 'num_state_changes': 1, 
'notification_type': 12288, 'class_identifier': {'major_id': 15, 'vendor_id': 
18568, 'minor_id': 101}, 'additional_info': {'info_value': None, 'info_type': 
10, 'info_id': 2}, 'changed_states': [{'old_state': 1, 'state_id': 5, 
'old_state_present': 1, 'new_state': 5


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net 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
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to