Bug 2149415 - [cephfs][nfs] "ceph nfs cluster info" shows does not exist cluster
Summary: [cephfs][nfs] "ceph nfs cluster info" shows does not exist cluster
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
Version: 6.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 6.1
Assignee: Dhairya Parmar
QA Contact: Hemanth Kumar
Akash Raj
URL:
Whiteboard:
Depends On:
Blocks: 2192813
TreeView+ depends on / blocked
 
Reported: 2022-11-29 20:25 UTC by julpark
Modified: 2023-06-15 09:17 UTC (History)
7 users (show)

Fixed In Version: ceph-17.2.6-2.el9cp
Doc Type: Bug Fix
Doc Text:
.Non-existing cluster no longer shows up when running the `ceph nfs cluster info _CLUSTER_ID_` command. Previously, existence of a cluster would not be checked when `ceph nfs cluster info _CLUSTER_ID_` command was run, due to which, information of the non-existing cluster would be shown, such as `virtual_ip` and `backend`, null and empty respectively. With this fix, the`ceph nfs cluster info _CLUSTER_ID_` command checks the cluster existence and an _Error ENOENT: cluster does not exist_ is thrown in case a non-existing cluster is queried.
Clone Of:
Environment:
Last Closed: 2023-06-15 09:16:25 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-5707 0 None None None 2022-11-29 20:31:41 UTC
Red Hat Product Errata RHSA-2023:3623 0 None None None 2023-06-15 09:17:10 UTC

Description julpark 2022-11-29 20:25:05 UTC
Description of problem:

"ceph nfs cluster info" shows does not exist cluster

Version-Release number of selected component (if applicable):

ceph version 17.2.5-14.el9cp

How reproducible:


Steps to Reproduce:
1.enable nfs
2.Try to list out nfs cluster with "ceph nfs cluster ls"
3.confirm that the name does not exist
4.ceph nfs cluster info does_not_exist
5.check if the name shows any info

Actual results:

[root@ceph-julpark-enhoo2-node7 cephuser]# ceph nfs cluster info does_not_exist
{
    "does_not_exist": {
        "virtual_ip": null,
        "backend": []
    }
}

Expected results:

It should say the cluster does not exist

Additional info:

ceph version 17.2.5-14.el9cp

Comment 20 errata-xmlrpc 2023-06-15 09:16:25 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 6.1 security 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-2023:3623


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