Bug 1921625 - 'Not Found: Secret "noobaa-root-master-key" message' in noobaa logs and cli output when kms is configured
Summary: 'Not Found: Secret "noobaa-root-master-key" message' in noobaa logs and cli o...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Container Storage
Classification: Red Hat Storage
Component: Multi-Cloud Object Gateway
Version: 4.7
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: OCS 4.7.0
Assignee: Romy Ayalon
QA Contact: aberner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-28 10:28 UTC by Filip Balák
Modified: 2021-05-19 09:19 UTC (History)
7 users (show)

Fixed In Version: v4.7.0-257.ci
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-19 09:18:35 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github noobaa noobaa-operator pull 532 0 None closed Add non external root key check before calling kubecheck 2021-02-14 13:09:15 UTC
Github noobaa noobaa-operator pull 538 0 None closed Backport to 5.7 2021-02-14 13:09:15 UTC
Red Hat Product Errata RHSA-2021:2041 0 None None None 2021-05-19 09:19:02 UTC

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


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