Bug 2322178 - [UI] Error message Popup fail to alert on rule: Cannot be used before
Summary: [UI] Error message Popup fail to alert on rule: Cannot be used before
Keywords:
Status: NEW
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: management-console
Version: 4.17
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Nishanth Thomas
QA Contact: Prasad Desala
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-28 18:22 UTC by Daniel Osypenko
Modified: 2024-10-28 18:24 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
all-green-validation (139.13 KB, image/png)
2024-10-28 18:22 UTC, Daniel Osypenko
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OCSBZM-9443 0 None None None 2024-10-28 18:24:09 UTC

Description Daniel Osypenko 2024-10-28 18:22:59 UTC
Created attachment 2054081 [details]
all-green-validation

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

When creating OBC being in different namespace popup doesn't notify user on OBC already being created by one of the reasons:

1. It is allowed to have two OBCs with the same name on different namespaces (not sure if it is considered a good practice and we'd want to allow user to have it?)
2. It is not allowed  to have two OBCs with the same name on different namespaces but we don't track OBCs across all namespaces


Version of all relevant components (if applicable):
4.15 and above.
Last reproduction on ODF 4.17.0-126

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?


Is there any workaround available to the best of your knowledge?


Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?


Can this issue reproducible?


Can this issue reproduce from the UI?


If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1. Create OBC with a name oc-bucket-0a1b5eccb8dc467cb71a3667d45e38 in ns "openshift-storage"

kind: ObjectBucketClaim
metadata:
  name: oc-bucket-0a1b5eccb8dc467cb71a3667d45e38
  namespace: openshift-storage
spec:
  additionalConfig:
    bucketclass: oc-bucketclass-106f2a5e4f7841a18d6a04721
  bucketName: oc-bucket-0a1b5eccb8dc467cb71a3667d45e38
  storageClassName: openshift-storage.noobaa.io
 
2. Create OBC with a same name in a different namespace, for example "default"
3.


Actual results:
"Cannot be used before" - does not appear

Expected results:
"Cannot be used before" - notification becomes red signaling violation or we need to fix msg to "Cannot be used before within same namespace" 

Additional info:


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