Ceph is not reporting the correct version

Bug #2024681 reported by Pedro Vinícius Silva da Cruz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Pedro Vinícius Silva da Cruz

Bug Description

Brief Description
-----------------
Ever since the platform transitioned to Debian, it has been observed that Ceph is reporting the wrong version when running the commands:

ceph --version;
ceph mgr versions;
ceph tell osd.* version.

Severity
--------
Minor

Steps to Reproduce
------------------
Run one of the following commands:

ceph --version;
ceph mgr versions;
ceph tell osd.* version.

Expected Behavior
------------------
Ceph returns a numeric version that matches the output of apt list --installed:

[sysadmin@controller-0 ~(keystone_admin)]$ sudo apt list --installed | grep ceph
Password:

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

ceph-base/bullseye,now 14.2.22-1.stx.5 amd64 [installed]
ceph-common/bullseye,now 14.2.22-1.stx.5 amd64 [installed]
ceph-fuse/bullseye,now 14.2.22-1.stx.5 amd64 [installed]
ceph-manager/bullseye,now 1.0-1.stx.2 amd64 [installed]
ceph-mds/bullseye,now 14.2.22-1.stx.5 amd64 [installed]
ceph-mgr/bullseye,now 14.2.22-1.stx.5 amd64 [installed]
ceph-mon/bullseye,now 14.2.22-1.stx.5 amd64 [installed]
ceph-osd/bullseye,now 14.2.22-1.stx.5 amd64 [installed]
ceph/bullseye,now 14.2.22-1.stx.5 amd64 [installed]

Actual Behavior
----------------
Ceph returns a Development version:

[sysadmin@controller-0 ~(keystone_admin)]$ ceph --version ceph version Development (no_version) nautilus (stable)

[sysadmin@controller-0 ~(keystone_admin)]$ ceph mgr versions
{
    "ceph version Development (no_version) nautilus (stable)": 1
}

[sysadmin@controller-0 ~(keystone_admin)]$ ceph tell osd.* version
{
    "version": "ceph version Development (no_version) nautilus (stable)"
}

Reproducibility
---------------
Reproducible

System Configuration
--------------------
AIO-SX, but should be observable in all configurations.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to integ (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/integ/+/886776

Changed in starlingx:
status: New → In Progress
Changed in starlingx:
status: In Progress → Fix Committed
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
tags: added: stx.9.0 stx.storage
Changed in starlingx:
status: Fix Committed → Fix Released
assignee: nobody → Pedro Vinícius Silva da Cruz (psilvada)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.