I updated my 3 node cluster each to the given kernel ....and while I
don't see the null reference above, I still am not able to write a file
to cephfs and it appears as if my MDS crashes after I write:
ceph version 19.2.0 (16063ff2022298c9300e49a547a16ffda59baf13) squid (stable)
1: /lib/x86_64-linux-gnu/libc.so.6(+0x45330) [0x79fab5e45330]
2: pthread_kill()
3: gsignal()
4: abort()
5: /lib/x86_64-linux-gnu/libstdc++.so.6(+0xa5ff5) [0x79fab62a5ff5]
6: /lib/x86_64-linux-gnu/libstdc++.so.6(+0xbb0da) [0x79fab62bb0da]
7: (std::unexpected()+0) [0x79fab62a5a55]
8: /lib/x86_64-linux-gnu/libstdc++.so.6(+0xbb391) [0x79fab62bb391]
9: (ceph::buffer::v15_2_0::list::iterator_impl<true>::copy(unsigned int,
char*)+0xc4) [0x79fab6c933e4]
10: (void
decode_noshare<mempool::mds_co::pool_allocator>(std::map<std::__cxx11::basic_string<char,
std::char_traits<char>, mempool::mds_co::pool_allocator<char> >,
ceph::buffer::v15_2_0::ptr, std::less<std::__cxx11::basic_string<char,
std::char_traits<char>, mempool::mds_co::pool_allocator<char> > >,
mempool::mds_co::pool_allocator<std::pair<std::__cxx11::basic_string<char,
std::char_traits<char>, mempool::mds_co::pool_allocator<char> > const,
ceph::buffer::v15_2_0::ptr> > >&,
ceph::buffer::v15_2_0::list::iterator_impl<true>&)+0xdc) [0x62254b5c6c1c]
11: (Server::prepare_new_inode(boost::intrusive_ptr<MDRequestImpl> const&,
CDir*, inodeno_t, unsigned int, file_layout_t const*)+0xfed) [0x62254b5ded1d]
12: (Server::handle_client_openc(boost::intrusive_ptr<MDRequestImpl>
const&)+0x58f) [0x62254b61a54f]
13: (MDSContext::complete(int)+0x60) [0x62254b8cc860]
14: (void finish_contexts<std::vector<MDSContext*, std::allocator<MDSContext*>
> >(ceph::common::CephContext*, std::vector<MDSContext*,
std::allocator<MDSContext*> >&, int)+0x8f) [0x62254b52958f]
15: (Locker::eval(CInode*, int, bool)+0x444) [0x62254b78a734]
16: (Locker::handle_client_caps(boost::intrusive_ptr<MClientCaps const>
const&)+0x1d3c) [0x62254b797afc]
17: (Locker::dispatch(boost::intrusive_ptr<Message const> const&)+0xdd)
[0x62254b79981d]
18: (MDSRank::_dispatch(boost::intrusive_ptr<Message const> const&,
bool)+0x603) [0x62254b539c63]
19: (MDSRankDispatcher::ms_dispatch(boost::intrusive_ptr<Message const>
const&)+0x54) [0x62254b53a554]
20: (MDSDaemon::ms_dispatch2(boost::intrusive_ptr<Message> const&)+0x13c)
[0x62254b52195c]
21: (Messenger::ms_deliver_dispatch(boost::intrusive_ptr<Message>
const&)+0x118) [0x79fab6b4a788]
22: (DispatchQueue::entry()+0x6c9) [0x79fab6b48929]
23: (DispatchQueue::DispatchThread::entry()+0x11) [0x79fab6c18f61]
24: /lib/x86_64-linux-gnu/libc.so.6(+0x9caa4) [0x79fab5e9caa4]
25: /lib/x86_64-linux-gnu/libc.so.6(+0x129c3c) [0x79fab5f29c3c]
NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to
interpret this.
-3> 2025-07-10T02:10:25.047+0000 79fab0ff66c0 10 log_client handle_log_ack
log(last 1)
-2> 2025-07-10T02:10:25.047+0000 79fab0ff66c0 10 log_client logged
2025-07-10T02:10:23.036649+0000 mds.ceph3 (mds.0) 1 : cluster [DBG] reconnect
by client.444190 10.244.132.136:0/4274967196 after 0.00300005
-1> 2025-07-10T02:10:25.050+0000 79faabfec6c0 4 mds.0.server
handle_client_request client_request(client.444190:2 create owner_uid=0,
owner_gid=0 #0x1/test 2025-07-10T02:10:17.516922+0000 RETRY=2 caller_uid=0,
caller_gid=0{0,})
0> 2025-07-10T02:10:25.054+0000 79fab0ff66c0 -1 *** Caught signal
(Aborted) **
If I turn selinux off (selinux=0 in cmdline) I'm able to write to the
cluster without issue.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2115447
Title:
Ubuntu 24.04.2: NULL pointer dereference with Ceph and selinux
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2115447/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs