[ https://issues.apache.org/jira/browse/AMBARI-23459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16432951#comment-16432951 ]
Hudson commented on AMBARI-23459: --------------------------------- SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #9029 (See [https://builds.apache.org/job/Ambari-trunk-Commit/9029/]) AMBARI-23459. ServiceAdvisor KeyError during kerberization of OneFS (m.magyar3: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=686e506befd99cd4f761759f63afde9693b488d3]) * (edit) contrib/management-packs/isilon-onefs-mpack/src/main/resources/addon-services/ONEFS/1.0.0/service_advisor.py > ServiceAdvisor KeyError during kerberization of OneFS > ----------------------------------------------------- > > Key: AMBARI-23459 > URL: https://issues.apache.org/jira/browse/AMBARI-23459 > Project: Ambari > Issue Type: Improvement > Components: ambari-agent > Affects Versions: 2.7.0 > Reporter: Attila Magyar > Assignee: Attila Magyar > Priority: Major > Labels: pull-request-available > Fix For: 2.7.0 > > Time Spent: 0.5h > Remaining Estimate: 0h > > {code:java} > Error message: Stack Advisor reported an error. Exit Code: 2. Error: > KeyError: 'onefs' > StdOut file: /var/run/ambari-server/stack-recommendations/5/stackadvisor.out > > StdErr file: /var/run/ambari-server/stack-recommendations/5/stackadvisor.err > > Stackadvisor.err shows the following traceback: > > 2018-04-03 16:09:09,711 ERROR HDP26StackAdvisor > getCapacitySchedulerProperties: - Couldn't retrieve 'capacity-scheduler' from > services. > Traceback (most recent call last): > File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 167, > in <module> > main(sys.argv) > File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 116, > in main > result = stackAdvisor.recommendConfigurations(services, hosts) > File "/var/lib/ambari-server/resources/scripts/../stacks/stack_advisor.py", > line 1565, in recommendConfigurations > serviceAdvisor.getServiceConfigurationRecommendations(configurations, > clusterSummary, services, hosts) > File > "/var/lib/ambari-server/resources/stacks/HDP/2.6/services/ONEFS/service_advisor.py", > line 112, in getServiceConfigurationRecommendations > onefs_host = Uri.onefs(services) > File > "/var/lib/ambari-server/resources/stacks/HDP/2.6/services/ONEFS/service_advisor.py", > line 41, in onefs > return self.from_config(configs, 'onefs', 'onefs_host') > File > "/var/lib/ambari-server/resources/stacks/HDP/2.6/services/ONEFS/service_advisor.py", > line 45, in from_config > return > Uri(configs['configurations'][config_type]['properties'][property_name]) > KeyError: 'onefs'{code} > -- This message was sent by Atlassian JIRA (v7.6.3#76005)