Bug 2196174

Summary: [Stretch cluster] UI - Add capacity option is not present on storage systems menu
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Joy John Pinto <jopinto>
Component: management-consoleAssignee: Nishanth Thomas <nthomas>
Status: CLOSED NOTABUG QA Contact: Prasad Desala <tdesala>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.13CC: mashetty, mparida, muagarwa, ocs-bugs, odf-bz-bot, skatiyar
Target Milestone: ---   
Target Release: ---   
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: 2023-05-10 03:18:14 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:

Description Joy John Pinto 2023-05-08 08:54:29 UTC
Created attachment 1963162 [details]
Add capacity option missing

Description of problem (please be detailed as possible and provide log
snippests):
[Stretch cluster] In UI - Add capacity option is not present on storage systems menu

Version of all relevant components (if applicable):
OCP; 4.13.0-0.nightly-2023-05-02-134729
ODF; 4.13.0-181.stable provided by Red Hat

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
Add capacity option is unavailable in UI

Is there any workaround available to the best of your knowledge?


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?


Can this issue reproduce from the UI?
Yes

If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1.Log in to the OpenShift Web Console.
2.Click Operators → Installed Operators.
3.Click OpenShift Data Foundation Operator.
4.Click the Storage Systems tab.
5.Click the Action Menu (⋮) on the far right of the storage system name to extend the options menu.
6.Select Add Capacity from the options menu. [Add Capacity button does not exist]


Actual results:
Add capacity option through UI is not  present

Expected results:
Add capacity option through UI should be present

Additional info:
rook-ceph-operator reconcilation is stopped in test cluster

Comment 2 Travis Nielsen 2023-05-08 14:58:00 UTC
Moving this to the console.

Malay, could you confirm that the OCS operator supports adding capacity to a stretch cluster? 
A stretch cluster needs to expand by four (instead of three) so the stretch cluster will stay balanced. I assume this will happen as the count simply increases on the storageClassDeviceSets during the expansion, thanks for confirming.

Comment 3 Malay Kumar parida 2023-05-08 15:17:51 UTC
I looked through the ocs-operator code base for a bit for storageclassdevicesets & I couldn't see any reason the count couldn't be increased. So I think it can be done.

Comment 4 Malay Kumar parida 2023-05-08 15:18:07 UTC
I looked through the ocs-operator code base for a bit for storageclassdevicesets & I couldn't see any reason the count couldn't be increased. So I think it can be done.

Comment 5 Sanjal Katiyar 2023-05-08 16:53:25 UTC
1. Is console plugin enabled (odf-console) (u can check under Operator details page for ODF operator) ??
2. Under "Home > Overview > Status card", is "Dynamic Plugins" healthy ??

Comment 6 Joy John Pinto 2023-05-09 11:22:37 UTC
(In reply to Sanjal Katiyar from comment #5)
> 1. Is console plugin enabled (odf-console) (u can check under Operator
> details page for ODF operator) ??
> 2. Under "Home > Overview > Status card", is "Dynamic Plugins" healthy ??

1. Console plugin is in Disabled state
2. Dynamic Plugin is in healthy state

Comment 7 Sanjal Katiyar 2023-05-09 11:48:08 UTC
(In reply to Joy John Pinto from comment #6)
> (In reply to Sanjal Katiyar from comment #5)
> > 1. Is console plugin enabled (odf-console) (u can check under Operator
> > details page for ODF operator) ??
> > 2. Under "Home > Overview > Status card", is "Dynamic Plugins" healthy ??
> 
> 1. Console plugin is in Disabled state
> 2. Dynamic Plugin is in healthy state

Please enable it from the UI and then wait for refresh pop up on top right corner... once you will refresh from that pop up (after enabling it, u will be able to see the ODF related UI)...

Comment 9 Mudit Agarwal 2023-05-10 03:18:14 UTC
Please reopen if this is still an issue