You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Milamber (JIRA)" <ji...@apache.org> on 2013/10/17 21:38:42 UTC

[jira] [Commented] (CLOUDSTACK-4792) Invalid SMTP breaks HA

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-4792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13798316#comment-13798316 ] 

Milamber commented on CLOUDSTACK-4792:
--------------------------------------


Need to add some properties to javamail in the file /cloud-server/src/com/cloud/alert/AlertManagerImpl.java

        props.put("mail.smtp.connectiontimeout","20000");
        props.put("mail.smtp.timeout","20000");
        props.put("mail.smtps.connectiontimeout","20000");
        props.put("mail.smtps.timeout","20000");

I will works to add these properties in CS Global Properties 

> 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)