Please share configuration and traces for this issue.
Share the details of other attributes of NWay model like
saAmfSIPrefStandbyAssignments, saAmfSGMaxActiveSIsperSU,
saAmfSGMaxStandbySIsperSU and number of SIs.
---
** [tickets:#321] amf: amfnd crashed during failover, admin SU lock ,
switchover scenerio with Nway model.**
**Status:** unassigned
**Created:** Fri May 24, 2013 09:05 AM UTC by Praveen
**Last Updated:** Fri May 24, 2013 09:05 AM UTC
**Owner:** nobody
Migrated from http://devel.opensaf.org/ticket/2177.
amfnd crashed during failover, admin SU lock , switchover scenario with Nway
model.
1.Runtime configured nway model with SG auto adjust enabled, 5SUs.
SU1 and SU5 was on SC-1
SU2 on SC-2
SU3 and SU4 on PL-3
2.Runtime unlock-in and unlock of each SUs.
3.Reboot SC-1 which was active.
4.Immediately on SC-2 triggered the SU3 lock, which failed with
SA_AIS_ERR_TRY_AGAIN.
amf-adm lock safSu=d_NWay_1Norm_3,safSg=SG_d_n,safApp=N
error - saImmOmAdminOwnerRelease FAILED: SA_AIS_ERR_TRY_AGAIN (6)
controller failover happened successfully.
5.Then tried to triggered the admin lock of SU3, which successfully happened.
6.After SC-1 comes up as standby, triggered the controller switchover from SC-1
and SU3 admin lock from SC-2 which failed with SA_AIS_ERR_TRY_AGAIN.
but after step3 , observed that SC-1 rebooted and found amfnd crash on SC-1.
-rw——- 1 root root 1138688 2011-09-30 20:22 core_1317394320.osafamfnd.2798
linux-xc76:/var/crash/opensaf # ip r
192.168.56.0/24 dev eth0 proto kernel scope link src 192.168.56.101
169.254.0.0/16 dev eth0 scope link
127.0.0.0/8 dev lo scope link
linux-xc76:/var/crash/opensaf # date
Fri Sep 30 20:32:22 IST 2011
linux-xc76:/var/crash/opensaf # gdb /usr/lib64/opensaf/osafamfnd
/var/crash/opensaf/core_1317394320.osafamfnd.2798
GNU gdb (GDB; SUSE Linux Enterprise 11) 6.8.50.20081120-cvs
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>...
warning: Can't read pathname for load map: Input/output error.
Reading symbols from /usr/lib64/libopensaf_core.so.0...done.
Loaded symbols for /usr/lib64/libopensaf_core.so.0
Reading symbols from /usr/lib64/libSaNtf.so.0...done.
Loaded symbols for /usr/lib64/libSaNtf.so.0
Reading symbols from /usr/lib64/libSaImmOi.so.0...done.
Loaded symbols for /usr/lib64/libSaImmOi.so.0
Reading symbols from /usr/lib64/libSaImmOm.so.0...done.
Loaded symbols for /usr/lib64/libSaImmOm.so.0
Reading symbols from /usr/lib64/libSaClm.so.0...done.
Loaded symbols for /usr/lib64/libSaClm.so.0
Reading symbols from /lib64/libdl.so.2...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/librt.so.1...done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /lib64/libpthread.so.0...done.
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/libc.so.6...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
[New Thread 2800]
[New Thread 2801]
[New Thread 2809]
Core was generated by `/usr/lib64/opensaf/osafamfnd —tracemask=0xffffffff'.
Program terminated with signal 6, Aborted.
#0 0x00007f8d31274645 in raise () from /lib64/libc.so.6
(gdb) bt full
0 0x00007f8d31274645 in raise () from /lib64/libc.so.6
No symbol table info available.
1 0x00007f8d31275c33 in abort () from /lib64/libc.so.6
No symbol table info available.
2 0x0000000000405316 in defaultImmutilError (fmt=0x450230 "saImmOmAccessorGet
FAILED, rc = %d")
at ../../../../../osaf/tools/safimm/src/immutil.c:68
ap = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fff3a8fc520,
reg_save_area = 0x7fff3a8fc460}}
ap2 = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fff3a8fc520,
reg_save_area = 0x7fff3a8fc460}}
3 0x0000000000407a10 in immutil_saImmOmAccessorGet_2
(accessorHandle=1317394310549243734, objectName=0x699052,
attributeNames=0x7fff3a8fc600, attributes=0x7fff3a8fc618) at
../../../../../osaf/tools/safimm/src/immutil.c:1100
rc = SA_AIS_ERR_TRY_AGAIN
nTries = 25
4 0x000000000043da68 in avnd_su_si_csi_rec_add (cb=0x668fe0, su=0x684c50,
si_rec=0x6a9760, param=0x698f50,
rc=0x7fff3a8fc6f4) at avnd_sidb.c:242
attributeNames = {0x457cc3 "saAmfCSType", 0x0}
immOmHandle = 3388729327887
error = SA_AIS_OK
accessorHandle = 1317394310549243734
attributes = (const SaImmAttrValuesT_2 **) 0x100000001
immVersion = {releaseCode = 65 'A', majorVersion = 2 '\002', minorVersion = 1
'\001'}
csi_rec = (AVND_COMP_CSI_REC *) 0x6ad670
comp = (AVND_COMP *) 0x686560
__FUNCTION__ = "avnd_su_si_csi_rec_add"
__PRETTY_FUNCTION__ = "avnd_su_si_csi_rec_add"
5 0x000000000043d6e0 in avnd_su_si_rec_add (cb=0x668fe0, su=0x684c50,
param=0x68ea28, rc=0x7fff3a8fc6f4) at avnd_sidb.c:141
si_rec = (AVND_SU_SI_REC *) 0x6a9760
csi_param = (AVND_COMP_CSI_PARAM *) 0x698f50
__FUNCTION__ = "avnd_su_si_rec_add"
6 0x0000000000440bae in avnd_su_si_msg_prc (cb=0x668fe0, su=0x684c50,
info=0x68ea28) at avnd_susm.c:324
si = (AVND_SU_SI_REC *) 0x0
rc = 1
csi = (AVND_COMP_CSI_REC *) 0x0
__FUNCTION__ = "avnd_su_si_msg_prc"
__PRETTY_FUNCTION__ = "avnd_su_si_msg_prc"
7 0x000000000043f709 in avnd_evt_avd_info_su_si_assign_evh (cb=0x668fe0,
evt=0x6b55c0) at avnd_su.c:243
—Type <return> to continue, or q <return> to quit—
info = (AVSV_D2N_INFO_SU_SI_ASSIGN_MSG_INFO *) 0x68ea28
siq = (AVND_SU_SIQ_REC *) 0x0
su = (AVND_SU *) 0x684c50
rc = 1
__FUNCTION__ = "avnd_evt_avd_info_su_si_assign_evh"
8 0x000000000043d41b in avnd_evt_process (evt=0x6b55c0) at avnd_proc.c:279
cb = (AVND_CB *) 0x668fe0
rc = 1
__FUNCTION__ = "avnd_evt_process"
9 0x000000000043d264 in avnd_main_process () at avnd_proc.c:220
ret = 1
mbx_fd = {raise_obj = 13, rmv_obj = 14}
fds = {{fd = 14, events = 1, revents = 1}, {fd = 18, events = 1, revents = 0},
{fd = 16, events = 1, revents = 0}, {
fd = 848277504, events = 1, revents = 0}}
nfds = 3
evt = (AVND_EVT *) 0x6b55c0
__FUNCTION__ = "avnd_main_process"
10 0x000000000040882b in main (argc=2, argv=0x7fff3a8fc8e8) at amfnd_main.c:45
error = 0
(gdb)
Changed 20 months ago by shareef
Correcting the line "but after step3 , observed that SC-1 rebooted and found
amfnd crash on SC-1." to "but after step6 , observed that SC-1 rebooted and
found amfnd crash on SC-1."
---
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.------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets