Bug 2271773
Summary: | KMSServerConnectionAlert not raised when KMIP KMS connection is unavailable | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | Filip Balák <fbalak> |
Component: | ceph-monitoring | Assignee: | arun kumar mohan <amohan> |
Status: | CLOSED ERRATA | QA Contact: | Filip Balák <fbalak> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.15 | CC: | amohan, ebenahar, edonnell, nthomas, odf-bz-bot, sheggodu |
Target Milestone: | --- | ||
Target Release: | ODF 4.17.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
.Invalid KMIP configurations now treated as errors
Previously, Thales Enterprise Key Management (KMIP) were not added in the recognized KMS services. This meant that whenever an invalid KMIP configuration was provided, it was not treated as an error.
With this fix, Thales KMIP service has been added as a valid KMS service. This enables KMS services to propagate KMIP configuration statuses correctly. Therefore, any mis-configurations are treated as errors.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2024-10-30 14:27:10 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: | |||
Bug Depends On: | |||
Bug Blocks: | 2281703 |
Description
Filip Balák
2024-03-27 10:10:06 UTC
Hi Filip, Can you please provide me the following metric value (from the setup, which has the issue): `ocs_storagecluster_kms_connection_status` Some explanation: According to the query, the alert "KMSServerConnectionAlert" will only be triggered under following condition: `ocs_storagecluster_kms_connection_status{job="ocs-metrics-exporter"} == 1` From the implementation (ocs-operator/metrics/internal/collectors/storage-cluster.go#33), we understand `KMS Connection Status; 0: Connected, 1: Not Connected, 2: KMS not enabled` So we should check what value KMS status is providing during the misconfiguration. Filip had shared the needed info needed. Thanks Filip. The value of ocs_storagecluster_kms_connection_status stays at 0 (in an invalid kms configured cluster setup, see comment#1). According to the above comment, the value 0 means that it is connected. Need some more time to check this, meanwhile reducing the severity as this will happen only on a misconfigured cluster only. We can move this out of 4.16 Are there any blockers to provide devel ack for this bz? If not, please provide the devel ack. are we blocked on anything to provide devel ack on this bz? Please update the RDT flag/text appropriately. 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 (Important: Red Hat OpenShift Data Foundation 4.17.0 Security, Enhancement, & Bug Fix 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-2024:8676 |