Actions
Bug #38822
closedmds: there is an assertion when calling Beacon::shutdown()
% Done:
0%
Source:
Community (dev)
Tags:
Backport:
nautilus,mimic,luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
The construction condition is:
when you use systemctl start a non-existing ceph-mds@xx object
Error info:
2019-03-19 20:26:57.000329 7f5b6671b1c0 0 set uid:gid to 167:167 (ceph:ceph) 2019-03-19 20:26:57.000356 7f5b6671b1c0 0 ceph version 12.2.9(9e300932ef8a8916fb3fda78c58691a6ab0f4217) luminous (stable), process ceph-mds, pid 458996 2019-03-19 20:26:57.004965 7f5b6671b1c0 0 pidfile_write: ignore empty --pid-file 2019-03-19 20:26:57.052413 7f5b6671b1c0 -1 auth: unable to find a keyring on /var/lib/ceph/mds/ceph-star/keyring: (2) No such file or directory 2019-03-19 20:26:57.052438 7f5b6671b1c0 -1 monclient: ERROR: missing keyring, cannot use cephx for authentication 2019-03-19 20:26:57.052445 7f5b6671b1c0 -1 mds.star ERROR: failed to get monmap: (2) No such file or directory 2019-03-19 20:26:57.052453 7f5b6671b1c0 1 mds.star suicide! Wanted state up:boot 2019-03-19 20:26:57.055098 7f5b6671b1c0 -1 *** Caught signal (Aborted) ** in thread 7f5b6671b1c0 thread_name:ceph-mds ceph version 12.2.9(9e300932ef8a8916fb3fda78c58691a6ab0f4217) luminous (stable) 1: (()+0x611581) [0x561a08abd581] 2: (()+0xf6d0) [0x7f5b648116d0] 3: (gsignal()+0x37) [0x7f5b63a36277] 4: (abort()+0x148) [0x7f5b63a37968] 5: (__gnu_cxx::__verbose_terminate_handler()+0x165) [0x7f5b643457d5] 6: (()+0x5e746) [0x7f5b64343746] 7: (()+0x5e773) [0x7f5b64343773] 8: (()+0x5e993) [0x7f5b64343993] 9: (std::__throw_system_error(int)+0x90) [0x7f5b64398c70] 10: (std::thread::join()+0x18) [0x7f5b64399e28] 11: (Beacon::shutdown()+0xa8) [0x561a087b1dd8] 12: (MDSDaemon::suicide()+0x241) [0x561a08769f61] 13: (MDSDaemon::init()+0x17be) [0x561a0876e86e] 14: (main()+0xb90) [0x561a087575f0] 15: (__libc_start_main()+0xf5) [0x7f5b63a22445] 16: (()+0x2b8163) [0x561a08764163] NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.
Actions