---

** [tickets:#1284] AMF: extra notification for nodegroup lock operation**

**Status:** unassigned
**Milestone:** 4.6.RC1
**Created:** Tue Mar 24, 2015 01:33 PM UTC by Srikanth R
**Last Updated:** Tue Mar 24, 2015 01:33 PM UTC
**Owner:** nobody


If the nodegroup is hosting an extra node which is not part of cluster, extra 
AMF notification is generated when lock operation is issued on node group.

For e.g,  PL-3,PL-4,PL-5 and PL-6 are the payloads configured and PL-3,4,5 are 
part of the cluster and PL-6 did not join cluster. 

Invoke admin  lock operation on the default payload nod group, five 
notifications are expected, regarding ADMIN state.

One notification for node group moving from UNLOCKED to LOCKED and the other 
four are for four payloads

But six are generated, with the extra notification for PL-6 moving from LOCKED 
to LOCKED state which is invalid

The following five are expected :

===  Mar 24 19:03:35 - State Change  ===
eventType = SA_NTF_OBJECT_STATE_CHANGE
notificationObject = "safAmfNodeGroup=PLs,safAmfCluster=myAmfCluster"
notifyingObject = "safApp=safAmfService"
notificationClassId = SA_NTF_VENDOR_ID_SAF.SA_SVC_AMF.114 (0x72)
additionalText = "Admin state of safAmfNodeGroup=PLs,safAmfCluster=myAmfCluster 
changed"
sourceIndicator = SA_NTF_MANAGEMENT_OPERATION
State ID = SA_AMF_ADMIN_STATE
Old State: SA_AMF_ADMIN_UNLOCKED
New State: SA_AMF_ADMIN_LOCKED

===  Mar 24 19:03:35 - State Change  ===
eventType = SA_NTF_OBJECT_STATE_CHANGE
notificationObject = "safAmfNode=PL-3,safAmfCluster=myAmfCluster"
notifyingObject = "safApp=safAmfService"
notificationClassId = SA_NTF_VENDOR_ID_SAF.SA_SVC_AMF.101 (0x65)
additionalText = "Admin state of safAmfNode=PL-3,safAmfCluster=myAmfCluster 
changed"
sourceIndicator = SA_NTF_MANAGEMENT_OPERATION
State ID = SA_AMF_ADMIN_STATE
Old State: SA_AMF_ADMIN_UNLOCKED
New State: SA_AMF_ADMIN_LOCKED

===  Mar 24 19:03:35 - State Change  ===
eventType = SA_NTF_OBJECT_STATE_CHANGE
notificationObject = "safAmfNode=PL-4,safAmfCluster=myAmfCluster"
notifyingObject = "safApp=safAmfService"
notificationClassId = SA_NTF_VENDOR_ID_SAF.SA_SVC_AMF.101 (0x65)
additionalText = "Admin state of safAmfNode=PL-4,safAmfCluster=myAmfCluster 
changed"
sourceIndicator = SA_NTF_MANAGEMENT_OPERATION
State ID = SA_AMF_ADMIN_STATE
Old State: SA_AMF_ADMIN_UNLOCKED
New State: SA_AMF_ADMIN_LOCKED

===  Mar 24 19:03:35 - State Change  ===
eventType = SA_NTF_OBJECT_STATE_CHANGE
notificationObject = "safAmfNode=PL-5,safAmfCluster=myAmfCluster"
notifyingObject = "safApp=safAmfService"
notificationClassId = SA_NTF_VENDOR_ID_SAF.SA_SVC_AMF.101 (0x65)
additionalText = "Admin state of safAmfNode=PL-5,safAmfCluster=myAmfCluster 
changed"
sourceIndicator = SA_NTF_MANAGEMENT_OPERATION
State ID = SA_AMF_ADMIN_STATE
Old State: SA_AMF_ADMIN_UNLOCKED
New State: SA_AMF_ADMIN_LOCKED

===  Mar 24 19:03:35 - State Change  ===
eventType = SA_NTF_OBJECT_STATE_CHANGE
notificationObject = "safAmfNode=PL-6,safAmfCluster=myAmfCluster"
notifyingObject = "safApp=safAmfService"
notificationClassId = SA_NTF_VENDOR_ID_SAF.SA_SVC_AMF.101 (0x65)
additionalText = "Admin state of safAmfNode=PL-6,safAmfCluster=myAmfCluster 
changed"
sourceIndicator = SA_NTF_MANAGEMENT_OPERATION
State ID = SA_AMF_ADMIN_STATE
Old State: SA_AMF_ADMIN_UNLOCKED
New State: SA_AMF_ADMIN_LOCKED



Below one is the extra notification generated

===  Mar 24 19:03:35 - State Change  ===
eventType = SA_NTF_OBJECT_STATE_CHANGE
notificationObject = "safAmfNode=PL-6,safAmfCluster=myAmfCluster"
notifyingObject = "safApp=safAmfService"
notificationClassId = SA_NTF_VENDOR_ID_SAF.SA_SVC_AMF.101 (0x65)
additionalText = "Admin state of safAmfNode=PL-6,safAmfCluster=myAmfCluster 
changed"
sourceIndicator = SA_NTF_MANAGEMENT_OPERATION
State ID = SA_AMF_ADMIN_STATE
Old State: SA_AMF_ADMIN_LOCKED
New State: SA_AMF_ADMIN_LOCKED



---

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.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to