Bug #15235
closedMDS : erroneous error message about reading config file
0%
Description
Hi,
I have a bug on Infernalis with MDS.
When a MDS is failing and going to standby mode (ceph mds fail X), it crashes with :
global_init: error reading config file.
But it never tries to read config file ! Running with strace shows :
[...]
fcntl(13, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
write(10, "\0", 1) = 1
rt_sigaction(SIGINT, {0x561eb327c360, ~[RTMIN RT_1], SA_RESTORER|SA_RESETHAND, 0x7f68356c58d0}, {SIG_DFL, [], 0}, 8) = 0
pipe([15, 16]) = 0
fcntl(15, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
write(10, "\0", 1) = 1
rt_sigaction(SIGTERM, {0x561eb327c360, ~[RTMIN RT_1], SA_RESTORER|SA_RESETHAND, 0x7f68356c58d0}, {SIG_DFL, [], 0}, 8) = 0
futex(0x7f682f2f79d0, FUTEX_WAIT, 5913, NULLglobal_init: error reading config file.
<unfinished ...>
++ exited with 1 ++
No file is opened before error.
MDS is running with ceph user, who has rights to read /etc/ceph/ceph.conf :
- su - ceph -s /bin/bash -c "test -r /etc/ceph/ceph.conf && echo OK"
OK