Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 2399618

Summary: [rbd-mirror] rbd command crashes if trying to remove a non-existing group
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Nikhil Ladha <nladha>
Component: RBD-MirrorAssignee: Prasanna Kumar Kalever <prasanna.kalever>
Status: CLOSED ERRATA QA Contact: Chaitanya <cdommeti>
Severity: high Docs Contact:
Priority: unspecified    
Version: 9.0CC: cdommeti, ceph-eng-bugs, cephqe-warriors, idryomov, nladha, prasanna.kalever
Target Milestone: ---   
Target Release: 9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-20.1.0-27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-01-29 07:00:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nikhil Ladha 2025-09-26 05:56:45 UTC
Description of problem:
When trying to remove a non-existing group, rbd command crashes with seg fault error.


Version-Release number of selected component (if applicable):
9.0

How reproducible:
2/2

Steps to Reproduce:
1. Delete a non-existing rbd group


Actual results:
rbd command crashes with seg fault

Expected results:
rbd command should succeed.


Additional info:

Backtrace for ref-:
*** Caught signal (Segmentation fault) **
 in thread 7fad91fa7380 thread_name:rbd
2025-09-25T13:29:52.805+0000 7fad91fa7380 -1 librbd::mirror::GroupGetInfoRequest: 0x558e8ab42f40 send: both group name and group id cannot be empty
 ceph version 20.3.0-2133-g26f57bb6 (26f57bb600e02fa4bfd42190a87905900b2644ec) tentacle (dev - RelWithDebInfo)
 1: /lib64/libc.so.6(+0x3fc30) [0x7fad934e3c30]
 2: (librados::v14_2_0::IoCtx::cct()+0x7) [0x7fad94504a37]
 3: /lib64/librbd.so.1(+0x2b5e88) [0x7fad94865e88]
 4: /lib64/librbd.so.1(+0x1a22e7) [0x7fad947522e7]
 5: (librbd::RBD::group_remove(librados::v14_2_0::IoCtx&, char const*)+0xaa) [0x7fad946afe4a]
 6: (rbd::action::group::execute_remove(boost::program_options::variables_map const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)+0x1b5) [0x558e8a0ee8f5]
 7: (rbd::Shell::execute(int, char const**)+0xbf7) [0x558e8a0cca57]
 8: main()
 9: /lib64/libc.so.6(+0x2a610) [0x7fad934ce610]
 10: __libc_start_main()
 11: _start()
2025-09-25T13:29:52.809+0000 7fad91fa7380 -1 *** Caught signal (Segmentation fault) **
 in thread 7fad91fa7380 thread_name:rbd

Comment 7 errata-xmlrpc 2026-01-29 07:00:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Red Hat Ceph Storage 9.0 Security and Enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2026:1536