211fd6aa88
Resolves: rhbz#1857247
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
--- a/agents/compute/fence_compute.py 2021-03-04 15:11:13.867362945 +0100
|
|
+++ b/agents/compute/fence_compute.py 2021-03-04 15:11:11.480357409 +0100
|
|
@@ -253,6 +253,7 @@
|
|
nova = None
|
|
|
|
try:
|
|
+ sys.path.insert(0, '/usr/lib/fence-agents/support/openstack')
|
|
from novaclient import client
|
|
from novaclient.exceptions import NotAcceptable
|
|
except ImportError:
|
|
--- a/agents/evacuate/fence_evacuate.py 2021-03-04 15:11:48.267442726 +0100
|
|
+++ b/agents/evacuate/fence_evacuate.py 2021-03-04 15:11:45.397436069 +0100
|
|
@@ -189,6 +189,7 @@
|
|
nova = None
|
|
|
|
try:
|
|
+ sys.path.insert(0, '/usr/lib/fence-agents/support/openstack')
|
|
from novaclient import client
|
|
from novaclient.exceptions import NotAcceptable
|
|
except ImportError:
|
|
--- a/agents/openstack/fence_openstack.py 2021-06-03 11:48:01.000000000 +0200
|
|
+++ b/agents/openstack/fence_openstack.py 2021-06-30 09:13:16.598937530 +0200
|
|
@@ -11,6 +11,7 @@
|
|
from fencing import fail_usage, run_delay
|
|
|
|
try:
|
|
+ sys.path.insert(0, '/usr/lib/fence-agents/support/openstack')
|
|
from novaclient import client
|
|
from novaclient.exceptions import Conflict, NotFound
|
|
except ImportError:
|