ambari-issues mailing list archives

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

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

Sumit Mohanty edited comment on AMBARI-18986 at 11/24/16 6:14 PM:
------------------------------------------------------------------

Test run results:

{code}

----------------------------------------------------------------------
Ran 445 tests in 10.668s

OK
[INFO]
[INFO] --- apache-rat-plugin:0.11:check (default) @ ambari-agent ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: conf/unix/logging.conf.sample
[INFO] Exclude: conf/windows/logging.conf.sample
[INFO] Exclude: src/test/python/tmp_hostcheck.result
[INFO] Exclude: src/examples/*
[INFO] Exclude: src/test/python/dummy*.txt
[INFO] Exclude: src/test/python/ambari_agent/dummy_files/*
[INFO] Exclude: src/test/python/ambari_agent/dummy*.txt
[INFO] Exclude: src/main/python/ambari_agent/imports.txt
[INFO] Exclude: src/main/python/ambari_agent/apscheduler/**
[INFO] Exclude: **/*.erb
[INFO] Exclude: **/*.json
[INFO] Exclude: **/*.pydevproject
[INFO] Exclude: src/main/package/choco/ambari-agent.nuspec
[INFO] 260 resources included (use -debug for more details)
Warning:  org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit'
is not recognized.
Compiler warnings:
  WARNING:  'org.apache.xerces.jaxp.SAXParserImpl: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD'
is not recognized.'
Warning:  org.apache.xerces.parsers.SAXParser: Feature 'http://javax.xml.XMLConstants/feature/secure-processing'
is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD'
is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit'
is not recognized.
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 149 licence.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16.475s
[INFO] Finished at: Thu Nov 24 10:14:26 PST 2016
[INFO] Final Memory: 11M/245M
[INFO] ------------------------------------------------------------------------{code}


was (Author: sumitmohanty):
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: <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