Actions
Bug #24615
closederror message for 'unable to find any IP address' not shown
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Hi,
In my ceph.conf I have the option:
cluster network = 10.0.0.0/24
But the host has no IP address in the network 10.0.0.0/24. This is why my OSD doesn't start:
[root@xceph-nd-2 ~]# /usr/bin/ceph-osd -d --debug_osd 10 --cluster ceph --id 4 --setuser ceph --setgroup ceph 2018-06-22 01:55:14.535 7f28914be1c0 0 set uid:gid to 167:167 (ceph:ceph) 2018-06-22 01:55:14.535 7f28914be1c0 0 ceph version 13.2.0 (79a10589f1f80dfe21e8f9794365ed98143071c4) mimic (stable), process (unknown), pid 21853 2018-06-22 01:55:14.535 7f28914be1c0 0 pidfile_write: ignore empty --pid-file 2018-06-22 01:55:14.572 7f28914be1c0 5 object store type is bluestore # Above, the exit code is 1 and the osd doesn't start. But there is no relevent error message. [root@xceph-nd-2 ~]# strace -e trace='!all' /usr/bin/ceph-osd -d --debug_osd 10 --cluster ceph --id 4 --setuser ceph --setgroup ceph 2018-06-22 01:55:24.610 7effcc0b61c0 0 set uid:gid to 167:167 (ceph:ceph) 2018-06-22 01:55:24.610 7effcc0b61c0 0 ceph version 13.2.0 (79a10589f1f80dfe21e8f9794365ed98143071c4) mimic (stable), process (unknown), pid 21866 2018-06-22 01:55:24.611 7effcc0b61c0 0 pidfile_write: ignore empty --pid-file 2018-06-22 01:55:24.659 7effcc0b61c0 5 object store type is bluestore 2018-06-22 01:55:24.662 7effcc0b61c0 -1 unable to find any IP address in networks '10.0.0.0/24' interfaces ''
1. Why the only relevant error message:
unable to find any IP address in networks '10.0.0.0/24' interfaces ''
is displayed only via strace?
2. Is -1 a log level? I thought the log level was N/M where N and M are positive integers.
Regards.
Actions