[
https://issues.apache.org/jira/browse/AMBARI-12291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14615258#comment-14615258
]
Hudson commented on AMBARI-12291:
---------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #3057 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/3057/])
AMBARI-12291. RU: Finalize Upgrade failed with non-root + umask 027 (aonishuk)
(aonishuk:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=1c6c6a4596de24aa19557a765243b51f3ee04563)
* ambari-server/src/test/python/custom_actions/test_ru_execute_tasks.py
* ambari-server/src/main/resources/custom_actions/scripts/ru_set_all.py
* ambari-server/src/test/python/custom_actions/test_ru_set_all.py
* ambari-server/src/main/resources/custom_actions/scripts/ru_execute_tasks.py
> RU: Finalize Upgrade failed with non-root + umask 027
> -----------------------------------------------------
>
> Key: AMBARI-12291
> URL: https://issues.apache.org/jira/browse/AMBARI-12291
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.1.0
>
>
> **STR**:
> 1) Non-root server, agents, umask 027, custom service names.
> 2) Deploy Zk, HDFS, Hbase
> 3) Perform RU 2.2 -> 2.3
> On finalize step:
>
>
> Traceback (most recent call last):
> File
> "/var/lib/ambari-agent/cache/custom_actions/scripts/ru_execute_tasks.py",
> line 159, in <module>
> ExecuteUpgradeTasks().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/custom_actions/scripts/ru_execute_tasks.py",
> line 156, in actionexecute
> raise Fail(out)
> resource_management.core.exceptions.Fail: 2015-06-30 17:24:57,579 -
> call['/usr/bin/yum clean all'] {}
> 2015-06-30 17:24:57,785 - call returned (1, 'Loaded plugins:
> fastestmirror\nError: Error accessing file for config
> file://///etc/yum.repos.d/HDP-2.3.0.0-2500.repo')
> 2015-06-30 17:24:57,785 - Command: /usr/bin/yum clean all
> Code: 1, Out: Loaded plugins: fastestmirror
> Error: Error accessing file for config
> file://///etc/yum.repos.d/HDP-2.3.0.0-2500.repo
> 2015-06-30 17:24:57,786 - call['hdp-select set all 2.3.0.0-2500'] {}
> 2015-06-30 17:24:57,805 - call returned (1, 'Traceback (most recent call
> last):\n File "/usr/bin/hdp-select", line 373, in <module>\n
> setPackages(pkgs, args[2], options.rpm_mode)\n File "/usr/bin/hdp-select",
> line 265, in setPackages\n os.remove(linkname)\nOSError: [Errno 13]
> Permission denied: \'/usr/hdp/current/accumulo-client\'')
> 2015-06-30 17:24:57,806 - Command: hdp-select set all 2.3.0.0-2500
> Code: 1, Out: Traceback (most recent call last):
> File "/usr/bin/hdp-select", line 373, in <module>
> setPackages(pkgs, args[2], options.rpm_mode)
> File "/usr/bin/hdp-select", line 265, in setPackages
> os.remove(linkname)
> OSError: [Errno 13] Permission denied: '/usr/hdp/current/accumulo-client'
> 2015-06-30 17:24:57,806 - Linking /etc/zookeeper/conf to
> /usr/hdp/current/zookeeper-client/conf
> 2015-06-30 17:24:57,806 - Execute['ambari-sudo.sh -H -E cp -R -p
> /etc/zookeeper/conf /etc/zookeeper/conf.backup'] {'logoutput': True}
> Traceback (most recent call last):
> File
> "/var/lib/ambari-agent/cache/custom_actions/scripts/ru_set_all.py", line 103,
> in <module>
> UpgradeSetAll().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/custom_actions/scripts/ru_set_all.py", line 69,
> in actionexecute
> link_config(v['conf_dir'], v['current_dir'])
> File
> "/var/lib/ambari-agent/cache/custom_actions/scripts/ru_set_all.py", line 100,
> in link_config
> os.symlink(link_conf, old_conf)
> OSError: [Errno 17] File exists
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)