Bug 2311546 - Object bucket claim creation triggers an admission webhook warning
Summary: Object bucket claim creation triggers an admission webhook warning
Keywords:
Status: NEW
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: management-console
Version: 4.16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Vineet
QA Contact: Prasad Desala
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-11 11:29 UTC by Francois Andrieu
Modified: 2024-10-11 09:10 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)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OCSBZM-9198 0 None None None 2024-09-11 11:31:16 UTC

Description Francois Andrieu 2024-09-11 11:29:29 UTC
Created attachment 2046259 [details]
admission_warning

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

Creating an ObjectBucketClaim from the web console triggers an admission webhook warning:
ObjectBucketClaim test violates policy 299 - "unknown field \"spec.ssl\""


Version of all relevant components (if applicable):
OCP 4.16.2
ODF 4.16.1

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
no. The OBC is still created in the end.

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 every time.

Can this issue reproduce from the UI?
yes

If this is a regression, please provide more details to justify this:
I think it might be introduced by https://github.com/red-hat-storage/odf-console/commit/25afe4006361bb9961b0b60335803b8732ac96b9#diff-1984a0679343adf6a8f0410f75ca08f8ae0f4c140708bdd8583768c6f1552193R330 which set the spec.ssl field to false. But there is no spec.ssl field in the model.


Steps to Reproduce:
1. Navigate to Storage > Object Storage > Object Bucket Claims
2. Create an ObjectBucketClaim (any storage class)



Actual results:
Object bucket is created but the UI shows an admission warning.

Expected results:
Object bucket is created without any error or warning.

Additional info:

Comment 3 Sunil Kumar Acharya 2024-09-17 10:05:02 UTC
Moving the non-blocker BZs out of ODF-4.17.0 as part of Development Freeze.


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