Bug 2263473

Summary: change the sample yaml in the CSV
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Nitin Goyal <nigoyal>
Component: odf-operatorAssignee: Nitin Goyal <nigoyal>
Status: CLOSED ERRATA QA Contact: Shivam Durgbuns <sdurgbun>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.14CC: asriram, bkunal, ebenahar, kramdoss, muagarwa, odf-bz-bot, sheggodu
Target Milestone: ---   
Target Release: ODF 4.17.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.14.10-2 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 2263472 Environment:
Last Closed: 2024-09-05 05:41:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2263472, 2263474, 2263475, 2263476    
Bug Blocks:    

Description Nitin Goyal 2024-02-09 06:44:43 UTC
+++ This bug was initially created as a clone of Bug #2263472 +++

Description of problem (please be as detailed as possible and provide log snippets):

In certain instances, customers unintentionally create two storage systems to the same storagecluster. This becomes problematic when attempting to delete one storagesystem, as it triggers the deletion of the associated storagecluster. By changing the name and reference, we aim to prevent this issue from occurring.

Additional info:
https://bugzilla.redhat.com/show_bug.cgi?id=2254343
https://bugzilla.redhat.com/show_bug.cgi?id=2263441

Comment 2 Nitin Goyal 2024-02-09 07:39:20 UTC
efforts to verify it will be quite simple, We just need to look at the CSV yaml output

Comment 3 Nitin Goyal 2024-02-09 07:42:28 UTC
We need to look for the below annotation in the csv

annotations:
    alm-examples: |-
      [
        {
          "apiVersion": "odf.openshift.io/v1alpha1",
          "kind": "StorageSystem",
          "metadata": {
            "name": "my-flashsystemcluster-storagesystem",
            "namespace": "openshift-storage"
          },
          "spec": {
            "kind": "flashsystemcluster.odf.ibm.com/v1alpha1",
            "name": "my-flashsystemcluster",
            "namespace": "openshift-storage"
          }
        },
        {
          "apiVersion": "odf.openshift.io/v1alpha1",
          "kind": "StorageSystem",
          "metadata": {
            "name": "my-storagecluster-storagesystem",
            "namespace": "openshift-storage"
          },
          "spec": {
            "kind": "storagecluster.ocs.openshift.io/v1",
            "name": "my-storagecluster",
            "namespace": "openshift-storage"
          }
        }
      ]

Comment 5 Sunil Kumar Acharya 2024-07-25 12:41:49 UTC
Please backport the fix to ODF-4.14 and update the RDT flag/text appropriately.

Comment 16 errata-xmlrpc 2024-09-05 05:41:39 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 (Red Hat OpenShift Data Foundation 4.14.10 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-2024:6398