Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1923897

Summary: [Ceph-adm]: fsid is not validated during accessing the shell through cli
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Ameena Suhani S H <amsyedha>
Component: CephadmAssignee: Daniel Pivonka <dpivonka>
Status: CLOSED ERRATA QA Contact: Vasishta <vashastr>
Severity: low Docs Contact: Karen Norteman <knortema>
Priority: unspecified    
Version: 5.0CC: kdreyer, pnataraj, sangadi, sewagner
Target Milestone: ---   
Target Release: 5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.1.0-1323.el8cp Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-30 08:28:17 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:

Description Ameena Suhani S H 2021-02-02 07:30:30 UTC
Description of problem:
fsid is not considered during accessing the shell through CLI

Version-Release number of selected component (if applicable):
ceph version 16.0.0-7953.el8cp 

How reproducible:
2/2

Steps to Reproduce:
1.perform bootstrap
2.you will get these details at the end of bootstrapping

You can access the Ceph CLI with:

	sudo /sbin/cephadm shell --fsid 123456789 -c /etc/ceph/ceph.conf -k /etc/ceph/ceph.client.admin.keyring


3.modify the command and provide a wrong fsid

4. you will be still able to access cephadm shell

Actual results:
fsid is not validated

Expected results:
fsid should be validated

Comment 2 Daniel Pivonka 2021-03-10 23:10:37 UTC
upstream tracker issue: https://tracker.ceph.com/issues/49724
upstream fix PR: https://github.com/ceph/ceph/pull/40015

Comment 7 Preethi 2021-04-26 11:25:24 UTC
Working fine. Hence, moving to verified.

[root@magna007 ubuntu]# sudo /sbin/cephadm shell --fsid 123 -c /etc/ceph/ceph.conf -k /etc/ceph/ceph.client.admin.keyring
Using recent ceph image registry-proxy.engineering.redhat.com/rh-osbs/rhceph@sha256:55206326df77ef04991a3d4a59621f9dfcff5a8e68c151febc3d5e0e1cfd79e8
ERROR: fsid does not match ceph conf

Comment 9 errata-xmlrpc 2021-08-30 08:28:17 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 (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

Comment 10 bahha677 2025-07-22 11:51:21 UTC Comment hidden (spam)