[
https://issues.apache.org/jira/browse/CLOUDSTACK-4792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13805194#comment-13805194
]
Anshul Gangwar commented on CLOUDSTACK-4792:
--------------------------------------------
I have kept the default timeout to 30 seconds and added the global
configuration SMTP timeout parameters. I didn't kept the default timeout
infinity as that was cause of this problem in first place.
> Invalid SMTP breaks HA
> ----------------------
>
> Key: CLOUDSTACK-4792
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4792
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Reporter: Anshul Gangwar
> Assignee: Anshul Gangwar
> Priority: Critical
> Fix For: 4.2.1
>
>
> Putting an invalid smtp ip in alert.smtp.host can potentially stop HA from
> working. If the smtp ip is listening but does not send a proper HELO HA hangs
> and will not proceed. It seems as if the code
> (agent.manager.AgentManagerImpl) doesn't receive a timeout it will not
> proceed.
> I tried putting a bogus ip in alert.smtp.host but HA worked fine. I believe
> we need to make HA independent of smtp alerts or at least put in a timeout so
> HA proceeds.
--
This message was sent by Atlassian JIRA
(v6.1#6144)