Description of problem: json-pretty specified as format value in ceph nfs cmd line returns error "Unknown format name: json-pretty" Version-Release number of selected component (if applicable): ceph version : 18.2.0-6 RH build : 7.0 How reproducible: Issue is seen across two weekly regression runs b/w ceph version 18.2.0-6 and 18.2.0-16 Steps to Reproduce: 1.Setup Ceph Cluster and create nfs cluster on it. log snippet: 2023-09-03 08:53:08,470 (cephci.cephfs_nfs.nfs_update_cluster_node_changes) [INFO] - cephci.Regression.cephfs.6.cephci.ceph.ceph.py:1559 - Running command ceph nfs cluster create nfs_ul9di "ceph-regression-z14ggm-jej487-node7 ceph-regression-z14ggm-jej487-node6" on 10.0.206.88 timeout 600 2023-09-03 08:53:11,515 (cephci.cephfs_nfs.nfs_update_cluster_node_changes) [INFO] - cephci.Regression.cephfs.6.cephci.ceph.ceph.py:1592 - Command completed successfully 2.Verify nfs cluster info with format value json-pretty, log snippet: 2023-09-03 08:53:11,516 (cephci.cephfs_nfs.nfs_update_cluster_node_changes) [INFO] - cephci.Regression.cephfs.6.cephci.ceph.ceph.py:1559 - Running command ceph nfs cluster info nfs_ul9di --format json-pretty on 10.0.206.88 timeout 600 Actual results: json-pretty format value is not recognised. 2023-09-03 08:53:11,516 (cephci.cephfs_nfs.nfs_update_cluster_node_changes) [INFO] - cephci.Regression.cephfs.6.cephci.ceph.ceph.py:1559 - Running command ceph nfs cluster info nfs_ul9di --format json-pretty on 10.0.206.88 timeout 600 2023-09-03 08:53:14,567 (cephci.cephfs_nfs.nfs_update_cluster_node_changes) [ERROR] - cephci.Regression.cephfs.6.cephci.ceph.ceph.py:1594 - Error 22 during cmd, timeout 600 2023-09-03 08:53:14,568 (cephci.cephfs_nfs.nfs_update_cluster_node_changes) [ERROR] - cephci.Regression.cephfs.6.cephci.ceph.ceph.py:1595 - Error EINVAL: Unknown format name: json-pretty Expected results: nfs cluster info to be reported in json-pretty format, log snippet from previous passed logs: 2023-06-16 22:19:10,077 (cephci.nfs.nfs_update_cluster_node_changes) [INFO] - cephci.ceph.ceph.py:1558 - Running command ceph nfs cluster info nfs_brgyv --format json-pretty on 10.0.205.192 timeout 600 2023-06-16 22:19:10,560 (cephci.nfs.nfs_update_cluster_node_changes) [INFO] - cephci.ceph.ceph.py:1592 - Command completed successfully Complete passed logs : http://magna002.ceph.redhat.com/cephci-jenkins/cephci-run-6WIXEG/nfs_cluster_host_changes_and_verification_0.log passed logs from Ceph 17.2.6-70, RH build 6.1. Additional info: Ceph component details from passed logs : http://magna002.ceph.redhat.com/cephci-jenkins/cephci-run-6WIXEG/ Ceph component details from failed logs: http://magna002.ceph.redhat.com/cephci-jenkins/test-runs/18.2.0-6/Regression/cephfs/6/tier-2_cephfs_test-nfs/ We consider json-pretty format not being recognised as regression, please let us know if otherwise.
I think this belongs to ceph-mgr not nfs-ganesha, kind of guessing at sub-component - sorry.
Hi Dev team, Any updates on fix for this issue? Thanks, Suma
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 (Critical: Red Hat Ceph Storage 7.1 security, enhancements, 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-2024:3925