Bug 1921625

Summary: 'Not Found: Secret "noobaa-root-master-key" message' in noobaa logs and cli output when kms is configured
Product: [Red Hat Storage] Red Hat OpenShift Container Storage Reporter: Filip Balák <fbalak>
Component: Multi-Cloud Object GatewayAssignee: Romy Ayalon <rayalon>
Status: CLOSED ERRATA QA Contact: aberner
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.7CC: ebenahar, etamir, hnallurv, muagarwa, nbecker, ocs-bugs, rayalon
Target Milestone: ---Keywords: UserExperience
Target Release: OCS 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: v4.7.0-257.ci Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-19 09:18:35 UTC 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:

Description Filip Balák 2021-01-28 10:28:27 UTC
Description of problem (please be detailed as possible and provide log
snippests):
There is a lot of messages `❌ Not Found: Secret "noobaa-root-master-key"` in noobaa-operator logs and in `noobaa status` cli output when cluster with configured kms is used. The message should not be present or there shouldn't be big red cross next to it if user has configured setup with KMS.

Version of all relevant components (if applicable):
ocs-operator.v4.7.0-238.ci
ocp 4.7.0-0.nightly-2021-01-27-072811


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

Steps to Reproduce:
1. Install OCP + OCS and set KMS integration with Vault
2. Execute commad:
  $ oc logs <noobaa operator pod> -n openshift-storage | grep noobaa-root-master-key
3. Execure command:
  $ noobaa status


Actual results:
There are messages `❌ Not Found: Secret "noobaa-root-master-key"` in command outputs. The message indicates that there is some misconfiguration in KMS integration.

Expected results:
There should not be any KMS related messages with ❌ if KMS integration is configured or user should be informed how to fix the state.

Additional info:

Comment 4 aberner 2021-03-09 16:13:53 UTC
OCP:4.7.0-0.nightly-2021-03-06-183610
OCS:ocs-operator.v4.7.0-284.ci

Comment 7 errata-xmlrpc 2021-05-19 09:18:35 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