Bug 2003729 - [UI][External mode] Two storage system and storage cluster got created from UI
Summary: [UI][External mode] Two storage system and storage cluster got created from UI
Keywords:
Status: CLOSED DUPLICATE of bug 2002763
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: management-console
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Afreen
QA Contact: Elad
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-13 14:19 UTC by Jilju Joy
Modified: 2023-08-09 16:46 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-15 07:18:11 UTC
Embargoed:


Attachments (Terms of Use)
Screen recording (9.47 MB, video/webm)
2021-09-13 14:19 UTC, Jilju Joy
no flags Details

Description Jilju Joy 2021-09-13 14:19:50 UTC
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:

Comment 2 Jilju Joy 2021-09-13 14:22:08 UTC
Adding regression keyword because external mode cluster creation from UI was working in 4.8

Comment 3 Jilju Joy 2021-09-13 14:27:29 UTC
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


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