Project

General

Profile

Actions

Bug #21891

open

Bug #38094: mgr: crash list

ceph mgr stopping result in segfault

Added by Марк Коренберг over 6 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
ceph-mgr
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

root@node2:~# /usr/bin/ceph-mgr -d --cluster ceph --id node2 --setuser ceph --setgroup ceph
2017-10-23 01:01:27.287102 7f0a611a1540  0 set uid:gid to 64045:64045 (ceph:ceph)
2017-10-23 01:01:27.287118 7f0a611a1540  0 ceph version 12.2.1 (3e7492b9ada8bdc9a5cd0feafd42fbca27f9c38e) luminous (stable), process (unknown), pid 4070
2017-10-23 01:01:27.289131 7f0a611a1540  0 pidfile_write: ignore empty --pid-file
2017-10-23 01:01:27.295677 7f0a611a1540  1 mgr send_beacon standby
2017-10-23 01:01:29.296087 7f0a5476e700  1 mgr send_beacon standby
2017-10-23 01:01:31.296464 7f0a5476e700  1 mgr send_beacon standby
2017-10-23 01:01:33.296791 7f0a5476e700  1 mgr send_beacon standby
2017-10-23 01:01:35.297149 7f0a5476e700  1 mgr send_beacon standby
2017-10-23 01:01:37.297501 7f0a5476e700  1 mgr send_beacon standby
2017-10-23 01:01:39.297849 7f0a5476e700  1 mgr send_beacon standby
2017-10-23 01:01:41.298163 7f0a5476e700  1 mgr send_beacon standby
2017-10-23 01:01:43.298521 7f0a5476e700  1 mgr send_beacon standby
2017-10-23 01:01:43.385259 7f0a57774700  1 mgr handle_mgr_map Activating!
2017-10-23 01:01:43.385458 7f0a57774700  1 mgr handle_mgr_map I am now activating
2017-10-23 01:01:43.403458 7f0a5376c700  1 mgr init Loading python module 'dashboard'
2017-10-23 01:01:43.542354 7f0a5376c700  1 mgr load Constructed class from module: dashboard
2017-10-23 01:01:43.542366 7f0a5376c700  1 mgr init Loading python module 'status'
2017-10-23 01:01:43.573417 7f0a5376c700  1 mgr load Constructed class from module: status
2017-10-23 01:01:43.573441 7f0a5376c700  1 mgr start Creating threads for 2 modules
2017-10-23 01:01:43.573534 7f0a5376c700  1 mgr send_beacon active
[23/Oct/2017:01:01:43] ENGINE Bus STARTING
[23/Oct/2017:01:01:43] ENGINE Started monitor thread '_TimeoutMonitor'.
[23/Oct/2017:01:01:43] ENGINE Serving on http://:::7000
[23/Oct/2017:01:01:43] ENGINE Bus STARTED
2017-10-23 01:01:45.298878 7f0a5476e700  1 mgr send_beacon active
2017-10-23 01:01:47.299386 7f0a5476e700  1 mgr send_beacon active
2017-10-23 01:01:49.300138 7f0a5476e700  1 mgr send_beacon active
2017-10-23 01:01:51.300620 7f0a5476e700  1 mgr send_beacon active
[23/Oct/2017:01:01:52] HTTP Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line 670, in respond
    response.body = self.handler()
  File "/usr/lib/python2.7/dist-packages/cherrypy/lib/encoding.py", line 217, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/cherrypy/_cpdispatch.py", line 61, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/lib/ceph/mgr/dashboard/module.py", line 888, in perf
    content_data=json.dumps(self._osd(osd_id), indent=2)
  File "/usr/lib/ceph/mgr/dashboard/module.py", line 870, in _osd
    assert r == 0
AssertionError

[23/Oct/2017:01:01:52] HTTP 
Request Headers:
  CONNECTION: keep-alive
  HOST: 10.80.20.100:7000
  UPGRADE-INSECURE-REQUESTS: 1
  Remote-Addr: ::ffff:10.130.0.21
  ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
  USER-AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36
  ACCEPT-LANGUAGE: ru,en-US;q=0.8,en;q=0.6
  ACCEPT-ENCODING: gzip, deflate, sdch
::ffff:10.130.0.21 - - [23/Oct/2017:01:01:52] "GET /osd/perf/6 HTTP/1.1" 500 1481 "" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36" 
2017-10-23 01:01:53.302373 7f0a5476e700  1 mgr send_beacon active
::ffff:10.130.0.21 - - [23/Oct/2017:01:01:53] "GET /favicon.ico HTTP/1.1" 200 1406 "http://10.80.20.100:7000/osd/perf/6" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36" 
2017-10-23 01:01:55.302842 7f0a5476e700  1 mgr send_beacon active
2017-10-23 01:01:57.304530 7f0a5476e700  1 mgr send_beacon active

^C

2017-10-23 01:01:58.210228 7f0a53f6d700 -1 Fail to open '/proc/0/cmdline' error = (2) No such file or directory
2017-10-23 01:01:58.210246 7f0a53f6d700 -1 received  signal: Interrupt from  PID: 0 task name: <unknown> UID: 0
2017-10-23 01:01:58.210248 7f0a53f6d700 -1 mgr handle_signal *** Got signal Interrupt ***
[23/Oct/2017:01:01:58] ENGINE Bus STOPPING

[23/Oct/2017:01:02:03] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('::', 7000)) shut down
[23/Oct/2017:01:02:03] ENGINE Stopped thread '_TimeoutMonitor'.
[23/Oct/2017:01:02:03] ENGINE Bus STOPPED
[23/Oct/2017:01:02:03] ENGINE Bus EXITING
[23/Oct/2017:01:02:03] ENGINE Bus EXITED
[23/Oct/2017:01:02:03] ENGINE Waiting for child threads to terminate...
*** Caught signal (Segmentation fault) **
 in thread 7f0a611a1540 thread_name:ceph-mgr
 ceph version 12.2.1 (3e7492b9ada8bdc9a5cd0feafd42fbca27f9c38e) luminous (stable)
 1: (()+0x3b4a84) [0x55cf56507a84]
 2: (()+0x110c0) [0x7f0a5ecd60c0]
 3: (std::vector<Option, std::allocator<Option> >::~vector()+0x1b8) [0x55cf567370c8]
 4: (()+0x35910) [0x7f0a5dc91910]
 5: (()+0x3596a) [0x7f0a5dc9196a]
 6: (__libc_start_main()+0xf8) [0x7f0a5dc7c2b8]
 7: (_start()+0x2a) [0x55cf5636216a]
Segmentation fault
Actions

Also available in: Atom PDF