ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-18986) Deployment failure when command does not have role
Date Thu, 24 Nov 2016 22:16:58 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-18986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15694312#comment-15694312
] 

Hudson commented on AMBARI-18986:
---------------------------------

ABORTED: Integrated in Jenkins build Ambari-branch-2.5 #389 (See [https://builds.apache.org/job/Ambari-branch-2.5/389/])
AMBARI-18986. Deployment failure when command does not have role (smohanty: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7afe172d20c88abe6b51110364c5200ae1e29618])
* (edit) ambari-agent/src/test/python/ambari_agent/TestCustomServiceOrchestrator.py
* (edit) ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py


> 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: <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)

Mime
View raw message