Project

General

Profile

Actions

Bug #20102

closed

mgr crash in DaemonServer::ms_verify_authorizer()

Added by Kefu Chai almost 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

#0  0x00007f3692fa8e4f in tc_malloc () from /usr/lib/libtcmalloc.so.4
#1  0x000055db581b18c2 in ceph::BackTrace::print(std::ostream&) const ()
#2  0x000055db5819ad6c in ?? ()
#3  <signal handler called>
#4  0x00007f3692faa8cc in tc_new () from /usr/lib/libtcmalloc.so.4
#5  0x000055db581e4a4a in void boost::function4<bool, __gnu_cxx::__normal_iterator<char*, std::string>&, __gnu_cxx::__normal_iterator<char*, std::string> const&, boost::spirit::con
#6  0x000055db581e4b0b in boost::function<bool (__gnu_cxx::__normal_iterator<char*, std::string>&, __gnu_cxx::__normal_iterator<char*, std::string> const&, boost::spirit::context<b
#7  0x000055db581e4ba5 in boost::enable_if_c<!boost::is_integral<boost::spirit::qi::detail::parser_binder<boost::spirit::qi::alternative<boost::fusion::cons<boost::spirit::qi::acti...
#8  0x000055db581e6d7e in void boost::spirit::qi::rule<__gnu_cxx::__normal_iterator<char*, std::string>, unsigned int (), boost::spirit::unused_type, boost::spirit::unused_type, bo ....
#9  0x000055db581ebbf3 in MonCapParser<__gnu_cxx::__normal_iterator<char*, std::string> >::MonCapParser() ()
#10 0x000055db581e0c23 in MonCap::parse(std::string const&, std::ostream*) ()
#11 0x000055db580898b5 in DaemonServer::ms_verify_authorizer(Connection*, int, int, ceph::buffer::list&, ceph::buffer::list&, bool&, CryptoKey&) ()
#12 0x000055db58419a02 in AsyncConnection::handle_connect_msg(ceph_msg_connect&, ceph::buffer::list&, ceph::buffer::list&) ()
#13 0x000055db5841f267 in AsyncConnection::_process_connection() ()
#14 0x000055db58422978 in AsyncConnection::process() ()
#15 0x000055db5827a9e1 in EventCenter::process_events(int, std::chrono::duration<unsigned long, std::ratio<1l, 1000000000l> >*) ()
#16 0x000055db5827d52e in ?? ()
#17 0x00007f3691d44a60 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#18 0x00007f36923c6184 in start_thread (arg=0x7f368d7bb700) at pthread_create.c:312
#19 0x00007f36914ac37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

/a/kchai-2017-05-27_04:58:25-rados-wip-mgr-stats-kefu---basic-mira/1235608

no backtrace, and no log dump.

branch: wip-mgr-stats

Actions #1

Updated by Kefu Chai almost 7 years ago

  • Description updated (diff)
Actions #2

Updated by Greg Farnum almost 7 years ago

  • Category set to 110
Actions #3

Updated by Greg Farnum almost 7 years ago

  • Project changed from Ceph to mgr
  • Category deleted (110)
Actions #4

Updated by Sage Weil almost 7 years ago

  • Status changed from New to Resolved

This looks like a super old branch, and it just did hte failed shutdown. THis is fixed by the respawn.

2017-05-27T06:10:44.872 INFO:tasks.ceph.mgr.x.mira104.stderr:2017-05-27 06:10:44.881228 7f368b7b7700 -1 mgr handle_mgr_map I was active but no longer am
...
2017-05-27T06:10:46.224 INFO:tasks.ceph.mgr.x.mira104.stderr:2017-05-27 06:10:46.235898 7f36877af700 -1 mgr load Module not found: 'rest'
2017-05-27T06:10:46.224 INFO:tasks.ceph.mgr.x.mira104.stderr:2017-05-27 06:10:46.235923 7f36877af700 -1 mgr init Error loading module 'rest': (2) No such file or directory
2017-05-27T06:10:46.224 INFO:tasks.ceph.mgr.x.mira104.stderr:2017-05-27 06:10:46.235935 7f36877af700 -1 mgr init Traceback (most recent call last):
2017-05-27T06:10:46.224 INFO:tasks.ceph.mgr.x.mira104.stderr:  File "/usr/lib/ceph/mgr/rest/__init__.py", line 2, in <module>
2017-05-27T06:10:46.224 INFO:tasks.ceph.mgr.x.mira104.stderr:    from module import *  # NOQA
2017-05-27T06:10:46.224 INFO:tasks.ceph.mgr.x.mira104.stderr:  File "/usr/lib/ceph/mgr/rest/module.py", line 24, in <module>
2017-05-27T06:10:46.225 INFO:tasks.ceph.mgr.x.mira104.stderr:    from django.core.servers.basehttp import get_internal_wsgi_application
2017-05-27T06:10:46.225 INFO:tasks.ceph.mgr.x.mira104.stderr:ImportError: No module named django.core.servers.basehttp
2017-05-27T06:10:46.225 INFO:tasks.ceph.mgr.x.mira104.stderr:
...
2017-05-27T06:10:48.325 INFO:tasks.ceph.mgr.x.mira104.stderr:*** Caught signal (Segmentation fault) **
2017-05-27T06:10:48.325 INFO:tasks.ceph.mgr.x.mira104.stderr: in thread 7f368d7bb700 thread_name:msgr-worker-2
Actions

Also available in: Atom PDF