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 99DF417FB1 for ; Fri, 31 Oct 2014 18:09:27 +0000 (UTC) Received: (qmail 72176 invoked by uid 500); 31 Oct 2014 18:09:27 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 72144 invoked by uid 500); 31 Oct 2014 18:09:27 -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 72131 invoked by uid 99); 31 Oct 2014 18:09:26 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Oct 2014 18:09:26 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 10D271DF9EA; Fri, 31 Oct 2014 18:09:31 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============5866091346490283850==" MIME-Version: 1.0 Subject: Review Request 27434: HostCleanup.py issues with HDP-2.2 on SuSe and Ubuntu From: "Andrew Onischuk" To: "Vitalyi Brodetskyi" Cc: "Andrew Onischuk" , "Ambari" Date: Fri, 31 Oct 2014 18:09:31 -0000 Message-ID: <20141031180931.7138.71433@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Andrew Onischuk" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/27434/ X-Sender: "Andrew Onischuk" Reply-To: "Andrew Onischuk" X-ReviewRequest-Repository: ambari --===============5866091346490283850== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27434/ ----------------------------------------------------------- Review request for Ambari and Vitalyi Brodetskyi. Bugs: AMBARI-8073 https://issues.apache.org/jira/browse/AMBARI-8073 Repository: ambari Description ------- Ambari cluster can't be deployed on hosts with previously installed cluster cleaned by HostCleanup.py. Deploy HDP-2.2 cluster with all services (except kafka). Use 4 nodes (5'th node with Postgres 9 db was used as Ambari DB, but that probably doesn't matter). Use default component layout on 'assign masters' page. Deploy cluster. (cluster is green) stop all services. stop all ambari-agents stop ambari-server make ambari-server reset setup ambari-server -s start ambari-server perform hosts registration (with all 4 hosts used while deploying first time in same order). execute 'python /usr/lib/python2.6/site-packages/ambari_agent/HostCleanup.py --silent --skip processes' on each host. Setup ambari-server again and start it. Try deploying cluster like before. Result: Cluster deployed, but many services can't start. Diffs ----- ambari-agent/src/main/python/ambari_agent/HostInfo.py 9a02027 ambari-agent/src/test/python/resource_management/TestPackageResource.py 7ec7494 ambari-common/src/main/python/resource_management/core/providers/package/apt.py e71361b ambari-common/src/main/python/resource_management/core/providers/package/yumrpm.py a53fadc Diff: https://reviews.apache.org/r/27434/diff/ Testing ------- mvn clean test Thanks, Andrew Onischuk --===============5866091346490283850==--