Description of problem:
Delete a realm and restart gateway. RGW segfaults on RGWRealmWatcher
Version-Release number of selected component (if applicable):
ceph version 10.2.2-29.el7cp (49a48142f2f075dae5a4c47cc8c936e0bba5e35f)
1: (()+0x55388a) [0x7f571a55788a]
2: (()+0xf100) [0x7f5719983100]
3: (std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&)+0x18) [0x7f5719525f38]
4: (()+0xb475a) [0x7f570f7c775a]
5: (()+0xb00d1) [0x7f570f7c30d1]
6: (RGWRealmWatcher::watch_stop()+0x30) [0x7f571a35d730]
7: (RGWRealmWatcher::~RGWRealmWatcher()+0x2b) [0x7f571a35dedb]
8: (main()+0x1e85) [0x7f5723e76fe5]
9: (__libc_start_main()+0xf5) [0x7f5718eb0b15]
10: (()+0x138dd) [0x7f5723e778dd]
The fix, https://github.com/ceph/ceph/pull/10446, was merged to master. I cherry-picked it to ceph-2-rhel-patches.
Verified on ceph-10.2.2-30.
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, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.