ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-14064) Sometimes Supervisor Stop is failed when try to enable AD security (Upgrade from 2.1.1 to 2.1.3.0)[resource_management.core.exceptions.Fail]
Date Wed, 25 Nov 2015 13:41:10 GMT
Andrew Onischuk created AMBARI-14064:
----------------------------------------

             Summary: Sometimes Supervisor Stop is failed when try to enable AD security (Upgrade
from 2.1.1 to 2.1.3.0)[resource_management.core.exceptions.Fail]
                 Key: AMBARI-14064
                 URL: https://issues.apache.org/jira/browse/AMBARI-14064
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 2.1.3


STR: **Cluster:**<http://172.22.94.137:8080/#/main/services/STORM/summary>  
1)Deploy old version  
3)Enable security (AD)  
4)Make Ambari only upgrade to 2.1.3.0  
5)Disable security  
5)Enable NN,RM HA (optional steps0  
6)Try to Enable security (AD)

Actual results:  
Sometimes Supervisor Stop is failed when try to disable AD security

    
    
    
    stderr:   /var/lib/ambari-agent/data/errors-2087.txt
    
    Traceback (most recent call last):
      File "/var/lib/ambari-agent/cache/common-services/STORM/0.9.1.2.1/package/scripts/supervisor.py",
line 104, in <module>
        Supervisor().execute()
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 218, in execute
        method(env)
      File "/var/lib/ambari-agent/cache/common-services/STORM/0.9.1.2.1/package/scripts/supervisor.py",
line 95, in stop
        service("logviewer", action="stop")
      File "/var/lib/ambari-agent/cache/common-services/STORM/0.9.1.2.1/package/scripts/service.py",
line 85, 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
156, in run
        self.run_action(resource, action)
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line
119, in run_action
        provider_action()
      File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
line 238, 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 28846
    12788' returned 127. kill 28846: No such process
    /bin/bash: line 1: 12788: command not found
    stdout:   /var/lib/ambari-agent/data/output-2087.txt
    
    2015-11-20 07:35:40,385 - call['ambari-sudo.sh su storm -l -s /bin/bash -c '! test -f
/var/run/storm/logviewer.pid ||  cat /var/run/storm/logviewer.pid 1>/tmp/tmp_fmDns 2>/tmp/tmptXWeqo'']
{'quiet': False}
    2015-11-20 07:35:40,452 - call returned (0, '')
    2015-11-20 07:35:40,453 - Execute['ambari-sudo.sh kill 28846
    12788'] {'not_if': "! (ambari-sudo.sh su storm -l -s /bin/bash -c 'ls /var/run/storm/logviewer.pid
>/dev/null 2>&1 && ps -p `cat /var/run/storm/logviewer.pid` >/dev/null
2>&1')"}
    





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message