You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
488 B
11 lines
488 B
2 years ago
|
--- 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
|