Bug 2314900 - NooBaa CLI: Attempting to delete a bucketclass or OBC that don't exist doesn't result in an error
Summary: NooBaa CLI: Attempting to delete a bucketclass or OBC that don't exist doesn...
Keywords:
Status: NEW
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: Multi-Cloud Object Gateway
Version: 4.17
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Nimrod Becker
QA Contact: krishnaram Karthick
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-26 13:14 UTC by Sagi Hirshfeld
Modified: 2024-11-04 06:24 UTC (History)
1 user (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OCSBZM-9479 0 None None None 2024-11-04 06:24:35 UTC

Description Sagi Hirshfeld 2024-09-26 13:14:16 UTC
Description of problem (please be detailed as possible and provide log
snippests):
------------------------------------------------------------------------

Using the noobaa CLI to delete a bucketclass that doesn't exist does not result in an error as expected:

```
$ noobaa bucketclass  delete non-existant-bc | grep -i err || echo "No errors :("
No errors :(
```

Version of all relevant components (if applicable):
------------------------------------------------------------------------
ODF: 4.17.0-108
noobaa core: 5.17.0-b1c72eb
noobaa operator: 5.17.0-890badeb954acea07365f204e20f9443970dc560
noobaa cli: 5.17.0


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
------------------------------------------------------------------------
Mildly - the issue here is mainly inconsistency since 

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.
2.
3.


Actual results:


Expected results:


Additional info:


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