Bug 2055542

Summary: provider/consumer : storageconsumer controller reconcile error
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Kesavan <kvellalo>
Component: ocs-operatorAssignee: Jose A. Rivera <jrivera>
Status: CLOSED CURRENTRELEASE QA Contact: suchita <sgatfane>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 4.10CC: madam, muagarwa, nberry, odf-bz-bot, rperiyas, sgatfane, sostapov
Target Milestone: ---   
Target Release: ODF 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.10.0-160 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-21 09:12:46 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 Kesavan 2022-02-17 08:15:42 UTC
Description of problem (please be detailed as possible and provide log
snippests):
storageconsumer reconciliation fails due to the below reasons

1. cephResourcesByName is not initialized
    panic: assignment to entry in nil map
2. cephFilesystemSubVolumeGroup resource is named with camel casing (Should consist of only lower case)


Version of all relevant components (if applicable):


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


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)?


Can this issue reproducible?
Yes


Can this issue reproduce from the UI?
NA

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


Steps to Reproduce:
1. Create storageconsumer 
2. StorageConsumer reconciliation fails
3.


Actual results:
panic: assignment to entry in nil map

Expected results:
Should complete the reconciliation without any errors

Additional info:

Comment 6 suchita 2022-03-02 03:21:51 UTC
Verified it during deployment (on consumer and provider)

Storage consumer-created successfully. 

Tested in version 
ocs-operator.v4.10.0 :

Comment 7 suchita 2022-03-02 03:29:54 UTC
Tested in version 
ocs-operator.v4.10.0-171