Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion crmsh/migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,11 +246,12 @@ def check_local(handler: CheckResultHandler):

def check_remote():
handler = CheckResultInteractiveHandler()
nodes = utils.list_cluster_nodes_except_me()
class CheckRemoteThread(threading.Thread):
def run(self):
self.result = prun.prun({
node: 'crm cluster health sles16 --local --json=oneline'
for node in utils.list_cluster_nodes_except_me()
for node in nodes
})
prun_thread = CheckRemoteThread()
prun_thread.start()
Expand Down