Bug 2281722

Summary: [UI][Provider mode] StorageCluster fields missed when created from UI. cephFilesystems. disableSnapshotClass and disableStorageClass
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Daniel Osypenko <dosypenk>
Component: management-consoleAssignee: Bipul Adhikari <badhikar>
Status: CLOSED ERRATA QA Contact: Filip Balák <fbalak>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 4.16CC: badhikar, fbalak, nberry, odf-bz-bot
Target Milestone: ---   
Target Release: ODF 4.16.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: isf-provider
Fixed In Version: 4.16.0-108 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-17 13:23:17 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 Daniel Osypenko 2024-05-20 12:45:59 UTC
Description of problem (please be detailed as possible and provide log
snippests):

When creating StorageSystem, the StorageCluster fields are being missed 

cephFilesystems:       
  disableSnapshotClass: true
  disableStorageClass: true 

Upon investigation it appears the UI propagates wrong case in field name
correct: managedResources.cephFilesystems
incorrect: managedResources.cephFileSystems

Version of all relevant components (if applicable):
ODF 4.16.0-101

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
yes

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

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:
new feature

Steps to Reproduce:
1. Install Provider mode storage when setting up Storage System with ODF
2.
3.


Actual results:
managedResources.cephFileSystems

Expected results:
managedResources.cephFilesystems.

The fields bellow should exist 
cephFilesystems:       
  disableSnapshotClass: true
  disableStorageClass: true

Additional info:
link to Slack thread: https://ibm-systems-storage.slack.com/archives/C06EPQRBM36/p1715927336375669

Comment 10 Bipul Adhikari 2024-05-22 07:34:41 UTC
Fixes have merged today. New builds henceforth should have the fix.

Comment 15 errata-xmlrpc 2024-07-17 13:23:17 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 (Important: Red Hat OpenShift Data Foundation 4.16.0 security, enhancement & 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:4591