[
https://issues.apache.org/jira/browse/CLOUDSTACK-4792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13798906#comment-13798906
]
ASF subversion and git services commented on CLOUDSTACK-4792:
-------------------------------------------------------------
Commit 2b6b99ffb36a25f234b62143e2040a5809be6303 in branch refs/heads/4.2 from
[~anshulg]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=2b6b99f ]
CLOUDSTACK-4792: added the connection and socket timeout parameters for SMTP
and sending message in new thread so that HA doesn't get blocked beacause of
hang in sending email alert
> 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)