Skip to content

Instantly share code, notes, and snippets.

@uncelvel
Created June 19, 2020 15:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uncelvel/3ccd1c827ff2c0c0ac9b6c83bb9dcd58 to your computer and use it in GitHub Desktop.
Save uncelvel/3ccd1c827ff2c0c0ac9b6c83bb9dcd58 to your computer and use it in GitHub Desktop.
Crash service
root@hn-cas-proxmox1-10-52:/home/canhdx# ceph -s
cluster:
id: 4d2fb85e-d30e-428d-b5ca-43aef79bbc90
health: HEALTH_WARN
1 daemons have recently crashed
services:
mon: 3 daemons, quorum hn-cas-proxmox1-10-52,hn-cas-proxmox2-10-53,hn-cas-proxmox3-10-54 (age 7m)
mgr: hn-cas-proxmox1-10-52(active, since 7m)
osd: 3 osds: 3 up (since 7m), 3 in (since 11m)
data:
pools: 0 pools, 0 pgs
objects: 0 objects, 0 B
usage: 3.0 GiB used, 297 GiB / 300 GiB avail
pgs:
root@hn-cas-proxmox1-10-52:/home/canhdx# ceph health detail
HEALTH_WARN 1 daemons have recently crashed
RECENT_CRASH 1 daemons have recently crashed
mgr.hn-cas-proxmox1-10-52 crashed on host hn-cas-proxmox1-10-52 at 2020-06-19 15:02:54.594191Z
root@hn-cas-proxmox1-10-52:/home/canhdx# ^C
root@hn-cas-proxmox1-10-52:/home/canhdx# ceph crash ls
ID ENTITY NEW
2020-06-19_15:02:54.594191Z_1f9a37fe-a186-4d17-88fe-22cb69173abd mgr.hn-cas-proxmox1-10-52 *
root@hn-cas-proxmox1-10-52:/home/canhdx# ceph crash info 2020-06-19_15:02:54.594191Z_1f9a37fe-a186-4d17-88fe-22cb69173abd
{
"os_version_id": "10",
"utsname_release": "5.4.41-1-pve",
"os_name": "Debian GNU/Linux 10 (buster)",
"entity_name": "mgr.hn-cas-proxmox1-10-52",
"timestamp": "2020-06-19 15:02:54.594191Z",
"process_name": "ceph-mgr",
"utsname_machine": "x86_64",
"utsname_sysname": "Linux",
"os_version": "10 (buster)",
"os_id": "10",
"utsname_version": "#1 SMP PVE 5.4.41-1 (Fri, 15 May 2020 15:06:08 +0200)",
"backtrace": [
"(()+0x12730) [0x7f88ca9f2730]",
"(bool ProtocolV2::append_frame<ceph::msgr::v2::MessageFrame>(ceph::msgr::v2::MessageFrame&)+0x4d9) [0x7f88cbccffc9]",
"(ProtocolV2::write_message(Message*, bool)+0x4d9) [0x7f88cbcb3349]",
"(ProtocolV2::write_event()+0x3a5) [0x7f88cbcc86a5]",
"(AsyncConnection::handle_write()+0x43) [0x7f88cbc89933]",
"(EventCenter::process_events(unsigned int, std::chrono::duration<unsigned long, std::ratio<1l, 1000000000l> >*)+0x135f) [0x7f88cbcdb11f]",
"(()+0x5b9fab) [0x7f88cbce0fab]",
"(()+0xbbb2f) [0x7f88ca699b2f]",
"(()+0x7fa3) [0x7f88ca9e7fa3]",
"(clone()+0x3f) [0x7f88ca3794cf]"
],
"utsname_hostname": "hn-cas-proxmox1-10-52",
"crash_id": "2020-06-19_15:02:54.594191Z_1f9a37fe-a186-4d17-88fe-22cb69173abd",
"ceph_version": "14.2.9"
}
root@hn-cas-proxmox1-10-52:/home/canhdx# ceph crash archive 2020-06-19_15:02:54.594191Z_1f9a37fe-a186-4d17-88fe-22cb69173abd
root@hn-cas-proxmox1-10-52:/home/canhdx# ceph crash archive-all
root@hn-cas-proxmox1-10-52:/home/canhdx# ceph -s
cluster:
id: 4d2fb85e-d30e-428d-b5ca-43aef79bbc90
health: HEALTH_OK
services:
mon: 3 daemons, quorum hn-cas-proxmox1-10-52,hn-cas-proxmox2-10-53,hn-cas-proxmox3-10-54 (age 9m)
mgr: hn-cas-proxmox1-10-52(active, since 9m)
osd: 3 osds: 3 up (since 9m), 3 in (since 13m)
data:
pools: 0 pools, 0 pgs
objects: 0 objects, 0 B
usage: 3.0 GiB used, 297 GiB / 300 GiB avail
pgs:
root@hn-cas-proxmox1-10-52:/home/canhdx#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment