- Description has changed:
Diff:
~~~~
--- old
+++ new
@@ -1,4 +1,4 @@
-'''
+```
2017-04-28 00:52:12 SC-2 opensafd: Stopping OpenSAF Services
2017-04-28 00:52:12 SC-2 opensafd: opensafd start/stop already in progress.
Unable to continue
2017-04-28 00:52:12 SC-2 opensafd: To forcefully start/stop OpenSAF remove
/var/lock/subsys/opensafd_inprogress
@@ -33,9 +33,9 @@
2017-04-28 00:52:12 SC-2 osafamfnd[487]: exiting for shutdown
2017-04-28 00:52:22 SC-2 osafamfd[479]: ER Failed to Send Message bufflen
:445 err :Bad file descriptor
2017-04-28 00:52:22 SC-2 osafamfd[479]: src/amf/amfd/comp.cc:814:
avd_comp_config_get: Assertion 'rc == SA_AIS_ERR_NOT_EXIST' failed.
-'''
+```
-'''
+```
Thread 1 (Thread 0x7f539951a780 (LWP 479)):
#0 0x00007f5397724c37 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
resultvar = 0
@@ -132,4 +132,4 @@
#13 0x0000558e8cc2a71c in main (argc=1, argv=0x7ffe7d48ca38) at
src/amf/amfd/main.cc:848
No locals.
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory
-'''
+```
~~~~
---
** [tickets:#2458] amfd: unnecessary coredumps during shutdown**
**Status:** unassigned
**Milestone:** 5.17.06
**Created:** Wed May 10, 2017 08:14 AM UTC by Gary Lee
**Last Updated:** Wed May 10, 2017 08:14 AM UTC
**Owner:** nobody
```
2017-04-28 00:52:12 SC-2 opensafd: Stopping OpenSAF Services
2017-04-28 00:52:12 SC-2 opensafd: opensafd start/stop already in progress.
Unable to continue
2017-04-28 00:52:12 SC-2 opensafd: To forcefully start/stop OpenSAF remove
/var/lock/subsys/opensafd_inprogress
2017-04-28 00:52:12 SC-2 osafamfd[479]: WA configuration validation error:
Required attribute saAmfCtDefQuiescingCompleteTimeout not configured for
'safVersion=5.5.5,safCompType=AmfDemo2'
2017-04-28 00:52:12 SC-2 osafamfwd[502]: exiting for shutdown
2017-04-28 00:52:12 SC-2 osafamfnd[487]: NO Shutdown initiated
2017-04-28 00:52:12 SC-2 osafrded[416]: exiting for shutdown
2017-04-28 00:52:12 SC-2 osafamfnd[487]: NO Terminating all AMF components
2017-04-28 00:52:12 SC-2 osaffmd[424]: exiting for shutdown
2017-04-28 00:52:12 SC-2 osafsmfnd[567]: exiting for shutdown
2017-04-28 00:52:12 SC-2 osafckptd[506]: exiting for shutdown
2017-04-28 00:52:12 SC-2 osafckptnd[516]: exiting for shutdown
2017-04-28 00:52:12 SC-2 osafclmd[469]: exiting for shutdown
2017-04-28 00:52:12 SC-2 osafclmna[406]: exiting for shutdown
2017-04-28 00:52:12 SC-2 osafsmfd[608]: MDTM:SOCKET recd_bytes :0, conn lost
with dh server
2017-04-28 00:52:12 SC-2 osafsmfnd[567]: MDTM:SOCKET recd_bytes :0, conn lost
with dh server
2017-04-28 00:52:12 SC-2 osafsmfd[608]: exiting for shutdown
2017-04-28 00:52:12 SC-2 osaflogd[452]: exiting for shutdown
2017-04-28 00:52:12 SC-2 osafimmd[433]: exiting for shutdown
2017-04-28 00:52:12 SC-2 osaftransportd[405]: exiting for shutdown
....
2017-04-28 00:52:12 SC-2 osafimmnd[443]: ER Failed to Send Message bufflen
:445 err :Bad file descriptor
2017-04-28 00:52:12 SC-2 osafimmnd[443]: WA MDS Send Failed
2017-04-28 00:52:12 SC-2 osafimmnd[443]: WA Error code 2 returned for message
type 17 - ignoring
2017-04-28 00:52:12 SC-2 osafimmnd[443]: exiting for shutdown
2017-04-28 00:52:12 SC-2 osafntfimcnd[729]: MDTM:TCP DBSRsock unable to connect
err :Connection refused
2017-04-28 00:52:12 SC-2 osafntfimcnd[729]: ER ntfimcn_imm_init
saImmOiInitialize_2 failed SA_AIS_ERR_LIBRARY (2)
2017-04-28 00:52:12 SC-2 osafntfimcnd[729]: ER ntfimcn_imm_init() Fail
2017-04-28 00:52:12 SC-2 osafntfd[461]: exiting for shutdown
2017-04-28 00:52:12 SC-2 osafamfnd[487]: NO Terminated all AMF components
2017-04-28 00:52:12 SC-2 osafamfnd[487]: NO Shutdown completed, exiting
2017-04-28 00:52:12 SC-2 osafamfnd[487]: exiting for shutdown
2017-04-28 00:52:22 SC-2 osafamfd[479]: ER Failed to Send Message bufflen :445
err :Bad file descriptor
2017-04-28 00:52:22 SC-2 osafamfd[479]: src/amf/amfd/comp.cc:814:
avd_comp_config_get: Assertion 'rc == SA_AIS_ERR_NOT_EXIST' failed.
```
```
Thread 1 (Thread 0x7f539951a780 (LWP 479)):
#0 0x00007f5397724c37 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
resultvar = 0
pid = 479
selftid = 479
#1 0x00007f5397728028 in __GI_abort () at abort.c:89
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0},
sa_mask = {__val = {0, 140731000339776, 139997029164327, 5, 0, 0,
139996999666992, 94070744203264, 140731000339776, 94070734617616,
139997029192917, 1, 139997000668251, 0, 0, 139997003564896}}, sa_flags = 0,
sa_restorer = 0x0}
sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007f539855e70c in __osafassert_fail (__file=0x558e8cd9437a
"src/amf/amfd/comp.cc", __line=814, __func=0x558e8cd95dd0
<avd_comp_config_get(std::string const&, AVD_SU*)::__FUNCTION__>
"avd_comp_config_get", __assertion=0x558e8cd94b15 "rc == SA_AIS_ERR_NOT_EXIST")
at src/base/sysf_def.c:286
No locals.
#3 0x0000558e8cbcf750 in avd_comp_config_get
(su_name="safSu=SC-2,safSg=NoRed,safApp=OpenSAF", su=0x558e8d4a9c80) at
src/amf/amfd/comp.cc:814
searchHandle = 1493333532075833352
className = 0x558e8cd94a96 "SaAmfComp"
configAttributes = {0x558e8cd9463a "saAmfCompType", 0x558e8cd94b37
"saAmfCompCmdEnv", 0x558e8cd9483a "saAmfCompInstantiateCmdArgv", 0x558e8cd94856
"saAmfCompInstantiateTimeout", 0x558e8cd94872 "saAmfCompInstantiationLevel",
0x558e8cd94890 "saAmfCompNumMaxInstantiateWithoutDelay", 0x558e8cd94b48
"saAmfCompNumMaxInstantiateWithDelay", 0x558e8cd948b8
"saAmfCompDelayBetweenInstantiateAttempts", 0x558e8cd948e1
"saAmfCompTerminateCmdArgv", 0x558e8cd948fb "saAmfCompTerminateTimeout",
0x558e8cd94915 "saAmfCompCleanupCmdArgv", 0x558e8cd9492d
"saAmfCompCleanupTimeout", 0x558e8cd94945 "saAmfCompAmStartCmdArgv",
0x558e8cd9495d "saAmfCompAmStartTimeout", 0x558e8cd94978
"saAmfCompNumMaxAmStartAttempts", 0x558e8cd94997 "saAmfCompAmStopCmdArgv",
0x558e8cd949ae "saAmfCompAmStopTimeout", 0x558e8cd949c5
"saAmfCompNumMaxAmStopAttempts", 0x558e8cd949e8
"saAmfCompCSISetCallbackTimeout", 0x558e8cd94a08
"saAmfCompCSIRmvCallbackTimeout", 0x558e8cd94a28
"saAmfCompQuiescingCompleteTimeout", 0x558e8cd94
6a8 "saAmfCompRecoveryOnError", 0x558e8cd94757 "saAmfCompDisableRestart", 0x0}
t_ = {trace_leave_called = false, file_ = 0x0, function_ = 0x0}
searchParam = {searchOneAttr = {attrName = 0x558e8cd94aa0
"SaImmAttrClassName", attrValueType = SA_IMM_ATTR_SASTRINGT, attrValue =
0x7ffe7d48bdc0}}
comp_name = {_opaque = {53, 24947, 17254, 28015, 15728, 19777, 22342,
20292, 11335, 24947, 21350, 15733, 17235, 12845, 29484, 26209, 26451, 20029,
21103, 25701, 29484, 26209, 28737, 15728, 28751, 28261, 16723, 70, 0 <repeats
101 times>}}
comp = 0x558e8d4af800
__FUNCTION__ = "avd_comp_config_get"
rc = SA_AIS_ERR_TIMEOUT
error = SA_AIS_ERR_FAILED_OPERATION
attributes = 0x558e8d4ac030
num_of_comp_in_su = 5
#4 0x0000558e8cd58b3a in avd_su_config_get
(sg_name="safSg=NoRed,safApp=OpenSAF", sg=0x558e8d4a92e0) at
src/amf/amfd/su.cc:746
searchHandle = 1493333532074720884
su_name = "safSu=SC-2,safSg=NoRed,safApp=OpenSAF"
className = 0x558e8cda9b28 "SaAmfSU"
su = 0x558e8d4a9c80
configAttributes = {0x558e8cda9520 "saAmfSUType", 0x558e8cda9859
"saAmfSURank", 0x558e8cda9890 "saAmfSUHostedByNode", 0x558e8cda95a3
"saAmfSUHostNodeOrNodeGroup", 0x558e8cda97ad "saAmfSUFailover", 0x558e8cda9960
"saAmfSUMaintenanceCampaign", 0x558e8cda97e4 "saAmfSUAdminState", 0x0}
t_ = {trace_leave_called = false, file_ = 0x0, function_ = 0x0}
searchParam = {searchOneAttr = {attrName = 0x558e8cda9b30
"SaImmAttrClassName", attrValueType = SA_IMM_ATTR_SASTRINGT, attrValue =
0x7ffe7d48c060}}
__FUNCTION__ = "avd_su_config_get"
error = SA_AIS_OK
rc = SA_AIS_OK
tmp_su_name = {_opaque = {37, 24947, 21350, 15733, 17235, 12845, 29484,
26209, 26451, 20029, 21103, 25701, 29484, 26209, 28737, 15728, 28751, 28261,
16723, 70, 0 <repeats 109 times>}}
attributes = 0x558e8d4a9540
#5 0x0000558e8cc88a74 in avd_sg_config_get (app_dn="safApp=OpenSAF",
app=0x558e8d4a8710) at src/amf/amfd/sg.cc:496
searchHandle = 1493333532073388310
dn = {_opaque = {26, 24947, 21350, 15719, 28494, 25938, 11364, 24947,
16742, 28784, 20285, 25968, 21358, 17985, 0 <repeats 115 times>}}
className = 0x558e8cda0a05 "SaAmfSG"
configAttributes = {0x558e8cda059b "saAmfSGType", 0x558e8cda06b6
"saAmfSGSuHostNodeGroup", 0x558e8cda0608 "saAmfSGAutoRepair", 0x558e8cda0646
"saAmfSGAutoAdjust", 0x558e8cda071d "saAmfSGNumPrefActiveSUs", 0x558e8cda07b3
"saAmfSGNumPrefStandbySUs", 0x558e8cda0854 "saAmfSGNumPrefInserviceSUs",
0x558e8cda086f "saAmfSGNumPrefAssignedSUs", 0x558e8cda0889
"saAmfSGMaxActiveSIsperSU", 0x558e8cda08f1 "saAmfSGMaxStandbySIsperSU",
0x558e8cda095a "saAmfSGAutoAdjustProb", 0x558e8cda0970
"saAmfSGCompRestartProb", 0x558e8cda0987 "saAmfSGCompRestartMax",
0x558e8cda099d "saAmfSGSuRestartProb", 0x558e8cda09b2 "saAmfSGSuRestartMax",
0x558e8cda067e "saAmfSGAdminState", 0x558e8cda09c6 "osafAmfSGFsmState", 0x0}
t_ = {trace_leave_called = false, file_ = 0x0, function_ = 0x0}
sg = 0x558e8d4a92e0
searchParam = {searchOneAttr = {attrName = 0x558e8cda0a0d
"SaImmAttrClassName", attrValueType = SA_IMM_ATTR_SASTRINGT, attrValue =
0x7ffe7d48c290}}
__FUNCTION__ = "avd_sg_config_get"
error = SA_AIS_OK
rc = SA_AIS_OK
attributes = 0x558e8d4a8880
#6 0x0000558e8cb8b13c in avd_app_config_get () at src/amf/amfd/app.cc:468
searchHandle = 1493333532059934136
dn = {_opaque = {14, 24947, 16742, 28784, 20285, 25968, 21358, 17985, 0
<repeats 121 times>}}
className = 0x558e8cd903f8 "SaAmfApplication"
configAttributes = {0x558e8cd9018a "saAmfAppType", 0x558e8cd901f8
"saAmfApplicationAdminState", 0x0}
t_ = {trace_leave_called = false, file_ = 0x0, function_ = 0x0}
searchParam = {searchOneAttr = {attrName = 0x558e8cd90409
"SaImmAttrClassName", attrValueType = SA_IMM_ATTR_SASTRINGT, attrValue =
0x7ffe7d48c500}}
app = 0x558e8d4a8710
__FUNCTION__ = "avd_app_config_get"
error = SA_AIS_ERR_FAILED_OPERATION
rc = SA_AIS_OK
attributes = 0x558e8d4a0450
#7 0x0000558e8cc15f05 in avd_imm_config_get () at src/amf/amfd/imm.cc:1647
rc = 2
t_ = {trace_leave_called = false, file_ = 0x0, function_ = 0x0}
__FUNCTION__ = "avd_imm_config_get"
#8 0x0000558e8cc7ea48 in avd_standby_role_initialization (cb=0x558e8d0c8520
<_control_block>) at src/amf/amfd/role.cc:302
status = 2
t_ = {trace_leave_called = false, file_ = 0x0, function_ = 0x0}
__FUNCTION__ = "avd_standby_role_initialization"
#9 0x0000558e8cc7e496 in initialize_for_assignment (cb=0x558e8d0c8520
<_control_block>, ha_state=SA_AMF_HA_STANDBY) at src/amf/amfd/role.cc:233
t_ = {trace_leave_called = false, file_ = 0x0, function_ = 0x0}
__FUNCTION__ = "initialize_for_assignment"
rc = 1
#10 0x0000558e8cc7d3fe in avd_role_change_evh (cb=0x558e8d0c8520
<_control_block>, evt=0x7f53900008c0) at src/amf/amfd/role.cc:80
status = 1
msg = 0x7f5390000900
cause = AVD_FAIL_OVER
role = SA_AMF_HA_STANDBY
__FUNCTION__ = "avd_role_change_evh"
t_ = {trace_leave_called = false, file_ = 0x0, function_ = 0x0}
#11 0x0000558e8cc2a319 in process_event (cb_now=0x558e8d0c8520
<_control_block>, evt=0x7f53900008c0) at src/amf/amfd/main.cc:799
t_ = {trace_leave_called = false, file_ = 0x0, function_ = 0x0}
__FUNCTION__ = "process_event"
#12 0x0000558e8cc29846 in main_loop () at src/amf/amfd/main.cc:691
pollretval = 1
evt = 0x7f53900008c0
mbx_fd = {raise_obj = 18, rmv_obj = 19}
polltmo = -1
term_fd = 22
__FUNCTION__ = "main_loop"
cb = 0x558e8d0c8520 <_control_block>
error = SA_AIS_OK
old_sync_state = AVD_STBY_OUT_OF_SYNC
#13 0x0000558e8cc2a71c in main (argc=1, argv=0x7ffe7d48ca38) at
src/amf/amfd/main.cc:848
No locals.
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory
```
---
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