Bug 2263474 - change the sample yaml in the CSV
Summary: change the sample yaml in the CSV
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: odf-operator
Version: 4.13
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ODF 4.17.0
Assignee: Nitin Goyal
QA Contact: Shivam Durgbuns
URL:
Whiteboard:
Depends On: 2263472 2263475 2263476
Blocks: 2263473
TreeView+ depends on / blocked
 
Reported: 2024-02-09 06:46 UTC by Nitin Goyal
Modified: 2024-10-28 08:54 UTC (History)
7 users (show)

Fixed In Version: 4.17.0-65
Doc Type: No Doc Update
Doc Text:
Clone Of: 2263472
Environment:
Last Closed: 2024-09-05 16:17:02 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage odf-operator pull 373 0 None open Bug 2263474:[release-4.13] bundle: Modify the name and reference of the sample storagesystem 2024-07-25 13:09:29 UTC

Description Nitin Goyal 2024-02-09 06:46:16 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:24 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:32 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 6 Sunil Kumar Acharya 2024-07-25 12:43:07 UTC
Please backport the fix to ODF-4.13 and update the RDT flag/text appropriately.


Note You need to log in before you can comment on or make changes to this bug.