Bug 1974745

Summary: Proper logs are not available for encryption-kms-get-kek container in the OSD pods
Product: [Red Hat Storage] Red Hat OpenShift Container Storage Reporter: Rachael <rgeorge>
Component: rookAssignee: Sébastien Han <shan>
Status: VERIFIED --- QA Contact: Shay Rozen <srozen>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.8CC: muagarwa, nberry, tdesala
Target Milestone: ---Keywords: Regression
Target Release: OCS 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.8.0-432.ci Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1974748 (view as bug list) Environment:
Last Closed: 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:
Bug Depends On:    
Bug Blocks: 1974748    

Description Rachael 2021-06-22 12:38:42 UTC
Description of problem (please be detailed as possible and provide log
snippets):

In a cluster wide encryption enabled OCS cluster using KMS, proper logs are not listed for the encryption-kms-get-kek container in the OSD pods.

$ oc logs rook-ceph-osd-0-75b6b7b5b7-whfcc -c encryption-kms-get-kek
NoneG+vx1C2ixIQ3rWZpXrQb81jumo+ymKSGwsqxvXCMYlqwi7i5U9gbEzgaPFybIigdRembpkNsADCn375c1yTVYXDshcFPEtOLVkLk7mTOGKetiIgDs4+fupQISTlDaknetH+WIFi7jmMtUboGy6Yxr17O+mitAHCW4zIhju0DRh0=


Version of all relevant components (if applicable):
OCP : 4.8.0-0.nightly-2021-06-19-005119
OCS : ocs-operator.v4.8.0-424.ci


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


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)?
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:
Yes. In the previous release of OCS 4.7, the script output was listed in the logs.

Steps to Reproduce:
1. Deploy an OCS cluster with cluster-wide encryption enabled using KMS
2. Once the cluster is successfully deployed, check the logs for encryption-kms-get-kek container
Eg: $ oc logs rook-ceph-osd-0-75b6b7b5b7-whfcc -c encryption-kms-get-kek
NoneG+vx1C2ixIQ3rWZpXrQb81jumo+ymKSGwsqxvXCMYlqwi7i5U9gbEzgaPFybIigdRembpkNsADCn375c1yTVYXDshcFPEtOLVkLk7mTOGKetiIgDs4+fupQISTlDaknetH+WIFi7jmMtUboGy6Yxr17O+mitAHCW4zIhju0DRh0=


Actual results:
Proper logs are not available

Expected results:
Logs containing the output from the script run inside the container should be listed.