Bug 1959508 - OSD count mismatched with ceph orch commands
Summary: OSD count mismatched with ceph orch commands
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 5.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 5.1
Assignee: Adam King
QA Contact: Sunil Kumar Nagaraju
Ranjini M N
URL:
Whiteboard:
: 2055554 (view as bug list)
Depends On:
Blocks: 1959686 2031073
TreeView+ depends on / blocked
 
Reported: 2021-05-11 17:11 UTC by Sunil Kumar Nagaraju
Modified: 2022-04-04 10:21 UTC (History)
11 users (show)

Fixed In Version: ceph-16.2.7-71.el8cp
Doc Type: Bug Fix
Doc Text:
.The `ceph orch ls` command now displays the correct size of the Ceph OSDs service Previously, `ceph orch ls` command would show an incorrect size for Ceph OSD service. For example, an OSD service with five OSDs might show something like `5/8` although eight OSDs were not intended for this service. With this release, the size displays the number of OSDs found for this service. For example, if there are six OSDs for a service, then `cephadm` displays six daemons.
Clone Of:
Environment:
Last Closed: 2022-04-04 10:20:39 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 50928 0 None None None 2021-05-21 12:19:18 UTC
Github ceph ceph pull 43253 0 None Merged cephadm: fix osd size reported in 'orch ls' 2022-02-17 16:00:54 UTC
Github ceph ceph pull 44367 0 None Merged mgr/cephadm: Fix count for OSDs with OSD specs 2022-02-17 16:00:55 UTC
Red Hat Product Errata RHSA-2022:1174 0 None None None 2022-04-04 10:21:04 UTC

Comment 2 Juan Miguel Olmo 2021-05-21 12:31:30 UTC
@mgowri: 
It seems that the problem you reported is a different one, although we can see the consequences in a different place. 
I do not want to include fix for different issues in the same bug, although they seem to share some points. Can you raise a different bug for it? 
Thanks in advance

Comment 3 Sebastian Wagner 2021-05-25 19:05:10 UTC
this is not a blocker

Comment 10 Juan Miguel Olmo 2021-06-21 07:22:16 UTC
Doc text: LGTM

Comment 18 Sebastian Wagner 2022-01-18 13:03:48 UTC
backport pr https://github.com/ceph/ceph/pull/44629

Comment 31 nravinas 2022-03-09 14:46:22 UTC
*** Bug 2055554 has been marked as a duplicate of this bug. ***

Comment 33 errata-xmlrpc 2022-04-04 10:20:39 UTC
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 (Moderate: Red Hat Ceph Storage 5.1 Security, Enhancement, and Bug Fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:1174


Note You need to log in before you can comment on or make changes to this bug.