- **status**: review --> fixed
- **Comment**:

commit e63b15da12baa918d7bb95da2b715c73c48da5bc
Author: Ravi Sekhar <Ravi [email protected]>
Date:   Thu Oct 5 16:23:26 2017 +0530

  amfd: choose unlocked instantiable SU for instantiation [#2462]

commit f89d33444858c53aa41bcd968f18c0bbb583630c
Author: nagendra-k <[email protected]>
Date:   Thu Oct 5 16:23:26 2017 +0530

    amfd: Add routine find_instantiable_same_rank_su as part of SG class [#2462]




---

** [tickets:#2462] amf: Stop opensafd on one payload causes 2N SI partially 
assigned**

**Status:** fixed
**Milestone:** 5.17.10
**Labels:** 2N app 5 SUs 
**Created:** Wed May 17, 2017 03:52 AM UTC by Minh Hon Chau
**Last Updated:** Fri Sep 08, 2017 11:21 AM UTC
**Owner:** Ravi Sekhar Reddy
**Attachments:**

- 
[app3_twon5su3si.xml](https://sourceforge.net/p/opensaf/tickets/2462/attachment/app3_twon5su3si.xml)
 (18.0 kB; text/xml)
- 
[log_trace.tgz](https://sourceforge.net/p/opensaf/tickets/2462/attachment/log_trace.tgz)
 (1.2 MB; application/x-gzip-compressed)


Step to reproduce:
- Load the attached model, 2N app, 5 SUs hosted on each node of a 5 nodes 
cluster, i.e. SU1, SU2, SU3, SU4, SU5 are hosted on SC1, SC2, PL3, PL4, PL5
- Unlock-in/Unlock all SUs, so SU1, SU2 get Active/Standby assignment 
respectively
- Lock SU1, SU2. SU3, SU4 gets Active/Standby assignment
- Issue opensafd stop on PL3. SU4 gets Active assignment.

Observation:
Only SU4 gets active assignment, there's no Standby assignment for SU5 as it 
should.

safSu=SU1,safSg=AmfDemoTwon,safApp=AmfDemoTwon
        saAmfSUAdminState=LOCKED(2)
        saAmfSUOperState=ENABLED(1)
        saAmfSUPresenceState=INSTANTIATED(3)
        saAmfSUReadinessState=OUT-OF-SERVICE(1)
safSu=SU2,safSg=AmfDemoTwon,safApp=AmfDemoTwon
        saAmfSUAdminState=LOCKED(2)
        saAmfSUOperState=ENABLED(1)
        saAmfSUPresenceState=UNINSTANTIATED(1)
        saAmfSUReadinessState=OUT-OF-SERVICE(1)
safSu=SU3,safSg=AmfDemoTwon,safApp=AmfDemoTwon
        saAmfSUAdminState=UNLOCKED(1)
        saAmfSUOperState=DISABLED(2)
        saAmfSUPresenceState=UNINSTANTIATED(1)
        saAmfSUReadinessState=OUT-OF-SERVICE(1)
safSu=SU4,safSg=AmfDemoTwon,safApp=AmfDemoTwon
        saAmfSUAdminState=UNLOCKED(1)
        saAmfSUOperState=ENABLED(1)
        saAmfSUPresenceState=INSTANTIATED(3)
        saAmfSUReadinessState=IN-SERVICE(2)
safSu=SU5,safSg=AmfDemoTwon,safApp=AmfDemoTwon
        saAmfSUAdminState=UNLOCKED(1)
        saAmfSUOperState=ENABLED(1)
        saAmfSUPresenceState=UNINSTANTIATED(1)
        saAmfSUReadinessState=OUT-OF-SERVICE(1)

safSi=AmfDemoTwon,safApp=AmfDemoTwon
        saAmfSIAdminState=UNLOCKED(1)
        saAmfSIAssignmentState=PARTIALLY_ASSIGNED(3)
safSi=AmfDemoTwonDep1,safApp=AmfDemoTwon
        saAmfSIAdminState=UNLOCKED(1)
        saAmfSIAssignmentState=PARTIALLY_ASSIGNED(3)
safSi=AmfDemoTwonDep2,safApp=AmfDemoTwon
        saAmfSIAdminState=UNLOCKED(1)
        saAmfSIAssignmentState=PARTIALLY_ASSIGNED(3)


Note that if the test replaces "Lock SU1, SU2" by "Reboot SC1, SC2", SI gets 
fully assigned, SU5 is instantiated.

Attached files are models, and collected log/trace


---

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.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to