Project

General

Profile

Bug #22782

Ceph Luminous : ceph OSDs are not starting with ceph-osd.target.

Added by Nokia ceph-users about 6 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

We have installed ceph(12.2.2).
Setup
*5node cluster
*120 OSDs
*5 monitors
*Erasure coding : 4+1

When ceph-osd.target is restarted not all the OSDs are starting. But it comes up if we start each OSD service one by one or rebooting the node.

steps to Reproduce
1) systemctl stop ceph-osd.target
2) systemctl start ceph-osd.target

Work-around
1)we created a directory 'ceph-osd.target.wants'
2)Created simlinks as below.
cn7.chn6us1c1.cdn /etc/systemd/system/ceph-osd.target.wants# ll
total 0
lrwxrwxrwx 1 root root 41 Jan 23 09:36 -> /usr/lib/systemd/system/ceph-osd@.service
lrwxrwxrwx 1 root root 41 Jan 23 09:36 -> /usr/lib/systemd/system/ceph-osd@.service
lrwxrwxrwx 1 root root 41 Jan 23 09:36 -> /usr/lib/systemd/system/ceph-osd@.service
lrwxrwxrwx 1 root root 41 Jan 23 09:36 -> /usr/lib/systemd/system/ceph-osd@.service
lrwxrwxrwx 1 root root 41 Jan 23 09:36 -> /usr/lib/systemd/system/ceph-osd@.service
lrwxrwxrwx 1 root root 41 Jan 23 09:36 -> /usr/lib/systemd/system/ceph-osd@.service
lrwxrwxrwx 1 root root 41 Jan 23 09:36 -> /usr/lib/systemd/system/ceph-osd@.service

Is it a bug in Luminous?

History

#1 Updated by Nathan Cutler about 6 years ago

@Nokia Please post the output of the following commands:

rpm -qi ceph-osd (or apt-cache show ceph-osd)
cat /etc/os-release

#2 Updated by Nathan Cutler about 6 years ago

  • Status changed from New to Need More Info

#3 Updated by Nokia ceph-users about 6 years ago

cn7.chn6us1c1.cdn ~# rpm -qi ceph-osd
Name : ceph-osd
Epoch : 2
Version : 12.2.2
Release : 0.el7
Architecture: x86_64
Install Date: Fri 02 Feb 2018 08:19:08 AM UTC
Group : Unspecified
Size : 39633295
License : LGPL-2.1 and CC-BY-SA-1.0 and GPL-2.0 and BSL-1.0 and BSD-3-Clause and MIT
Signature : RSA/SHA256, Mon 04 Dec 2017 02:34:13 PM UTC, Key ID e84ac2c0460f3994
Source RPM : ceph-12.2.2-0.el7.src.rpm
Build Date : Thu 30 Nov 2017 04:20:02 PM UTC
Build Host : slave-centos07
Relocations : (not relocatable)
URL : http://ceph.com/
Summary : Ceph Object Storage Daemon
Description :
ceph-osd is the object storage daemon for the Ceph distributed file
system. It is responsible for storing objects on a local file system
and providing access to them over the network.
cn7.chn6us1c1.cdn ~#

cn7.chn6us1c1.cdn ~# cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

cn7.chn6us1c1.cdn ~#

Sorry for the delay

#4 Updated by Sage Weil almost 3 years ago

  • Status changed from Need More Info to Closed

Also available in: Atom PDF