Bug 1902597
| Summary: | [cephadm]- 5.0 - cephadm version command doesn't show cephadm version | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Preethi <pnataraj> |
| Component: | Cephadm | Assignee: | Juan Miguel Olmo <jolmomar> |
| Status: | CLOSED ERRATA | QA Contact: | Vasishta <vashastr> |
| Severity: | medium | Docs Contact: | Karen Norteman <knortema> |
| Priority: | high | ||
| Version: | 5.0 | CC: | sewagner, tserlin, vereddy |
| Target Milestone: | --- | ||
| Target Release: | 5.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | ceph-16.0.0-7209.el8cp | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-08-30 08:27:12 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
cephadm package ( the rpm that installs the cephadm binary) has the same version as the ceph cluster it installs.
So it is what is shown what you use the command:
[root@magna106 ubuntu]# sudo cephadm version
Using recent ceph image registry.redhat.io/rhceph-alpha/rhceph-5-rhel8:latest
ceph version 16.0.0-7209.el8cp (dc005a4e27b091d75a4fd83f9972f7fcdf9f2e18) pacific (dev)
cephadm orchestrator is a Ceph manager module and it is an intrinsic part of the ceph manager daemon, having the same version of this daemon:
[ceph: root@magna106 /]# ceph versions
{
"mon": {
"ceph version 16.0.0-7209.el8cp (dc005a4e27b091d75a4fd83f9972f7fcdf9f2e18) pacific (dev)": 1
},
"mgr": {
"ceph version 16.0.0-7209.el8cp (dc005a4e27b091d75a4fd83f9972f7fcdf9f2e18) pacific (dev)": 1
},
"osd": {},
"mds": {},
"overall": {
"ceph version 16.0.0-7209.el8cp (dc005a4e27b091d75a4fd83f9972f7fcdf9f2e18) pacific (dev)": 2
}
}
The version reported by the rpm tool ,,, matches the one installed.
[ceph: root@magna106 /]# rpm -qa | grep cephadm
cephadm-16.0.0-7209.el8cp.x86_64
ceph-mgr-cephadm-16.0.0-7209.el8cp.noarch
Preethi: Maybe i do not see what is the problem, could you mind to explain it with more details? Why you need an specific version for cephadm?
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 (Red Hat Ceph Storage 5.0 bug fix and enhancement), 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/RHBA-2021:3294 |
Description of problem:[cephadm]- 5.0 - cephadm version command doesn't show cephadm version. We need to perform rpm cmmand to get the cephadm version installed Version-Release number of selected component (if applicable): How reproducible: [root@magna106 ubuntu]# sudo cephadm version Using recent ceph image registry.redhat.io/rhceph-alpha/rhceph-5-rhel8:latest ceph version 16.0.0-7209.el8cp (dc005a4e27b091d75a4fd83f9972f7fcdf9f2e18) pacific (dev) [root@magna106 ubuntu]# sudo cephadm shell Inferring fsid 2b4fd782-2f41-11eb-af0d-002590fc1bf0 Inferring config /var/lib/ceph/2b4fd782-2f41-11eb-af0d-002590fc1bf0/mon.magna106/config Using recent ceph image registry.redhat.io/rhceph-alpha/rhceph-5-rhel8:latest [ceph: root@magna106 /]# ceph version ceph version 16.0.0-7209.el8cp (dc005a4e27b091d75a4fd83f9972f7fcdf9f2e18) pacific (dev) [ceph: root@magna106 /]# ceph versions { "mon": { "ceph version 16.0.0-7209.el8cp (dc005a4e27b091d75a4fd83f9972f7fcdf9f2e18) pacific (dev)": 1 }, "mgr": { "ceph version 16.0.0-7209.el8cp (dc005a4e27b091d75a4fd83f9972f7fcdf9f2e18) pacific (dev)": 1 }, "osd": {}, "mds": {}, "overall": { "ceph version 16.0.0-7209.el8cp (dc005a4e27b091d75a4fd83f9972f7fcdf9f2e18) pacific (dev)": 2 } } [ceph: root@magna106 /]# rpm -qa | grep cephadm cephadm-16.0.0-7209.el8cp.x86_64 ceph-mgr-cephadm-16.0.0-7209.el8cp.noarch [ceph: root@magna106 /]# Steps to Reproduce: 1. 2. 3. Actual results: Expected results: cephadm version command should display cephadm pkg version along with ceph and container id info Additional info: magna106 root/q