Azure-related resources failed to probe in VCS following the installation of the licensing enforcement patch

book

Article ID: 1000766296

calendar_today

Updated On:

Description

Post applying 8.0.2.3500 patch azure_auth,azure_ip resources are failing to probe with below error:

ImportError: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.0.2zj-fips  30 Jan 2024'. See: https://github.com/urllib3/urllib3/issues/2168

Cause

Installing the 8.0.2.3500 patch upgrades the VRTSpython version, which subsequently updates the pip (from 20.x to 26.x) and urllib3 (from 1.26.x to 2.x) Python modules.

You can verify the module versions using the following commands:

/opt/VRTSpython/bin/pip show pip
/opt/VRTSpython/bin/pip show urllib3

OpenSSL Incompatibility: VRTSpython uses an embedded FIPS OpenSSL engine compiled with OpenSSL 1.0.2zj-fips.

Example:/opt/VRTSpython/bin/python3 -c "import ssl; print(ssl.OPENSSL_VERSION)"

OpenSSL 1.0.2zj-fips 30 Jan 2024

The upgraded pip and urllib3 v2.x attempt to use truststore or require OpenSSL 1.1.1+, which is incompatible with the VRTSpython embedded FIPS OpenSSL engine.

Agent Failure: When the VCS agent executes its monitor or probe script, the Python runtime fails when importing urllib3 (via requests/msrest), causing the Azure resource probe to fail.

Resolution

1)Downgrade pip and urllib3 module to previous version.

2) Probe the resources in VCS.

Issue/Introduction

Post applying 8.0.2.3500 patch (licensing enforcement patch) resources like azure_auth,azure_ip etc are failing to probe.