-
Bug
-
Resolution: Unresolved
-
Normal
-
odf-4.17
-
None
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: