Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5C1D0185CE for ; Fri, 26 Feb 2016 19:22:18 +0000 (UTC) Received: (qmail 36832 invoked by uid 500); 26 Feb 2016 19:22:13 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 36801 invoked by uid 500); 26 Feb 2016 19:22:13 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 36786 invoked by uid 99); 26 Feb 2016 19:22:12 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2016 19:22:12 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 8F4AB2E6AC2; Fri, 26 Feb 2016 19:22:12 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============4860375488912127404==" MIME-Version: 1.0 Subject: Re: Review Request 44086: Registering 700 hosts gets stuck without timeout on 8 hosts From: Andrew Onischuk To: Myroslav Papirkovskyy Cc: Andrew Onischuk , Alejandro Fernandez , Sumit Mohanty , Ambari Date: Fri, 26 Feb 2016 19:22:12 -0000 Message-ID: <20160226192212.1671.67512@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: Andrew Onischuk X-ReviewGroup: Ambari X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/44086/ X-Sender: Andrew Onischuk References: <20160226184011.28813.67185@reviews.apache.org> In-Reply-To: <20160226184011.28813.67185@reviews.apache.org> Reply-To: Andrew Onischuk X-ReviewRequest-Repository: ambari --===============4860375488912127404== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit > On Feb. 26, 2016, 6:40 p.m., Alejandro Fernandez wrote: > > ambari-server/src/main/java/org/apache/ambari/server/bootstrap/BSRunner.java, line 422 > > > > > > Under what conditions would the file not exist? If bootstrap timed out some .done files will be missing (when bootstrap.py is destroyed). Old behavior (before the patch): in case of error in bootstrap.py BSRunner rewrites all .done files to '99' and api shows all tasks as failed. We have the following case: successful bootstrap for some hosts and timed out for other. We need to create .done files for timed out hosts (if they are absent), but we won't change '0' for successful - Andrew ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44086/#review120911 ----------------------------------------------------------- On Feb. 26, 2016, 5:07 p.m., Andrew Onischuk wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/44086/ > ----------------------------------------------------------- > > (Updated Feb. 26, 2016, 5:07 p.m.) > > > Review request for Ambari and Myroslav Papirkovskyy. > > > Bugs: AMBARI-15205 > https://issues.apache.org/jira/browse/AMBARI-15205 > > > Repository: ambari > > > Description > ------- > > When adding 700 hosts through the UI's add-host-wizard, all hosts successfully > registered except for 8 of them. These 8 hosts were stuck in RUNNING state and > would not timeout even after 20 minutes. > > I had to kill the bootstrap process on ambari-server to make the operation to > complete. > On my second attempt I was able to recreate the problem > > Below is the output from `/api/v1/bootstrap/2` for the failing hosts > (bootstrap response attached) > > > > > RUNNING > ..... > > > > perf-d-511.c.pramod-thangali.internal > RUNNING > > ========================== > Creating target directory... > ========================== > > Command start time 2016-02-17 18:55:54 > chmod: cannot access `/var/lib/ambari-agent/data': No such file or directory > > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ WARNING: POSSIBLE DNS SPOOFING DETECTED! @ > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > The RSA host key for perf-d-511.c.pramod-thangali.internal has changed, > and the key for the corresponding IP address 10.240.5.174 > has a different value. This could either mean that > DNS SPOOFING is happening or the IP address for the host > and its host key have changed at the same time. > Offending key for IP in /root/.ssh/known_hosts:1418 > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! > Someone could be eavesdropping on you right now (man-in-the-middle attack)! > It is also possible that the RSA host key has just been changed. > The fingerprint for the RSA key sent by the remote host is > 66:45:6d:a4:fe:13:5d:47:ee:df:45:cc:32:dc:6a:2f. > Please contact your system administrator. > Add correct host key in /root/.ssh/known_hosts to get rid of this message. > Offending key in /root/.ssh/known_hosts:1417 > Password authentication is disabled to avoid man-in-the-middle attacks. > Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks. > Connection to perf-d-511.c.pramod-thangali.internal closed. > SSH command execution finished > host=perf-d-511.c.pramod-thangali.internal, exitcode=0 > Command end time 2016-02-17 18:55:55 > > ========================== > Copying common functions script... > ========================== > > Command start time 2016-02-17 18:55:55 > > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ WARNING: POSSIBLE DNS SPOOFING DETECTED! @ > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > The RSA host key for perf-d-511.c.pramod-thangali.internal has changed, > and the key for the corresponding IP address 10.240.5.174 > has a different value. This could either mean that > DNS SPOOFING is happening or the IP address for the host > and its host key have changed at the same time. > Offending key for IP in /root/.ssh/known_hosts:1418 > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! > Someone could be eavesdropping on you right now (man-in-the-middle attack)! > It is also possible that the RSA host key has just been changed. > The fingerprint for the RSA key sent by the remote host is > 66:45:6d:a4:fe:13:5d:47:ee:df:45:cc:32:dc:6a:2f. > Please contact your system administrator. > Add correct host key in /root/.ssh/known_hosts to get rid of this message. > Offending key in /root/.ssh/known_hosts:1417 > Password authentication is disabled to avoid man-in-the-middle attacks. > Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks. > scp /usr/lib/python2.6/site-packages/ambari_commons > host=perf-d-511.c.pramod-thangali.internal, exitcode=0 > Command end time 2016-02-17 18:55:56 > > ========================== > Copying OS type check script... > ========================== > > Command start time 2016-02-17 18:55:56 > > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ WARNING: POSSIBLE DNS SPOOFING DETECTED! @ > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > The RSA host key for perf-d-511.c.pramod-thangali.internal has changed, > and the key for the corresponding IP address 10.240.5.174 > has a different value. This could either mean that > DNS SPOOFING is happening or the IP address for the host > and its host key have changed at the same time. > Offending key for IP in /root/.ssh/known_hosts:1418 > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! > Someone could be eavesdropping on you right now (man-in-the-middle attack)! > It is also possible that the RSA host key has just been changed. > The fingerprint for the RSA key sent by the remote host is > 66:45:6d:a4:fe:13:5d:47:ee:df:45:cc:32:dc:6a:2f. > Please contact your system administrator. > Add correct host key in /root/.ssh/known_hosts to get rid of this message. > Offending key in /root/.ssh/known_hosts:1417 > Password authentication is disabled to avoid man-in-the-middle attacks. > Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks. > scp /usr/lib/python2.6/site-packages/ambari_server/os_check_type.py > host=perf-d-511.c.pramod-thangali.internal, exitcode=0 > Command end time 2016-02-17 18:55:56 > > ========================== > Running OS type check... > ========================== > > Command start time 2016-02-17 18:55:56 > Cluster primary/cluster OS family is redhat6 and local/current OS family is redhat6 > > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ WARNING: POSSIBLE DNS SPOOFING DETECTED! @ > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > The RSA host key for perf-d-511.c.pramod-thangali.internal has changed, > and the key for the corresponding IP address 10.240.5.174 > has a different value. This could either mean that > DNS SPOOFING is happening or the IP address for the host > and its host key have changed at the same time. > Offending key for IP in /root/.ssh/known_hosts:1418 > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! > Someone could be eavesdropping on you right now (man-in-the-middle attack)! > It is also possible that the RSA host key has just been changed. > The fingerprint for the RSA key sent by the remote host is > 66:45:6d:a4:fe:13:5d:47:ee:df:45:cc:32:dc:6a:2f. > Please contact your system administrator. > Add correct host key in /root/.ssh/known_hosts to get rid of this message. > Offending key in /root/.ssh/known_hosts:1417 > Password authentication is disabled to avoid man-in-the-middle attacks. > Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks. > Connection to perf-d-511.c.pramod-thangali.internal closed. > SSH command execution finished > host=perf-d-511.c.pramod-thangali.internal, exitcode=0 > Command end time 2016-02-17 18:55:57 > > ========================== > Checking 'sudo' package on remote host... > ========================== > > Command start time 2016-02-17 18:55:57 > sudo-1.8.6p3-20.el6_7.x86_64 > > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ WARNING: POSSIBLE DNS SPOOFING DETECTED! @ > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > The RSA host key for perf-d-511.c.pramod-thangali.internal has changed, > and the key for the corresponding IP address 10.240.5.174 > has a different value. This could either mean that > DNS SPOOFING is happening or the IP address for the host > and its host key have changed at the same time. > Offending key for IP in /root/.ssh/known_hosts:1418 > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! > Someone could be eavesdropping on you right now (man-in-the-middle attack)! > It is also possible that the RSA host key has just been changed. > The fingerprint for the RSA key sent by the remote host is > 66:45:6d:a4:fe:13:5d:47:ee:df:45:cc:32:dc:6a:2f. > Please contact your system administrator. > Add correct host key in /root/.ssh/known_hosts to get rid of this message. > Offending key in /root/.ssh/known_hosts:1417 > Password authentication is disabled to avoid man-in-the-middle attacks. > Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks. > Connection to perf-d-511.c.pramod-thangali.internal closed. > SSH command execution finished > host=perf-d-511.c.pramod-thangali.internal, exitcode=0 > Command end time 2016-02-17 18:55:58 > > ========================== > Copying repo file to 'tmp' folder... > ========================== > > Command start time 2016-02-17 18:55:58 > > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ WARNING: POSSIBLE DNS SPOOFING DETECTED! @ > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > The RSA host key for perf-d-511.c.pramod-thangali.internal has changed, > and the key for the corresponding IP address 10.240.5.174 > has a different value. This could either mean that > DNS SPOOFING is happening or the IP address for the host > and its host key have changed at the same time. > Offending key for IP in /root/.ssh/known_hosts:1418 > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! > Someone could be eavesdropping on you right now (man-in-the-middle attack)! > It is also possible that the RSA host key has just been changed. > The fingerprint for the RSA key sent by the remote host is > 66:45:6d:a4:fe:13:5d:47:ee:df:45:cc:32:dc:6a:2f. > Please contact your system administrator. > Add correct host key in /root/.ssh/known_hosts to get rid of this message. > Offending key in /root/.ssh/known_hosts:1417 > Password authentication is disabled to avoid man-in-the-middle attacks. > Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks. > scp /etc/yum.repos.d/ambari.repo > host=perf-d-511.c.pramod-thangali.internal, exitcode=0 > Command end time 2016-02-17 18:55:59 > > ========================== > Moving file to repo dir... > ========================== > > Command start time 2016-02-17 18:55:59 > > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ WARNING: POSSIBLE DNS SPOOFING DETECTED! @ > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > The RSA host key for perf-d-511.c.pramod-thangali.internal has changed, > and the key for the corresponding IP address 10.240.5.174 > has a different value. This could either mean that > DNS SPOOFING is happening or the IP address for the host > and its host key have changed at the same time. > Offending key for IP in /root/.ssh/known_hosts:1418 > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! > Someone could be eavesdropping on you right now (man-in-the-middle attack)! > It is also possible that the RSA host key has just been changed. > The fingerprint for the RSA key sent by the remote host is > 66:45:6d:a4:fe:13:5d:47:ee:df:45:cc:32:dc:6a:2f. > Please contact your system administrator. > Add correct host key in /root/.ssh/known_hosts to get rid of this message. > Offending key in /root/.ssh/known_hosts:1417 > Password authentication is disabled to avoid man-in-the-middle attacks. > Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks. > Connection to perf-d-511.c.pramod-thangali.internal closed. > SSH command execution finished > host=perf-d-511.c.pramod-thangali.internal, exitcode=0 > Command end time 2016-02-17 18:55:59 > > ========================== > Changing permissions for ambari.repo... > ========================== > > Command start time 2016-02-17 18:55:59 > > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ WARNING: POSSIBLE DNS SPOOFING DETECTED! @ > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > The RSA host key for perf-d-511.c.pramod-thangali.internal has changed, > and the key for the corresponding IP address 10.240.5.174 > has a different value. This could either mean that > DNS SPOOFING is happening or the IP address for the host > and its host key have changed at the same time. > Offending key for IP in /root/.ssh/known_hosts:1418 > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! > Someone could be eavesdropping on you right now (man-in-the-middle attack)! > It is also possible that the RSA host key has just been changed. > The fingerprint for the RSA key sent by the remote host is > 66:45:6d:a4:fe:13:5d:47:ee:df:45:cc:32:dc:6a:2f. > Please contact your system administrator. > Add correct host key in /root/.ssh/known_hosts to get rid of this message. > Offending key in /root/.ssh/known_hosts:1417 > Password authentication is disabled to avoid man-in-the-middle attacks. > Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks. > Connection to perf-d-511.c.pramod-thangali.internal closed. > SSH command execution finished > host=perf-d-511.c.pramod-thangali.internal, exitcode=0 > Command end time 2016-02-17 18:56:00 > > ========================== > Copying setup script file... > ========================== > > Command start time 2016-02-17 18:56:00 > > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ WARNING: POSSIBLE DNS SPOOFING DETECTED! @ > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > The RSA host key for perf-d-511.c.pramod-thangali.internal has changed, > and the key for the corresponding IP address 10.240.5.174 > has a different value. This could either mean that > DNS SPOOFING is happening or the IP address for the host > and its host key have changed at the same time. > Offending key for IP in /root/.ssh/known_hosts:1418 > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! > Someone could be eavesdropping on you right now (man-in-the-middle attack)! > It is also possible that the RSA host key has just been changed. > The fingerprint for the RSA key sent by the remote host is > 66:45:6d:a4:fe:13:5d:47:ee:df:45:cc:32:dc:6a:2f. > Please contact your system administrator. > Add correct host key in /root/.ssh/known_hosts to get rid of this message. > Offending key in /root/.ssh/known_hosts:1417 > Password authentication is disabled to avoid man-in-the-middle attacks. > Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks. > scp /usr/lib/python2.6/site-packages/ambari_server/setupAgent.py > host=perf-d-511.c.pramod-thangali.internal, exitcode=0 > Command end time 2016-02-17 18:56:00 > > ========================== > Running setup agent script... > ========================== > > Command start time 2016-02-17 18:56:00 > Repository base is listed more than once in the configuration > Repository updates is listed more than once in the configuration > Repository extras is listed more than once in the configuration > Error: Cannot find a valid baseurl for repo: base > Repository base is listed more than once in the configuration > Repository updates is listed more than once in the configuration > Repository extras is listed more than once in the configuration > Error: Cannot find a valid baseurl for repo: base > ('', None) > > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ WARNING: POSSIBLE DNS SPOOFING DETECTED! @ > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > The RSA host key for perf-d-511.c.pramod-thangali.internal has changed, > and the key for the corresponding IP address 10.240.5.174 > has a different value. This could either mean that > DNS SPOOFING is happening or the IP address for the host > and its host key have changed at the same time. > Offending key for IP in /root/.ssh/known_hosts:1418 > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! > Someone could be eavesdropping on you right now (man-in-the-middle attack)! > It is also possible that the RSA host key has just been changed. > The fingerprint for the RSA key sent by the remote host is > 66:45:6d:a4:fe:13:5d:47:ee:df:45:cc:32:dc:6a:2f. > Please contact your system administrator. > Add correct host key in /root/.ssh/known_hosts to get rid of this message. > Offending key in /root/.ssh/known_hosts:1417 > Password authentication is disabled to avoid man-in-the-middle attacks. > Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks. > Connection to perf-d-511.c.pramod-thangali.internal closed. > SSH command execution finished > host=perf-d-511.c.pramod-thangali.internal, exitcode=1 > Command end time 2016-02-17 18:56:47 > > ERROR: Bootstrap of host perf-d-511.c.pramod-thangali.internal fails because previous action finished with non-zero exit code (1) > ERROR MESSAGE: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ WARNING: POSSIBLE DNS SPOOFING DETECTED! @ > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > The RSA host key for perf-d-511.c.pramod-thangali.internal has changed, > and the key for the corresponding IP address 10.240.5.174 > has a different value. This could either mean that > DNS SPOOFING is happening or the IP address for the host > and its host key have changed at the same time. > Offending key for IP in /root/.ssh/known_hosts:1418 > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! > Someone could be eavesdropping on you right now (man-in-the-middle attack)! > It is also possible that the RSA host key has just been changed. > The fingerprint for the RSA key sent by the remote host is > 66:45:6d:a4:fe:13:5d:47:ee:df:45:cc:32:dc:6a:2f. > Please contact your system administrator. > Add correct host key in /root/.ssh/known_hosts to get rid of this message. > Offending key in /root/.ssh/known_hosts:1417 > Password authentication is disabled to avoid man-in-the-middle attacks. > Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks. > Connection to perf-d-511.c.pramod-thangali.internal closed. > > STDOUT: Repository base is listed more than once in the configuration > Repository updates is listed more than once in the configuration > Repository extras is listed more than once in the configuration > Error: Cannot find a valid baseurl for repo: base > Repository base is listed more than once in the configuration > Repository updates is listed more than once in the configuration > Repository extras is listed more than once in the configuration > Error: Cannot find a valid baseurl for repo: base > ('', None) > > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ WARNING: POSSIBLE DNS SPOOFING DETECTED! @ > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > The RSA host key for perf-d-511.c.pramod-thangali.internal has changed, > and the key for the corresponding IP address 10.240.5.174 > has a different value. This could either mean that > DNS SPOOFING is happening or the IP address for the host > and its host key have changed at the same time. > Offending key for IP in /root/.ssh/known_hosts:1418 > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! > Someone could be eavesdropping on you right now (man-in-the-middle attack)! > It is also possible that the RSA host key has just been changed. > The fingerprint for the RSA key sent by the remote host is > 66:45:6d:a4:fe:13:5d:47:ee:df:45:cc:32:dc:6a:2f. > Please contact your system administrator. > Add correct host key in /root/.ssh/known_hosts to get rid of this message. > Offending key in /root/.ssh/known_hosts:1417 > Password authentication is disabled to avoid man-in-the-middle attacks. > Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks. > Connection to perf-d-511.c.pramod-thangali.internal closed. > > > > > ... > > > Diffs > ----- > > ambari-server/src/main/java/org/apache/ambari/server/bootstrap/BSRunner.java bf43bc9 > > Diff: https://reviews.apache.org/r/44086/diff/ > > > Testing > ------- > > mvn clean test > > > Thanks, > > Andrew Onischuk > > --===============4860375488912127404==--