Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1AB55200BC3 for ; Fri, 18 Nov 2016 14:20:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 192BB160B04; Fri, 18 Nov 2016 13:20:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 608D3160AFE for ; Fri, 18 Nov 2016 14:19:59 +0100 (CET) Received: (qmail 16383 invoked by uid 500); 18 Nov 2016 13:19:58 -0000 Mailing-List: contact issues-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 issues@ambari.apache.org Received: (qmail 16374 invoked by uid 99); 18 Nov 2016 13:19:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2016 13:19:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 4C3F62C0AFA for ; Fri, 18 Nov 2016 13:19:58 +0000 (UTC) Date: Fri, 18 Nov 2016 13:19:58 +0000 (UTC) From: "Zsombor Gegesy (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMBARI-18930) Ambari thinks a component is installed, even if the install is partially done MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 18 Nov 2016 13:20:00 -0000 Zsombor Gegesy created AMBARI-18930: --------------------------------------- Summary: Ambari thinks a component is installed, even if the install is partially done Key: AMBARI-18930 URL: https://issues.apache.org/jira/browse/AMBARI-18930 Project: Ambari Issue Type: Bug Components: ambari-server Affects Versions: 2.4.2 Reporter: Zsombor Gegesy We have lot's of deployment problems which ends up in a state, where Ambari thinks a component is installed, but when it tries to start it, the component fails to start up, because missing kerberos keytabs. The investigation found the following scenario : * blueprint install * For the datanode to install it's needs the following steps: ** install the datanode package on host A ** generate keytab(s) on server ** set up datanode-keytab on host A * In the "Install components on host ...." step the following steps are scheduled : ** package install ** (other package install) ** keytab setup * If there was an error in the 'other package install', then the kerberos key generation, and host setup is skipped. * But Ambari thinks, this component is installed - because the package install step succeeded. * However, when/if someone tries to start the component, it fails with the missing keytabs * The only way to fix this is to manually "Delete" and "Reinstall" the component, which doesn't make the best impression on the user. Proposed ideas to fix : * re-order the install steps - first generate the keytabs on the server, distribute to the host, and later install the package. This would ensure, when the package is installed on a host, it's keytabs are there as well. * mark the partially installed component as 'install failed' on the UI - so the user could try to re-install, when they see it. -- This message was sent by Atlassian JIRA (v6.3.4#6332)