Description of problem (please be detailed as possible and provide log snippests): Nfs server health is always displaying as "Degraded" with an error sign without any more details under Network file system tab available under “Storage > Data Foundation > Overview when nfs feature is enabled. Version of all relevant components (if applicable): OCP: 4.13.0-0.nightly-2023-05-11-225357 ODF: 4.13.0-199 Does this issue impact your ability to continue to work with the product (please explain in detail what is the user impact)? No Is there any workaround available to the best of your knowledge? No Rate from 1 - 5 the complexity of the scenario you performed that caused this bug (1 - very simple, 5 - very complex)? 2 Can this issue reproducible? Yes Can this issue reproduce from the UI? Yes If this is a regression, please provide more details to justify this: No Steps to Reproduce: 1. Enable nfs feature from CLI using patch command or from UI while creating storagesystem. oc patch -n openshift-storage storageclusters.ocs.openshift.io ocs-storagecluster --patch '{"spec": {"nfs":{"enable": true}}}' --type merge oc patch cm rook-ceph-operator-config -n openshift-storage -p $'data:\n "ROOK_CSI_ENABLE_NFS": "true"' 2. nfs ganesha server is up and running 3. Check StorageSystems --> StorageSystem details dashboad Network file system tab is displayed with nfs server details Actual results: Nfs server health is always displaying as "Degraded" with an error sign without any more details under Network file system tab Expected results: Appropriate details of nfs server health should be displayed. Additional info:
initially it was discussed that a particular metric "worker_threads" will be used to determine the health of the NFS server. But, after discussion with nfs-monitoring team it was noticed that this metric was never part of our product hence never pushed by server as well. So, now we need to update "status" on the dasbboard based on nfs pods health !
upstream PR: https://github.com/red-hat-storage/odf-console/pull/852
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 OpenShift Data Foundation 4.13.0 enhancement 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/RHBA-2023:3742