21 lines
808 B
Diff
21 lines
808 B
Diff
|
--- fence-agents-4.7.1/agents/compute/fence_compute.py 2021-03-04 15:11:13.867362945 +0100
|
||
|
+++ fence-agents-4.7.1/agents/compute/fence_compute.py.modif 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:
|
||
|
--- fence-agents-4.7.1/agents/evacuate/fence_evacuate.py 2021-03-04 15:11:48.267442726 +0100
|
||
|
+++ fence-agents-4.7.1/agents/evacuate/fence_evacuate.py.modif 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:
|