1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

M #-: Retry for vcenter cluster IM probe

This commit is contained in:
Tino Vazquez 2020-06-02 10:14:53 +02:00
parent 72f94732af
commit 71d004c778
No known key found for this signature in database
GPG Key ID: 2FE9C32E94AEABBE

View File

@ -767,7 +767,12 @@ class ClusterSet
rc = hpool.info
if OpenNebula.is_error?(rc)
raise "Could not get hosts information - #{rc.message}"
# Wait 5 seconds and retry
sleep 5
rc = hpool.info
if OpenNebula.is_error?(rc)
raise "Could not get hosts information - #{rc.message}"
end
end
$logger.info("Bootstraping list of clusters")