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 520E2200BCB for ; Thu, 24 Nov 2016 18:55:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5073B160B1F; Thu, 24 Nov 2016 17:55: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 A37A2160B1E for ; Thu, 24 Nov 2016 18:54:59 +0100 (CET) Received: (qmail 14394 invoked by uid 500); 24 Nov 2016 17:54: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 14380 invoked by uid 99); 24 Nov 2016 17:54:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2016 17:54:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A613C2C022B for ; Thu, 24 Nov 2016 17:54:58 +0000 (UTC) Date: Thu, 24 Nov 2016 17:54:58 +0000 (UTC) From: "Sumit Mohanty (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-18986) Deployment failure when command does not have role MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 24 Nov 2016 17:55:00 -0000 [ https://issues.apache.org/jira/browse/AMBARI-18986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15693915#comment-15693915 ] Sumit Mohanty commented on AMBARI-18986: ---------------------------------------- Test run results: {code} ---------------------------------------------------------------------- Ran 271 tests in 6.919s OK ---------------------------------------------------------------------- Total run:1158 Total errors:0 Total failures:0 OK {code} > Deployment failure when command does not have role > -------------------------------------------------- > > Key: AMBARI-18986 > URL: https://issues.apache.org/jira/browse/AMBARI-18986 > Project: Ambari > Issue Type: Bug > Components: ambari-agent, stacks > Affects Versions: 2.5.0 > Reporter: Sumit Mohanty > Assignee: Sumit Mohanty > Priority: Critical > Fix For: 2.5.0 > > Attachments: AMBARI-18986.patch > > > Deployment failures as some custom commands for security (kerberization) do not populate "role". > {code} > ERROR 2016-11-24 17:03:40,971 CustomServiceOrchestrator.py:235 - Caught an exception while executing custom service command: : 'role'; 'role' > Traceback (most recent call last): > File "/usr/lib/python2.6/site-packages/ambari_agent/CustomServiceOrchestrator.py", line 157, in runCommand > if command['role'] == self.METRICS_GRAFANA: > KeyError: 'role' > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)