You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Sumit Mohanty (JIRA)" <ji...@apache.org> on 2015/03/03 02:26:04 UTC
[jira] [Updated] (AMBARI-9883) Knox service check fails -
potentially due to python command invocation error
[ https://issues.apache.org/jira/browse/AMBARI-9883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sumit Mohanty updated AMBARI-9883:
----------------------------------
Attachment: AMBARI-9883.patch
> Knox service check fails - potentially due to python command invocation error
> -----------------------------------------------------------------------------
>
> Key: AMBARI-9883
> URL: https://issues.apache.org/jira/browse/AMBARI-9883
> Project: Ambari
> Issue Type: Bug
> Components: stacks
> Affects Versions: 2.0.0
> Reporter: Sumit Mohanty
> Assignee: Sumit Mohanty
> Priority: Critical
> Fix For: 2.0.0
>
> Attachments: AMBARI-9883.patch
>
>
> Its a single node centos6 installation.
> {noformat}
> stderr:
> 2015-03-02 20:54:38,172 - Error while executing command 'service_check':
> Traceback (most recent call last):
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 208, in execute
> method(env)
> File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk
> return fn(*args, **kwargs)
> File "/var/lib/ambari-agent/cache/common-services/KNOX/0.5.0.2.2/package/scripts/service_check.py", line 78, in service_check
> logoutput=True
> File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
> self.env.run()
> File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 152, in run
> self.run_action(resource, action)
> File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 118, in run_action
> provider_action()
> File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 276, in action_run
> raise ex
> Fail: Execution of '/usr/bin/kinit -kt /etc/security/keytabs/smokeuser.headless.keytab ambari-qa@EXAMPLE.COM; ('/usr/bin/python2.6', '/var/lib/ambari-agent/data/tmp/validateKnoxStatus.py', '-p', '8443', '-n', u'c6403.ambari.apache.org')' returned 127. -bash: /usr/bin/python2.6,: No such file or directory
> {noformat}
> Likely the following line results in a "," after python2.6
> {code}
> validateStatusCmd = (format("{python_executable}"), format("{validateKnoxFilePath}"), "-p", format("{knox_host_port}"), "-n", format("{knox_host_name}"))
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)