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