Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
Add retry to cc registration
Browse files Browse the repository at this point in the history
  • Loading branch information
viglesiasce committed Jun 3, 2014
1 parent bcf9282 commit 25775aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes/register-components.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
execute "Register CC" do
command "#{euca_conf} --register-cluster -P #{cluster} -H #{cc_ip} -C #{cluster}-cc-1 #{dont_sync_keys}"
not_if "euca-describe-services | grep #{cluster}-cc-1"
retries 5
retry_delay 10
end
if info["sc-1"] == ""
sc_ip = node['ipaddress']
Expand Down

0 comments on commit 25775aa

Please sign in to comment.