fence-agents/ha-cloud-support-aws.patch
Oyvind Albrigtsen c4e97edd10 - Bundled missing libraries
Resolves: RHEL-25954
2024-04-11 08:54:37 +02:00

11 lines
429 B
Diff

--- a/agents/aws/fence_aws.py 2021-02-08 13:31:49.748362643 +0100
+++ b/agents/aws/fence_aws.py 2021-02-08 13:31:46.836356513 +0100
@@ -11,6 +11,7 @@
from requests import HTTPError
try:
+ sys.path.insert(0, '/usr/lib/fence-agents/support/aws/lib/python#PYTHON3_VERSION#/site-packages')
import boto3
from botocore.exceptions import ConnectionError, ClientError, EndpointConnectionError, NoRegionError
except ImportError: