Bug 1807941 - creating pv backing store with wrong parameters creates an unusable object in noobaa
Summary: creating pv backing store with wrong parameters creates an unusable object in...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Container Storage
Classification: Red Hat Storage
Component: Multi-Cloud Object Gateway
Version: 4.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: OCS 4.3.0
Assignee: Evgeniy Belyi
QA Contact: aberner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-27 14:21 UTC by aberner
Modified: 2020-04-14 09:48 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-14 09:45:56 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github noobaa noobaa-operator pull 253 0 None closed Check valid PV size 2020-06-01 05:49:23 UTC
Red Hat Product Errata RHBA-2020:1437 0 None None None 2020-04-14 09:48:16 UTC

Description aberner 2020-02-27 14:21:15 UTC
Description of problem (please be detailed as possible and provide log
snippests):
when using "oc create" to create pv-pool based backing store (with a yaml file)
the system doesnt validate the correctness of the yaml in field storage
(spec:pvPool:resources:requests:storage) and creates an unusable object.
object state in ocs dashboard is "Ready" and in Noobaa UI is initializing

Version of all relevant components (if applicable):
ocp: 4.3 ocs: 4.3 noobaa: 5.3

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


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

Can this issue reproduce from the UI?
yes

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

Steps to Reproduce:
1. create yaml with field "storage" set to a number without "Gi"
2. enter yaml to ocs through cli or ui


Actual results:
ocs object "Ready" noobaa resource "Initializing"

Expected results:
do not allow creation.

Additional info:

Comment 7 aberner 2020-03-11 09:22:55 UTC
Verified

Comment 10 errata-xmlrpc 2020-04-14 09:45:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:1437


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