Bug 2263476 - change the sample yaml in the CSV
Summary: change the sample yaml in the CSV
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: odf-operator
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Nitin Goyal
QA Contact: Elad
URL:
Whiteboard:
Depends On: 2263472
Blocks: 2263473 2263474 2263475
TreeView+ depends on / blocked
 
Reported: 2024-02-09 06:48 UTC by Nitin Goyal
Modified: 2024-02-20 05:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2263472
Environment:
Last Closed: 2024-02-20 05:27:56 UTC
Embargoed:


Attachments (Terms of Use)

Description Nitin Goyal 2024-02-09 06:48:21 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:35 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:42 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"
          }
        }
      ]


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