You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2015/10/29 12:30:27 UTC
[jira] [Created] (AMBARI-13627) Security can not be enabled on
cluster with MOTD for "su"
Andrew Onischuk created AMBARI-13627:
----------------------------------------
Summary: Security can not be enabled on cluster with MOTD for "su"
Key: AMBARI-13627
URL: https://issues.apache.org/jira/browse/AMBARI-13627
Project: Ambari
Issue Type: Bug
Reporter: Andrew Onischuk
Assignee: Andrew Onischuk
Fix For: 2.1.3
Steps:
1. Enable motd for instances.
2. Deploy cluster.
3. Try to enable security.
Result: enabling security was failed during Storm UI stop:
"stderr" : "Traceback (most recent call last):
File \"/var/lib/ambari-agent/cache/common-services/STORM/0.9.1.2.1/package/scripts/ui_server.py\", line 154, in <module>
UiServer().execute()
File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\", line 216, in execute
method(env)
File \"/var/lib/ambari-agent/cache/common-services/STORM/0.9.1.2.1/package/scripts/ui_server.py\", line 93, in stop
service(\"ui\", action=\"stop\")
File \"/var/lib/ambari-agent/cache/common-services/STORM/0.9.1.2.1/package/scripts/service.py\", line 81, in service
not_if = process_dont_exist)
File \"/usr/lib/python2.6/site-packages/resource_management/core/base.py\", line 154, 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 260, in action_run
tries=self.resource.tries, try_sleep=self.resource.try_sleep)
File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 70, in inner
result = function(command, **kwargs)
File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 92, in checked_call
tries=tries, try_sleep=try_sleep)
File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 140, in _call_wrapper
result = _call(command, **kwargs_copy)
File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 291, in _call
raise Fail(err_msg)
resource_management.core.exceptions.Fail: Execution of 'ambari-sudo.sh kill `ambari-sudo.sh su storm -l -s /bin/bash -c 'cat /var/run/storm/ui.pid'`' returned 1. kill: cannot find process \"########\"
kill: cannot find process \"Hortonworks\"
kill: cannot find process \"#############\"
kill: cannot find process \"This\"
kill: cannot find process \"is\"
kill: cannot find process \"MOTD\"
kill: cannot find process \"message,\"
kill: cannot find process \"added\"
kill: cannot find process \"for\"
kill: cannot find process \"testing\"
kill: cannot find process \"in\"
kill: cannot find process \"qe\"
kill: cannot find process \"infra\"",
"stdout" : "2015-10-26 17:04:02,469 - Execute['ambari-sudo.sh kill `ambari-sudo.sh su storm -l -s /bin/bash -c 'cat /var/run/storm/ui.pid'`'] {'not_if': \"! (ambari-sudo.sh su storm -l -s /bin/bash -c 'ls /var/run/storm/ui.pid >/dev/null 2>&1 && ps -p `cat /var/run/storm/ui.pid` >/dev/null 2>&1')\"}",
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)