ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-21531) Client component restart fails after Ambari upgrade while running custom hook script on Suse 11
Date Thu, 20 Jul 2017 11:07:00 GMT

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

Hudson commented on AMBARI-21531:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #1722 (See [https://builds.apache.org/job/Ambari-branch-2.5/1722/])
AMBARI-21531. Client component restart fails after Ambari upgrade while (aonishuk: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=9ff3d66a683e45b2257584bb65425fae255e5087])
* (edit) ambari-agent/src/test/python/resource_management/TestUserResource.py
* (edit) ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/shared_initialization.py
* (edit) ambari-common/src/main/python/resource_management/core/providers/accounts.py
* (edit) ambari-common/src/main/python/resource_management/core/base.py
* (edit) ambari-server/src/test/python/stacks/2.0.6/hooks/before-ANY/test_before_any.py
* (edit) ambari-common/src/main/python/resource_management/core/resources/accounts.py


> Client component restart fails after Ambari upgrade while running custom hook script
on Suse 11
> -----------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-21531
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21531
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.5.2
>
>         Attachments: AMBARI-21531.patch
>
>
> Seen in two cluster with Suse 11 SP4 OS
> **STR**
>   1. Deployed cluster with Ambari version: 2.4.2.0-136 and HDP version: 2.5.3.0-37 (secure
cluster, wire encryption enabled one cluster, disabled on second cluster)
>   2. Upgrade Ambari to 2.5.2.0-147 (hash: be22223a875972224d7eb420c783a9f2cbdc7157)
>   3. Regenerate keytabs post upgrade and then try to restart all services
> **Result:**  
> Observed errors at start of Falcon, HBase, Atlas clients:
>     
>     
>     
>     Traceback (most recent call last):
>       File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py",
line 35, in <module>
>         BeforeAnyHook().execute()
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 329, in execute
>         method(env)
>       File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py",
line 29, in hook
>         setup_users()
>       File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/shared_initialization.py",
line 51, in setup_users
>         groups = params.user_to_groups_dict[user],
>       File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line
155, in __init__
>         self.env.run()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 160, in run
>         self.run_action(resource, action)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 124, in run_action
>         provider_action()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/providers/accounts.py",
line 82, in action_create
>         shell.checked_call(command, sudo=True)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line
72, in inner
>         result = function(command, **kwargs)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line
102, in checked_call
>         tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line
150, in _call_wrapper
>         result = _call(command, **kwargs_copy)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line
303, in _call
>         raise ExecutionFailed(err_msg, code, out, err)
>     resource_management.core.exceptions.ExecutionFailed: Execution of 'usermod -u 1002
-G hadoop,hadoop -g hadoop hive' returned 11. usermod: `hadoop' is primary group name.
>     usermod: `hadoop' is primary group name.
>     usermod: UID 1002 is not unique.
>     Error: Error: Unable to run the custom hook script ['/usr/bin/python', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py',
'ANY', '/var/lib/ambari-agent/data/command-864.json', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY',
'/var/lib/ambari-agent/data/structured-out-864.json', 'INFO', '/var/lib/ambari-agent/tmp',
'PROTOCOL_TLSv1', '']Error: Error: Unable to run the custom hook script ['/usr/bin/python',
'/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py', 'START',
'/var/lib/ambari-agent/data/command-864.json', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START',
'/var/lib/ambari-agent/data/structured-out-864.json', 'INFO', '/var/lib/ambari-agent/tmp',
'PROTOCOL_TLSv1', '']
>     
> Suspect something to do with TLS v1 protocol on Suse 11.4
> Cluster: <https://172.22.85.148:8443> (alive for 48h)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message