Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
1.2.5
-
None
Description
Tested on current 1.2.5 brunch. The scenario is broken because there is no sudo effect when doing scp. That's why we can't directly replace remote file when doing scp as a passwordless sudo user. But we still can copy file to some temporary directory and then make "sudo mv" it to the target dir.
STDOUT STDERR STDOUT Cluster primary OS type is redhat6 and local OS type is centos6 STDERR Connection to va21.name closed. STDOUT sudo-1.8.6p3-7.el6.x86_64 STDERR Connection to va21.name closed. STDOUT STDERR scp: /etc/yum.repos.d/ambari.repo: Permission denied
I'm going to revert patch https://issues.apache.org/jira/browse/AMBARI-2679 and fix the source issue in another way. The patch will be done only for 1.2.5 brunch, because for trunk we have a fully refactored bootstrap.py patch at AMBARI-2713 that has not this issue.