----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/32207/#review76920 -----------------------------------------------------------
Ship it! Ship It! - Jonathan Hurley On March 18, 2015, 1:37 p.m., Robert Levas wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/32207/ > ----------------------------------------------------------- > > (Updated March 18, 2015, 1:37 p.m.) > > > Review request for Ambari, Emil Anca and Jonathan Hurley. > > > Bugs: AMBARI-10124 > https://issues.apache.org/jira/browse/AMBARI-10124 > > > Repository: ambari > > > Description > ------- > > **STR** > Install HDP > Enable security > Add host with datanode > > **Result** > For added host there is an alert: > Connection failed to http://c6404.ambari.apache.org:1022 > Manually this webpage is avaliable > > **Expected** > No alert > > **Cause** > The error that gets generated is > ``` > Local variable error_msg might be referenced before assignment > ``` > > **Solution** > Fix Python code by initializing `error_msg` properly. > > > Diffs > ----- > > ambari-agent/src/main/python/ambari_agent/alerts/web_alert.py 1a6540a > > Diff: https://reviews.apache.org/r/32207/diff/ > > > Testing > ------- > > Manually tested in cluster > > > Thanks, > > Robert Levas > >
