Bug 2043572

Summary: [UI] Deleting namespace store in UI
 : secrets remains
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Marc Schindler <mschindl>
Component: management-consoleAssignee: Debjyoti Pandit <dpandit>
Status: CLOSED CURRENTRELEASE QA Contact: Vishakha Kathole <vkathole>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.9CC: dpandit, jefbrown, mmuench, muagarwa, nthomas, ocs-bugs, odf-bz-bot, sheggodu, skatiyar, tdesala, vbadrina
Target Milestone: ---   
Target Release: ODF 4.12.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 4.12.0-74 Doc Type: Bug Fix
Doc Text:
Cause: While creating NSS/BSS UI creates (if opted) a Secret as well using the name of the NSS/BSS under creation. Consequence: If NSS/BSS is deleted after creation and then created again with same name then when UI will try to create a Secret using this NSS/BSS name it will face an error as Secret will already be existing with that name (did not get deleted along with NSS/BSS deletion). Fix: If Secret already exists, along with NSS/BSS name random character will get added to the string which then will be used as a Secret name while its creation. Result: No more error on UI. Note: NSS >> NameSpaceStore BSS >> BackingStore
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-08 14:06:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
UI error and workaround via noobaa cli none

Description Marc Schindler 2022-01-21 14:29:11 UTC
Created attachment 1852517 [details]
UI error and workaround via noobaa cli

Deleting namespace store in the UI


Issue: secrets not deleted in the background
Improvement: Ask if it can be delete or not would improve UX


Is there any workaround available to the best of your knowledge?
Yes, delete secret manually or delete namespace via noobaa cli

Picture attached, which shows on the left corner noobaa cli and on the right corner the UI error message after creating the namespace store with the same name as before again.

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?
Yes

Can this issue reproduce from the UI?
Yes

Comment 23 Sanjal Katiyar 2023-01-09 15:51:30 UTC
added doc text...