Project

General

Profile

Bug #58138

"ceph nfs cluster info" shows junk data for non-existent cluster

Added by Dhairya Parmar over 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
backport_processed
Backport:
quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
mgr/nfs
Labels (FS):
NFS-cluster, task(easy)
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

BZ: https://bugzilla.redhat.com/show_bug.cgi?id=2149415

Steps to Reproduce(we will use a non-existent cluster named "foo"):
1. enable nfs
2. Try to list out nfs cluster with "ceph nfs cluster ls"
3. confirm that the name "foo" does not exist
4. run "ceph nfs cluster info foo"
5. check if the name shows any info

Actual results:

{
    "foo": {
        "virtual_ip": null,
        "backend": []
    }
}

Expected results:

It should say the cluster does not exist


Related issues

Copied to CephFS - Backport #58348: quincy: "ceph nfs cluster info" shows junk data for non-existent cluster Resolved

History

#1 Updated by Dhairya Parmar over 1 year ago

  • Assignee set to Dhairya Parmar
  • Component(FS) mgr/nfs added
  • Labels (FS) NFS-cluster, task(easy) added

#2 Updated by Dhairya Parmar over 1 year ago

  • Status changed from New to In Progress
  • Pull request ID set to 49172

#3 Updated by Dhairya Parmar over 1 year ago

  • Status changed from In Progress to Fix Under Review

#4 Updated by Venky Shankar over 1 year ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to quincy

#5 Updated by Backport Bot over 1 year ago

  • Copied to Backport #58348: quincy: "ceph nfs cluster info" shows junk data for non-existent cluster added

#6 Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed

#7 Updated by Dhairya Parmar about 1 year ago

  • Status changed from Pending Backport to Resolved

backport merged

Also available in: Atom PDF