You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
puts"[Capify-EC2] Instance registration with ALB Target Group '#{tg.id}' successful.".green.bold
212
+
else
213
+
puts"[Capify-EC2] Instance registration with ALB Target Group '#{tg.id}' failed!".red.bold
214
+
raiseCapifyEC2RollingDeployError.new("ALB Target Group registration timeout exceeded",server_dns)
215
+
end
216
+
end
217
+
end
218
+
195
219
fortinthreadsdo
196
220
t.join
197
221
end
@@ -204,18 +228,27 @@ def capify_ec2
204
228
failed_deploys << e.dns
205
229
puts"[Capify-EC2]"
206
230
puts"[Capify-EC2] Deployment aborted due to error: #{e}!".red.bold
231
+
207
232
puts"[Capify-EC2]"ifload_balancer_to_reregister
208
233
puts"[Capify-EC2] Note: Instance '#{instance_dns_with_name_tag(e.dns)}' was removed from the ELB '#{load_balancer_to_reregister.id}' and should be manually checked and reregistered.".red.boldifload_balancer_to_reregister
209
234
235
+
puts"[Capify-EC2]"iftarget_group_to_reregister
236
+
puts"[Capify-EC2] Note: Instance '#{instance_dns_with_name_tag(e.dns)}' was removed from the ALB Target Group '#{target_group_to_reregister.id}' and should be manually checked and reregistered.".red.boldiftarget_group_to_reregister
puts"[Capify-EC2] Deployment aborted due to error: #{e}!".red.bold
245
+
216
246
puts"[Capify-EC2]"ifload_balancer_to_reregister
217
247
puts"[Capify-EC2] Note: Instance '#{instance_dns_with_name_tag(roles.values.first.servers.first.host)}' was removed from the ELB '#{load_balancer_to_reregister.id}' and should be manually checked and reregistered.".red.boldifload_balancer_to_reregister
218
248
249
+
puts"[Capify-EC2]"iftarget_group_to_reregister
250
+
puts"[Capify-EC2] Note: Instance '#{instance_dns_with_name_tag(roles.values.first.servers.first.host)}' was removed from the ALB Target Group '#{target_group_to_reregister.id}' and should be manually checked and reregistered.".red.boldiftarget_group_to_reregister
0 commit comments