Created attachment 1822800 [details] Screen recording Description of problem (please be detailed as possible and provide log snippests): When trying to create a external mode storage system from UI, two storage system and two storage cluster got created. $ oc get storagecluster NAME AGE PHASE EXTERNAL CREATED AT VERSION ocs-external-storagecluster 7m32s Ready true 2021-09-13T14:03:54Z 4.9.0 ocs-storagecluster 7m32s Error 2021-09-13T14:03:54Z $ oc get storagesystem NAME STORAGE-SYSTEM-KIND STORAGE-SYSTEM-NAME ocs-external-storagecluster-storagesystem storagecluster.ocs.openshift.io/v1 ocs-external-storagecluster ocs-storagecluster-storagesystem storagecluster.ocs.openshift.io/v1 ocs-storagecluster Version of all relevant components (if applicable): $ oc get csv NAME DISPLAY VERSION REPLACES PHASE noobaa-operator.v4.9.0-132.ci NooBaa Operator 4.9.0-132.ci Succeeded ocs-operator.v4.9.0-132.ci OpenShift Container Storage 4.9.0-132.ci Succeeded odf-operator.v4.9.0-132.ci OpenShift Data Foundation 4.9.0-132.ci Succeeded $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.9.0-0.nightly-2021-09-10-170926 True False 94m Cluster version is 4.9.0-0.nightly-2021-09-10-170926 Does this issue impact your ability to continue to work with the product (please explain in detail what is the user impact)? Yes, two storage cluster and two storage system got created. Is there any workaround available to the best of your knowledge? No 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? Reporting the first occurrence. Can this issue reproduce from the UI? Yes, storage system creation was done from UI If this is a regression, please provide more details to justify this: Steps to Reproduce: 1. Create an external mode storage system by selecting " Connect an external storage platform" and Ceph storage. Actual results: Two storage system got created instead of one. Two storage cluster was also created. Expected results: Only one storage system and storage cluster should be created. Additional info:
Adding regression keyword because external mode cluster creation from UI was working in 4.8
Due to the bug #2003711, the script ceph-external-cluster-details-exporter.py was created from CLI using the command given in https://bugzilla.redhat.com/show_bug.cgi?id=1939497#c10