Bug 1934000 - Improve error logging for kv-v2 while using encryption with KMS
Summary: Improve error logging for kv-v2 while using encryption with KMS
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Container Storage
Classification: Red Hat Storage
Component: rook
Version: 4.7
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: OCS 4.7.0
Assignee: Sébastien Han
QA Contact: Rachael
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-02 09:21 UTC by Rachael
Modified: 2021-05-19 09:20 UTC (History)
6 users (show)

Fixed In Version: 4.7.0-283.ci
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-19 09:20:01 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift rook pull 183 0 None closed Bug 1934000: ceph: expose vault warnings better 2021-03-04 13:40:55 UTC
Github rook rook pull 7337 0 None open ceph: expose vault warnings better 2021-03-02 09:24:14 UTC
Red Hat Product Errata RHSA-2021:2041 0 None None None 2021-05-19 09:20:29 UTC

Description Rachael 2021-03-02 09:21:29 UTC
Description of problem (please be detailed as possible and provide log
snippets):

When KV secret engine version 2 (kv-v2) is used while deploying encryption with KMS, the deployment fails, since the API calls differ between v1 and v2 and OCS uses v1 as the default, for these calls. Proper error/warning logs 
to indicate the same are missing .

Version of all relevant components (if applicable):
OCS: ocs-operator.v4.7.0-278.ci
OCP: 4.7.0-0.nightly-2021-03-01-085007

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
It is difficult to debug why the deployment failed

Is there any workaround available to the best of your knowledge?
Not that I am aware of

Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?
2

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 a backend path in the vault server with kv-v2
   # vault secrets enable -path=ocs kv-v2
2. Use the above created path to deploy OCS with encryption enabled using KMS


Actual results:
Deployment fails without proper error/warning logs

Expected results:
The logs should have proper warning message for the cause of failure.

Comment 7 errata-xmlrpc 2021-05-19 09:20:01 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 (Moderate: Red Hat OpenShift Container Storage 4.7.0 security, bug fix, and enhancement update), 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/RHSA-2021:2041


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