diff --color -uNr a/agents/cisco_ucs/fence_cisco_ucs.py b/agents/cisco_ucs/fence_cisco_ucs.py --- a/agents/cisco_ucs/fence_cisco_ucs.py 2022-10-18 15:50:58.000000000 +0200 +++ b/agents/cisco_ucs/fence_cisco_ucs.py 2024-03-14 09:23:55.010793743 +0100 @@ -1,6 +1,7 @@ #!@PYTHON@ -tt import sys, re +sys.path.insert(0, '/usr/lib/fence-agents/support/common/lib/python#PYTHON3_VERSION#/site-packages') import pycurl, io import logging import atexit diff --color -uNr a/agents/docker/fence_docker.py b/agents/docker/fence_docker.py --- a/agents/docker/fence_docker.py 2022-10-18 15:50:58.000000000 +0200 +++ b/agents/docker/fence_docker.py 2024-03-14 09:24:02.013951459 +0100 @@ -4,6 +4,7 @@ import sys import io import logging +sys.path.insert(0, '/usr/lib/fence-agents/support/common/lib/python#PYTHON3_VERSION#/site-packages') import pycurl import json diff --color -uNr a/agents/ibm_powervs/fence_ibm_powervs.py b/agents/ibm_powervs/fence_ibm_powervs.py --- a/agents/ibm_powervs/fence_ibm_powervs.py 2023-06-21 14:05:19.000000000 +0200 +++ b/agents/ibm_powervs/fence_ibm_powervs.py 2024-03-14 09:24:07.631077960 +0100 @@ -1,6 +1,7 @@ #!@PYTHON@ -tt import sys +sys.path.insert(0, '/usr/lib/fence-agents/support/common/lib/python#PYTHON3_VERSION#/site-packages') import pycurl, io, json import logging import atexit diff --color -uNr a/agents/ibm_vpc/fence_ibm_vpc.py b/agents/ibm_vpc/fence_ibm_vpc.py --- a/agents/ibm_vpc/fence_ibm_vpc.py 2022-10-24 11:02:10.000000000 +0200 +++ b/agents/ibm_vpc/fence_ibm_vpc.py 2024-03-14 09:24:15.509255382 +0100 @@ -1,6 +1,7 @@ #!@PYTHON@ -tt import sys +sys.path.insert(0, '/usr/lib/fence-agents/support/common/lib/python#PYTHON3_VERSION#/site-packages') import pycurl, io, json import logging import atexit diff --color -uNr a/agents/pve/fence_pve.py b/agents/pve/fence_pve.py --- a/agents/pve/fence_pve.py 2022-10-18 15:50:58.000000000 +0200 +++ b/agents/pve/fence_pve.py 2024-03-14 09:24:20.762373685 +0100 @@ -6,6 +6,7 @@ import sys import json +sys.path.insert(0, '/usr/lib/fence-agents/support/common/lib/python#PYTHON3_VERSION#/site-packages') import pycurl import io import atexit diff --color -uNr a/agents/rhevm/fence_rhevm.py b/agents/rhevm/fence_rhevm.py --- a/agents/rhevm/fence_rhevm.py 2022-10-18 15:50:58.000000000 +0200 +++ b/agents/rhevm/fence_rhevm.py 2024-03-14 09:24:26.490502687 +0100 @@ -1,6 +1,7 @@ #!@PYTHON@ -tt import sys, re +sys.path.insert(0, '/usr/lib/fence-agents/support/common/lib/python#PYTHON3_VERSION#/site-packages') import pycurl, io import logging import atexit diff --color -uNr a/agents/vmware_rest/fence_vmware_rest.py b/agents/vmware_rest/fence_vmware_rest.py --- a/agents/vmware_rest/fence_vmware_rest.py 2022-10-18 15:50:58.000000000 +0200 +++ b/agents/vmware_rest/fence_vmware_rest.py 2024-03-14 09:25:24.081799686 +0100 @@ -1,6 +1,7 @@ #!@PYTHON@ -tt import sys +sys.path.insert(0, '/usr/lib/fence-agents/support/common/lib/python#PYTHON3_VERSION#/site-packages') import pycurl, io, json import logging import atexit diff --color -uNr a/agents/vmware_vcloud/fence_vmware_vcloud.py b/agents/vmware_vcloud/fence_vmware_vcloud.py --- a/agents/vmware_vcloud/fence_vmware_vcloud.py 2022-10-18 15:50:58.000000000 +0200 +++ b/agents/vmware_vcloud/fence_vmware_vcloud.py 2024-03-14 09:25:28.098890153 +0100 @@ -1,6 +1,7 @@ #!@PYTHON@ -tt import sys +sys.path.insert(0, '/usr/lib/fence-agents/support/common/lib/python#PYTHON3_VERSION#/site-packages') import pycurl, io import logging import atexit diff --color -uNr a/lib/fencing.py.py b/lib/fencing.py.py --- a/lib/fencing.py.py 2023-10-06 16:38:40.000000000 +0200 +++ b/lib/fencing.py.py 2024-03-14 09:26:01.053632288 +0100 @@ -1,6 +1,8 @@ #!@PYTHON@ -tt -import sys, getopt, time, os, uuid, pycurl, stat +import sys, getopt, time, os, uuid, stat +sys.path.insert(0, '/usr/lib/fence-agents/support/common/lib/python#PYTHON3_VERSION#/site-packages') +import pycurl import pexpect, re, syslog import logging import subprocess