1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-22 13:33:52 +03:00

M #-: Retry connection in the vCenter probe

This commit is contained in:
Tino Vazquez 2020-05-27 20:21:40 +02:00
parent c1c819fc46
commit f7a351e7c1
No known key found for this signature in database
GPG Key ID: 2FE9C32E94AEABBE

View File

@ -790,6 +790,9 @@ class ClusterSet
def monitor(conf)
@mutex.synchronize do
@clusters.each do |id, c|
if c[:cluster].nil?
c[:cluster] = Cluster.new(id, @client) rescue nil
end
next if c[:cluster].nil?
if c[:monitordc].nil?