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:
parent
72f94732af
commit
71d004c778
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user