Bug 2190248

Summary: Network file system tab in the UI is not updating simultaneously when nfs feature is enabled/disabled from CLI
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Amrita Mahapatra <ammahapa>
Component: documentationAssignee: Kusuma <kbg>
Status: ON_QA --- QA Contact: Neha Berry <nberry>
Severity: low Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: asriram, etamir, kbg, odf-bz-bot, olakra, skatiyar
Target Milestone: ---Keywords: FutureFeature
Target Release: ---Flags: kbg: needinfo-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description Amrita Mahapatra 2023-04-27 16:45:41 UTC
Description of problem (please be detailed as possible and provide log
snippests): Network file system tab in the UI is not updating simultaneously when nfs feature is enabled/disabled from CLI.

Its getting updated after refreshing the page or re logged in.


Version of all relevant components (if applicable):
ocs version: 4.13.0-175
OCP version: 4.13.0-0.nightly-2023-04-21-084440

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? refresh the page or re log in


Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)? 1


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:NA


Steps to Reproduce:
1. Enable nfs feature from CLI using patch command. 

oc patch -n openshift-storage storageclusters.ocs.openshift.io ocs-storagecluster --patch '{"spec": {"nfs":{"enable": true}}}' --type merge


2. nfs ganesha server is up and running

3. Check StorageSystems --> StorageSystem details dashboad Network file system tab is displayed or not

4. Disable nfs feature from CLI using patch command.

oc patch -n openshift-storage storageclusters.ocs.openshift.io ocs-storagecluster --patch '{"spec": {"nfs":{"enable": false}}}' --type merge

5. Check StorageSystems --> StorageSystem details dashboad Network file system tab is unavailable or not

Actual results:
Network file system tab in the UI is not updating simultaneously when nfs feature is enabled/disabled from CLI.

Expected results:
Network file system tab in the UI should be updated simultaneously when nfs feature is enabled/disabled from CLI.

Additional info:

Comment 2 Sanjal Katiyar 2023-04-28 05:40:43 UTC
Had a discussion with @etamir and we will fix this in future when we support enabling/disabling from UI. For now if needed this can be documented.

Comment 4 Sanjal Katiyar 2023-04-28 05:44:09 UTC
for now, if enabling/disabling from CLI, we can do a hard refresh to un-hide/hide the NFS dashboard tab.

Comment 6 Sanjal Katiyar 2023-05-02 13:32:13 UTC
Hi @etamir,
Just to confirm, should we move this to the documentation team for 4.13 release ?? or we should keep this for UI as a RFE ??

Comment 9 Sanjal Katiyar 2023-05-08 09:11:03 UTC
Hi @olakra

Comment 10 Sanjal Katiyar 2023-05-08 09:12:15 UTC
(In reply to Sanjal Katiyar from comment #9)
> Hi @olakra

can we document it for 4.13 ??

Comment 14 Sanjal Katiyar 2023-05-19 08:18:13 UTC
I am moving to documentation side, for 4.13 release !
Let me know if any concerns. Thanks.