fence-agents/ha-cloud-support-aliyun.patch
Oyvind Albrigtsen fba4e41bfa - create ha-cloud support package
- add ha-cloud patches and dependencies
- remove hds-cb for now
2021-02-11 11:35:03 +01:00

11 lines
488 B
Diff

--- a/agents/aliyun/fence_aliyun.py 2021-02-08 16:27:46.587068911 +0100
+++ b/agents/aliyun/fence_aliyun.py 2021-02-08 16:27:41.368054268 +0100
@@ -9,6 +9,7 @@
from fencing import fail, fail_usage, EC_TIMED_OUT, run_delay
try:
+ sys.path.insert(0, '/usr/lib/fence-agents/support/aliyun')
from aliyunsdkcore import client
from aliyunsdkcore.auth.credentials import EcsRamRoleCredential
from aliyunsdkecs.request.v20140526.DescribeInstancesRequest import DescribeInstancesRequest