Project

General

Profile

Actions

Bug #68508

closed
EP ID

Gui block images --> Restart mgr service

Bug #68508: Gui block images --> Restart mgr service

Added by Ernesto Puerta about 2 years ago. Updated about 2 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:

Description

Cloned from #68507.

In the stack trace I see rbd_diff_iterate2. Dashboard relies on that for calculating the actual usage of images.


When I try to open in GUI block devices mgr service is restarting (18.2.4) . I cannot access crash logs after container restart
similar case https://www.spinics.net/lists/ceph-users/msg83372.html

In my situation there was snapshots and in images snapshots show 0 size

13:46:38 hostname bash27409: debug -17> 2024-10-11T11:46:38.401+0000 7f4e2f823640 5 librbd::io::Dispatcher: 0x55ff0ea65000 register_dispatch: dispatch_layer=6

Oct 11 13:46:38 hostname bash27409: debug -16> 2024-10-11T11:46:38.401+0000 7f4e1a47a640 5 asok(0x55ff051a8000) register_command rbd cache flush Images/10f3af9e-1766-4dbf-9cdb-416436027b23 hook 0x55ff13050f00

Oct 11 13:46:38 hostname bash27409: debug -15> 2024-10-11T11:46:38.401+0000 7f4e1a47a640 5 asok(0x55ff051a8000) register_command rbd cache invalidate Images/10f3af9e-1766-4dbf-9cdb-416436027b23 hook 0x55ff13050f00

Oct 11 13:46:38 hostname bash27409: debug -14> 2024-10-11T11:46:38.401+0000 7f4e1a47a640 5 librbd::ImageCtx: 0x55ff11696000: disabling zero-copy writes

Oct 11 13:46:38 hostname bash27409: debug -12> 2024-10-11T11:46:38.401+0000 7f4e1a47a640 5 librbd::cache::WriteAroundObjectDispatch: 0x55ff1253a900 init:

Oct 11 13:46:38 hostname bash27409: debug -11> 2024-10-11T11:46:38.401+0000 7f4e1a47a640 5 librbd::io::Dispatcher: 0x55ff0ea65000 register_dispatch: dispatch_layer=1

Oct 11 13:46:38 hostname bash27409: debug -10> 2024-10-11T11:46:38.405+0000 7f4e1ac7b640 5 librbd::io::SimpleSchedulerObjectDispatch: 0x55ff1304c6c0 SimpleSchedulerObjectDispatch: ictx=0x55ff11696000

Oct 11 13:46:38 hostname bash27409: debug -9> 2024-10-11T11:46:38.405+0000 7f4e1ac7b640 5 librbd::io::SimpleSchedulerObjectDispatch: 0x55ff1304c6c0 init:

Oct 11 13:46:38 hostname bash27409: debug -8> 2024-10-11T11:46:38.405+0000 7f4e1ac7b640 5 librbd::io::Dispatcher: 0x55ff0ea65000 register_dispatch: dispatch_layer=5

Oct 11 13:46:38 hostname bash27409: debug -6> 2024-10-11T11:46:38.405+0000 7f4e1ac7b640 5 librbd::io::Dispatcher: 0x55ff13076090 shut_down_dispatch: dispatch_layer=3

Oct 11 13:46:38 hostname bash27409: debug -5> 2024-10-11T11:46:38.405+0000 7f4e1a47a640 5 librbd::io::WriteBlockImageDispatch: 0x55ff0e6540a0 unblock_writes: 0x55ff11696000, num=0

Oct 11 13:46:38 hostname bash27409: debug -3> 2024-10-11T11:46:38.409+0000 7f4e1a47a640 5 librbd::io::WriteBlockImageDispatch: 0x55ff0e6540a0 unblock_writes: 0x55ff11696000, num=0

Oct 11 13:46:38 hostname bash27409: debug -2> 2024-10-11T11:46:38.409+0000 7f4e2f823640 5 librbd::DiffIterate: fast diff enabled

Oct 11 13:46:38 hostname bash27409: debug -1> 2024-10-11T11:46:38.409+0000 7f4e2f823640 -1 /home/jenkins-build/build/workspace/ceph-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos9/DIST/centos9/MACHINE_SIZE/gigantic/release/18.2.4/rpm/el9/BUILD/ceph-18.2.4/src/librbd/api/DiffIterate.cc: In function 'int librbd::api::DiffIterate<ImageCtxT>::execute() [with ImageCtxT = librbd::ImageCtx]' thread 7f4e2f823640 time 2024-10-11T11:46:38.414077+0000

Oct 11 13:46:38 hostname bash27409: /home/jenkins-build/build/workspace/ceph-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos9/DIST/centos9/MACHINE_SIZE/gigantic/release/18.2.4/rpm/el9/BUILD/ceph-18.2.4/src/librbd/api/DiffIterate.cc: 341: FAILED ceph_assert(object_diff_state.size() == end_object_no - start_object_no)

Oct 11 13:46:38 hostname bash27409: ceph version 18.2.4 (e7ad5345525c7aa95470c26863873b581076945d) reef (stable)

Oct 11 13:46:38 hostname bash27409: 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x12e) [0x7f51910e504d]

Oct 11 13:46:38 hostname bash27409: 4: /lib64/librbd.so.1(+0x51ada7) [0x7f5181bf1da7]

Oct 11 13:46:38 hostname bash27409: 6: /lib64/python3.9/site-packages/rbd.cpython-39-x86_64-linux-gnu.so(+0x630bc) [0x7f5181e7c0bc]

Oct 11 13:46:38 hostname bash27409: 8: PyVectorcall_Call()

Oct 11 13:46:38 hostname bash27409: 9: /lib64/python3.9/site-packages/rbd.cpython-39-x86_64-linux-gnu.so(+0x44d50) [0x7f5181e5dd50]

Oct 11 13:46:38 hostname bash27409: 10: _PyObject_MakeTpCall()

Oct 11 13:46:38 hostname bash27409: 11: /lib64/libpython3.9.so.1.0(+0x125133) [0x7f5191c0a133]

Oct 11 13:46:38 hostname bash27409: 12: _PyEval_EvalFrameDefault()

Oct 11 13:46:38 hostname bash27409: 14: _PyFunction_Vectorcall()

Oct 11 13:46:38 hostname bash27409: 17: /lib64/libpython3.9.so.1.0(+0x11cb73) [0x7f5191c01b73]

Oct 11 13:46:38 hostname bash27409: 18: /lib64/libpython3.9.so.1.0(+0x125031) [0x7f5191c0a031]

Oct 11 13:46:38 hostname bash27409: 19: _PyEval_EvalFrameDefault()

Oct 11 13:46:38 hostname bash27409: 20: /lib64/libpython3.9.so.1.0(+0x11cb73) [0x7f5191c01b73]

Oct 11 13:46:38 hostname bash27409: 21: /lib64/libpython3.9.so.1.0(+0x125031) [0x7f5191c0a031]

Oct 11 13:46:38 hostname bash27409: 22: _PyEval_EvalFrameDefault()

Oct 11 13:46:38 hostname bash27409: 23: /lib64/libpython3.9.so.1.0(+0x10ec35) [0x7f5191bf3c35]

Oct 11 13:46:38 hostname bash27409: 25: /lib64/libpython3.9.so.1.0(+0x125031) [0x7f5191c0a031]

Oct 11 13:46:38 hostname bash27409: 26: _PyEval_EvalFrameDefault()

Oct 11 13:46:38 hostname bash27409: 27: /lib64/libpython3.9.so.1.0(+0x10ec35) [0x7f5191bf3c35]

Oct 11 13:46:38 hostname bash27409: 29: /lib64/libpython3.9.so.1.0(+0x125031) [0x7f5191c0a031]

Oct 11 13:46:38 hostname bash27409: 30: _PyEval_EvalFrameDefault()

Oct 11 13:46:38 hostname bash27409: 31: /lib64/libpython3.9.so.1.0(+0x10ec35) [0x7f5191bf3c35]

Oct 11 13:46:38 hostname bash27409: debug 0> 2024-10-11T11:46:38.413+0000 7f4e2f823640 -1 ** Caught signal (Aborted) *

Oct 11 13:46:38 hostname bash27409: 1: /lib64/libc.so.6(+0x3e6f0) [0x7f5190a8e6f0]

Oct 11 13:46:38 hostname bash27409: 2: /lib64/libc.so.6(+0x8b94c) [0x7f5190adb94c]

Oct 11 13:46:38 hostname bash27409: 3: raise()

Oct 11 13:46:38 hostname bash27409: 4: abort()

Oct 11 13:46:38 hostname bash27409: 5: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x188) [0x7f51910e50a7]

Oct 11 13:46:38 hostname bash27409: 6: /usr/lib64/ceph/libceph-common.so.2(+0x16b20b) [0x7f51910e520b]

Oct 11 13:46:38 hostname bash27409: 7: /lib64/librbd.so.1(+0x193403) [0x7f518186a403]

Oct 11 13:46:38 hostname bash27409: 9: rbd_diff_iterate2()

Oct 11 13:46:38 hostname bash27409: 11: /lib64/libpython3.9.so.1.0(+0x11d7a1) [0x7f5191c027a1]

Oct 11 13:46:38 hostname bash27409: 13: /lib64/python3.9/site-packages/rbd.cpython-39-x86_64-linux-gnu.so(+0x44d50) [0x7f5181e5dd50]

Oct 11 13:46:38 hostname bash27409: 14: _PyObject_MakeTpCall()

Oct 11 13:46:38 hostname bash27409: 16: _PyEval_EvalFrameDefault()

Oct 11 13:46:38 hostname bash27409: 17: /lib64/libpython3.9.so.1.0(+0x10ec35) [0x7f5191bf3c35]

Oct 11 13:46:38 hostname bash27409: 18: _PyFunction_Vectorcall()

Oct 11 13:46:38 hostname bash27409: 19: /lib64/libpython3.9.so.1.0(+0x125031) [0x7f5191c0a031]

Oct 11 13:46:38 hostname bash27409: 20: _PyEval_EvalFrameDefault()

Oct 11 13:46:38 hostname bash27409: 21: /lib64/libpython3.9.so.1.0(+0x11cb73) [0x7f5191c01b73]

Oct 11 13:46:38 hostname bash27409: 22: /lib64/libpython3.9.so.1.0(+0x125031) [0x7f5191c0a031]

Oct 11 13:46:38 hostname bash27409: 24: /lib64/libpython3.9.so.1.0(+0x11cb73) [0x7f5191c01b73]

Oct 11 13:46:38 hostname bash27409: 26: _PyEval_EvalFrameDefault()

Oct 11 13:46:38 hostname bash27409: 27: /lib64/libpython3.9.so.1.0(+0x10ec35) [0x7f5191bf3c35]

Oct 11 13:46:38 hostname bash27409: 29: /lib64/libpython3.9.so.1.0(+0x125031) [0x7f5191c0a031]

Oct 11 13:46:38 hostname bash27409: 30: _PyEval_EvalFrameDefault()

Oct 11 13:46:38 hostname bash27409: 0/ 5 none

Oct 11 13:46:38 hostname bash27409: 0/ 1 context

Oct 11 13:46:38 hostname bash27409: 1/ 5 mds_balancer

Oct 11 13:46:38 hostname bash27409: 1/ 5 mds_log

Oct 11 13:46:38 hostname bash27409: 1/ 5 mds_log_expire

Oct 11 13:46:38 hostname bash27409: 1/ 5 mds_migrator

Oct 11 13:46:38 hostname bash27409: 0/ 1 buffer

Oct 11 13:46:38 hostname bash27409: 0/ 1 timer

Oct 11 13:46:38 hostname bash27409: 0/ 1 objecter

Oct 11 13:46:38 hostname bash27409: 0/ 5 rados

Oct 11 13:46:38 hostname bash27409: 0/ 5 rbd_mirror

Oct 11 13:46:38 hostname bash27409: 0/ 5 rbd_replay

Oct 11 13:46:38 hostname bash27409: 0/ 5 rbd_pwl

Oct 11 13:46:38 hostname bash27409: 0/ 5 journaler

Oct 11 13:46:38 hostname bash27409: 0/ 5 immutable_obj_cache

Oct 11 13:46:38 hostname bash27409: 1/ 5 osd

Oct 11 13:46:38 hostname bash27409: 0/ 5 objclass

Oct 11 13:46:38 hostname bash27409: 0/ 0 ms

Oct 11 13:46:38 hostname bash27409: 0/10 monc

Oct 11 13:46:38 hostname bash27409: 1/ 5 paxos

Oct 11 13:46:38 hostname bash27409: 0/ 5 tp

Oct 11 13:46:38 hostname bash27409: 1/ 5 crypto

Oct 11 13:46:38 hostname bash27409: 1/ 5 heartbeatmap

Oct 11 13:46:38 hostname bash27409: 1/ 5 rgw_sync

Oct 11 13:46:38 hostname bash27409: 1/ 5 rgw_datacache

Oct 11 13:46:38 hostname bash27409: 1/ 5 rgw_flight

Oct 11 13:46:38 hostname bash27409: 1/ 5 asok

Oct 11 13:46:38 hostname bash27409: 1/ 1 throttle

Oct 11 13:46:38 hostname bash27409: 0/ 0 refs

Oct 11 13:46:38 hostname bash27409: 1/ 5 compressor

Oct 11 13:46:38 hostname bash27409: 1/ 5 bluestore

Oct 11 13:46:38 hostname bash27409: 1/ 5 kstore

Oct 11 13:46:38 hostname bash27409: 4/ 5 rocksdb

Oct 11 13:46:38 hostname bash27409: 1/ 5 fuse

Oct 11 13:46:38 hostname bash27409: 2/ 5 mgr

Oct 11 13:46:38 hostname bash27409: 0/ 5 test

Oct 11 13:46:38 hostname bash27409: 0/ 5 seastore

Oct 11 13:46:38 hostname bash27409: 0/ 5 seastore_onode

Oct 11 13:46:38 hostname bash27409: 0/ 5 seastore_odata

Oct 11 13:46:38 hostname bash27409: 0/ 5 seastore_t

Oct 11 13:46:38 hostname bash27409: 0/ 5 seastore_cleaner

Oct 11 13:46:38 hostname bash27409: 0/ 5 seastore_epm

Oct 11 13:46:38 hostname bash27409: 0/ 5 seastore_lba

Oct 11 13:46:38 hostname bash27409: 0/ 5 seastore_fixedkv_tree

Oct 11 13:46:38 hostname bash27409: 0/ 5 seastore_cache

Oct 11 13:46:38 hostname bash27409: 0/ 5 seastore_device

Oct 11 13:46:38 hostname bash27409: 0/ 5 cyanstore

Oct 11 13:46:38 hostname bash27409: 1/ 5 ceph_exporter

Oct 11 13:46:38 hostname bash27409: -2/-2 (syslog threshold)

Oct 11 13:46:38 hostname bash27409: 99/99 (stderr threshold)

Oct 11 13:46:38 hostname bash27409: 7f4e1a47a640 / io_context_pool

Oct 11 13:46:38 hostname bash27409: 7f4e1b47c640 / safe_timer

Oct 11 13:46:38 hostname bash27409: 7f4e1e000640 / ms_dispatch

Oct 11 13:46:38 hostname bash27409: 7f4e1f803640 / io_context_pool

Oct 11 13:46:38 hostname bash27409: 7f4e2b01a640 / mgr-fin

Oct 11 13:46:38 hostname bash27409: 7f4e2c01c640 / dashboard

Oct 11 13:46:38 hostname bash27409: 7f4e2c81d640 / dashboard

Oct 11 13:46:38 hostname bash27409: 7f4e2e020640 / dashboard

Oct 11 13:46:38 hostname bash27409: 7f4e2e821640 / dashboard

Oct 11 13:46:38 hostname bash27409: 7f4e2f022640 / dashboard

Oct 11 13:46:38 hostname bash27409: 7f4e2f823640 / dashboard

Oct 11 13:46:38 hostname bash27409: 7f4e31827640 / mgr-fin

Oct 11 13:46:38 hostname bash27409: 7f4e32829640 / prometheus

Oct 11 13:46:38 hostname bash27409: 7f4e3402c640 / prometheus

Oct 11 13:46:38 hostname bash27409: 7f4e36030640 / prometheus

Oct 11 13:46:38 hostname bash27409: 7f4e36831640 / prometheus

Oct 11 13:46:38 hostname bash27409: 7f4e38034640 / mgr-fin

Oct 11 13:46:38 hostname bash27409: 7f4e3a9b8640 /

Oct 11 13:46:38 hostname bash27409: 7f4e3e1bf640 / mgr-fin

Oct 11 13:46:38 hostname bash27409: 7f4e42b08640 / safe_timer

Oct 11 13:46:38 hostname bash27409: 7f4e43b0a640 / ms_dispatch

Oct 11 13:46:38 hostname bash27409: 7f4e453cd640 / io_context_pool

Oct 11 13:46:38 hostname bash27409: 7f4e45c0e640 / mgr-fin

Oct 11 13:46:38 hostname bash27409: 7f4e47c12640 /

Oct 11 13:46:38 hostname bash27409: 7f4e4a417640 /

Oct 11 13:46:38 hostname bash27409: 7f4e4ac18640 / mgr-fin

Oct 11 13:46:38 hostname bash27409: 7f4e4c41b640 / safe_timer

Oct 11 13:46:38 hostname bash27409: 7f4e4d41d640 / ms_dispatch

Oct 11 13:46:38 hostname bash27409: 7f4e4ec20640 / io_context_pool

Oct 11 13:46:38 hostname bash27409: 7f4e51465640 / prometheus

Oct 11 13:46:38 hostname bash27409: 7f4e5552d640 / pg_autoscaler

Oct 11 13:46:38 hostname bash27409: 7f4e5652f640 /

Oct 11 13:46:38 hostname bash27409: 7f4e58d34640 /

Oct 11 13:46:38 hostname bash27409: 7f4e5a537640 /

Oct 11 13:46:38 hostname bash27409: 7f4e5bd7a640 / devicehealth

Oct 11 13:46:38 hostname bash27409: 7f4e5fd82640 / crash

Oct 11 13:46:38 hostname bash27409: 7f4e60d84640 / cephadm

Oct 11 13:46:38 hostname bash27409: 7f4e62587640 / mgr-fin

Oct 11 13:46:38 hostname bash27409: 7f4e64e0c640 / mgr-fin

Oct 11 13:46:38 hostname bash27409: 7f4e65e0e640 / mgr-fin

Oct 11 13:46:38 hostname bash27409: 7f4e66e10640 / mgr-fin

Oct 11 13:46:38 hostname bash27409: 7f4e67611640 / mgr-fin

Oct 11 13:46:38 hostname bash27409: 7f4e68613640 / mgr-fin

Oct 11 13:46:38 hostname bash27409: 7f4e68e14640 / mgr-fin

Oct 11 13:46:38 hostname bash27409: 7f4e69e96640 / balancer

Oct 11 13:46:38 hostname bash27409: 7f4e6dede640 / cmdfin

Oct 11 13:46:38 hostname bash27409: 7f4e6f6e1640 / ms_dispatch

Oct 11 13:46:38 hostname bash27409: 7f51864f4640 / safe_timer

Oct 11 13:46:38 hostname bash27409: 7f518acfd640 / ms_dispatch

Oct 11 13:46:38 hostname bash27409: 7f518e504640 / msgr-worker-1

Oct 11 13:46:38 hostname bash27409: 7f518ed05640 / msgr-worker-0

Oct 11 13:46:38 hostname bash27409: max_recent 10000

Oct 11 13:46:38 hostname bash27409: max_new 1000

Oct 11 13:46:38 hostname bash27409: log_file /var/lib/ceph/crash/2024-10-11T11:46:38.415833Z_b3978f24-6697-44f5-80dc-4915b5ec144d/log

Oct 11 13:46:38 hostname bash27409: --- end dump of recent events ---


Related issues 3 (2 open — 1 closed)

Is duplicate of rbd - Bug #66418: "rbd du" fails if there are 0 sized imagesResolvedIlya Dryomov

Actions
Blocks mgr - Bug #68507: Gui block images --> Restart mgr serviceNew

Actions
Copied from mgr - Bug #68507: Gui block images --> Restart mgr serviceNew

Actions

EP Updated by Ernesto Puerta about 2 years ago Actions #1

  • Copied from Bug #68507: Gui block images --> Restart mgr service added

EP Updated by Ernesto Puerta about 2 years ago Actions #3

  • Blocks Bug #68507: Gui block images --> Restart mgr service added

ID Updated by Ilya Dryomov about 2 years ago Actions #5

  • Is duplicate of Bug #66418: "rbd du" fails if there are 0 sized images added

ID Updated by Ilya Dryomov about 2 years ago Actions #6

  • Status changed from New to Duplicate
  • Assignee set to Ilya Dryomov
Actions

Also available in: PDF Atom