Skip to content

Commit f4ca05c

Browse files
committed
TODO: get_all_volume_openers FIXME
Signed-off-by: Ronan Abhamon <ronan.abhamon@vates.tech>
1 parent f31e8c0 commit f4ca05c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

drivers/linstorvolumemanager.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,11 @@ def get_all_volume_openers(resource_name, volume):
8686

8787
# Make sure this call never stucks because this function can be called
8888
# during HA init and in this case we can wait forever.
89-
session = util.timeout_call(10, util.get_localAPI_session)
89+
90+
# FIXME: Nov 29 21:54:19 r620-s1 SM: [11123] Got exception in LinstorVDI.load: ['XENAPI_PLUGIN_FAILURE', 'getVHDInfo', 'CommandException', 'Invalid argument'] (unable to get openers: signal only works in main thread)
91+
92+
# session = util.timeout_call(10, util.get_localAPI_session)
93+
session = util.get_localAPI_session()
9094

9195
hosts = session.xenapi.host.get_all_records()
9296
for host_ref, host_record in hosts.items():

0 commit comments

Comments
 (0)