You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Sumit Mohanty (JIRA)" <ji...@apache.org> on 2016/11/24 17:43:58 UTC
[jira] [Commented] (AMBARI-18986) Deployment failure when command
does not have role
[ https://issues.apache.org/jira/browse/AMBARI-18986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15693891#comment-15693891 ]
Sumit Mohanty commented on AMBARI-18986:
----------------------------------------
Modifying the logic to perform cache update only for EXECUTION_COMMANDs (Start/Stop/etc) even though its only needed for METRICS_GRAFANA start. Also we need to figure out a design where agent does not need logic that is specific to a service/component.
> 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
>
>
> 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: <type 'exceptions.KeyError'>: '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)