Bug 1952379

Summary: [CephFS-NFS] - Regression - command for detailed summary of a nfs export is failing
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Hemanth Kumar <hyelloji>
Component: CephFSAssignee: Patrick Donnelly <pdonnell>
Status: CLOSED ERRATA QA Contact: Hemanth Kumar <hyelloji>
Severity: high Docs Contact:
Priority: high    
Version: 5.0CC: ceph-eng-bugs, kdreyer, pdonnell, sweil, tserlin
Target Milestone: ---Keywords: Regression
Target Release: 5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.0-63.el8cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-30 08:29:54 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:
Bug Depends On: 1951969    
Bug Blocks:    

Description Hemanth Kumar 2021-04-22 07:40:29 UTC
Description of problem:
-----------------------

detailed summary of nfs export is not working on latest build

[ceph: root@magna021 ~]# ceph nfs export ls cephnfs    
[
  "/nfspathec123",
  "/nfsec",
  "/pathec",
  "/path",
  "/pathclone",
  "/nfspathec",
  "/nfspath",
  "/nfs"
]

[ceph: root@magna021 ~]# ceph nfs export ls cephnfs --detailed
Error EPERM: 'int' object is not iterable


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


This a regression bug which would have caused due to the typeerror in the code.
This was working in earlier builds.

Comment 3 Hemanth Kumar 2021-04-27 10:14:20 UTC
will check again once the fix is available in downstream

Comment 4 Ken Dreyer (Red Hat) 2021-04-27 15:33:31 UTC
Is this blocked by bug 1951969?

Comment 5 Patrick Donnelly 2021-04-27 21:07:21 UTC
(In reply to Ken Dreyer (Red Hat) from comment #4)
> Is this blocked by bug 1951969?

Yes, thanks Ken.

Comment 7 Varsha 2021-05-28 04:13:42 UTC
Hi Hemant, the fixing patch needs to be cherry picked. Mostly, Patrick will be doing it next week.

Comment 14 errata-xmlrpc 2021-08-30 08:29:54 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