forked from Checkmk/checkmk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
16876 FIX Nutanix agent: resolve verify error when environment REQUES…
…T_CA_BUNDLE is set Due to a specific behaviour in the requests Python library, the SSL verify disable option does not work when the REQUEST_CA_BUNDLE environment variable is set. This also affected the Nutanix agent. This werk resolves the error and therefore always respects the no-cert-check flag. In addition, this werk also improves the error message in case the agent fails when requesting the Nutanix API. closes PR-703 CMK-17734 Change-Id: I04ddf2534f8104d144a99bbaf5940de5524f166f
- Loading branch information
1 parent
1cf07e9
commit 02a54dd
Showing
2 changed files
with
73 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[//]: # (werk v2) | ||
# Nutanix agent: resolve verify error when environment REQUEST_CA_BUNDLE is set | ||
|
||
key | value | ||
---------- | --- | ||
date | 2024-06-08T22:17:32+00:00 | ||
version | 2.4.0b1 | ||
class | fix | ||
edition | cee | ||
component | checks | ||
level | 1 | ||
compatible | yes | ||
|
||
Due to a specific behaviour in the requests Python library, the SSL verify disable | ||
option does not work when the REQUEST_CA_BUNDLE environment variable is set. This | ||
also affected the Nutanix agent. This werk resolves the error and therefore always | ||
respects the no-cert-check flag. In addition, this werk also improves the error | ||
message in case the agent fails when requesting the Nutanix API. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters