fence-agents/bz1886074-3-fence_openstack-bundled.patch

11 lines
406 B
Diff
Raw Normal View History

--- 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/bundled/openstack')
from novaclient import client
from novaclient.exceptions import Conflict, NotFound
except ImportError: