Menu

#1956 IMM: AugmentCcbInitialize crashed when called inside completed callback

5.0.2
fixed
None
defect
imm
lib
5.0
major
2016-12-12
2016-08-17
No

Opensaf Version 5.0
immnd traces and coredump attached

0 0x00007fa056226b55 in raise () from /lib64/libc.so.6

1 0x00007fa056228131 in abort () from /lib64/libc.so.6

2 0x00007fa0559ac08e in getAdmoName () from /usr/lib64/libSaImmOi.so.0

3 0x00007fa0559acb48 in saImmOiAugmentCcbInitialize () from /usr/lib64/libSaImmOi.so.0

4 0x00007fa055fda86f in _wrap_saImmOiAugmentCcbInitialize () at saImmOiA211_wrap.c:5917

5 0x0000000000418243 in PyObject_Call (func=0x4d8f, arg=0x4d8f, kw=0x6) at Objects/abstract.c:1860

6 0x0000000000487437 in ext_do_call (nk=<optimized out="">, na=<optimized out="">, flags=<optimized out="">, pp_stack=<optimized out="">, func=<optimized out="">)

at Python/ceval.c:3846
1 Attachments

Related

Tickets: #1956
Wiki: ChangeLog-5.0.2
Wiki: ChangeLog-5.1.1

Discussion

  • Zoran Milinkovic

    Can you attach syslogs ?

     
  • Chani Srivastava

    Syslog for active controller and payload attached

     
  • Neelakanta Reddy

    • status: unassigned --> accepted
    • assigned_to: Neelakanta Reddy
    • Part: - --> lib
     
  • Neelakanta Reddy

    from OpenSAF 5.0 with saImmOmCcbObjectRead , completed callback also call the OM APIs.
    when saImmOiAugmentCcbInitialize is called in completed callback with ReleaseonFinalize flag as false, then new admin owner is required for augumentation with ROF set to true.

    Solution:
    If completed callback is allowed to succeed in saImmOiAugmentCcbInitialize, then the other operations like ccb create/deete/modify will not be succeed, because the CCB will be in PREPARE state, so, only operation that will be succeed is saImmOmCcbObjectRead.

    The solution is to allow getAdmoName, for completed callback also.

     
  • Neelakanta Reddy

    • Milestone: 4.7.2 --> 5.1.FC
     
  • Neelakanta Reddy

    • Milestone: 5.1.FC --> 5.0.1
     
  • Neelakanta Reddy

    • status: accepted --> review
     
  • Neelakanta Reddy

    • status: review --> accepted
     
  • Neelakanta Reddy

    The object name is not set for completed callback, which is required to get Adminownername when original ROF flag is flase.

     
  • Anders Widell

    Anders Widell - 2016-09-20
    • Milestone: 5.0.1 --> 5.0.2
     
  • Neelakanta Reddy

     
  • Neelakanta Reddy

    A new message will be introduced between IMMA and IMMND to get the adminowner name for a given CcbId,

     
  • Neelakanta Reddy

    • status: accepted --> review
     
  • Neelakanta Reddy

    • status: review --> fixed
     
  • Neelakanta Reddy

    changeset: 8426:e44bf1a904b6
    branch: opensaf-5.0.x
    parent: 8423:a85ab2a8baa4
    user: Neelakanta Reddy reddy.neelakanta@oracle.com
    date: Mon Dec 12 10:27:44 2016 +0530
    summary: imm:allow augumentCcbInit with ROF as false in completed callback[#1956]

    changeset: 8427:bff64f77344b
    branch: opensaf-5.1.x
    parent: 8424:962b79041a18
    user: Neelakanta Reddy reddy.neelakanta@oracle.com
    date: Mon Dec 12 10:27:44 2016 +0530
    summary: imm:allow augumentCcbInit with ROF as false in completed callback[#1956]

    changeset: 8428:140770d51110
    tag: tip
    parent: 8425:cf977e804025
    user: Neelakanta Reddy reddy.neelakanta@oracle.com
    date: Mon Dec 12 10:27:44 2016 +0530
    summary: imm:allow augumentCcbInit with ROF as false in completed callback[#1956]

     

    Related

    Tickets: #1956


Log in to post a comment.