Bug 1271913
| Summary: | [devexp_public_681]oc rsync cannot work when the rsync command not installed locally | ||
|---|---|---|---|
| Product: | OKD | Reporter: | Wang Haoran <haowang> | 
| Component: | oc | Assignee: | Cesar Wong <cewong> | 
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Wei Sun <wsun> | 
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.x | CC: | aos-bugs, haowang, mbukatov, mmccomas | 
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-11-23 21:17:27 UTC | Type: | Bug | 
| Regression: | --- | Mount Type: | --- | 
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| 
 
        
          Description
        
        
          Wang Haoran
        
        
        
        
        
          2015-10-15 06:11:25 UTC
        
       
      
      
      
    test again using AMI:devenv-rhel7_2576 1. it works with absolute path . 2. and have problem with relative path, after rsync , the directory name changed.see the log: [root@ip-172-18-2-7 ~]# mkdir test [root@ip-172-18-2-7 ~]# echo "tet" >> test/testfile [root@ip-172-18-2-7 ~]# oc rsync ./test ruby-hello-world-2-udfux:/tmp W1028 02:05:32.654473 7498 rsync.go:106] rsync command not found in path. Please use your package manager to install it. st/testfile [root@ip-172-18-2-7 ~]# oc rsh ruby-hello-world-2-udfux bash-4.2$ ls -rlt /tmp total 20 -rw-------. 1 root root 0 Aug 26 11:54 yum.log -rwx------. 1 root root 663 Aug 26 11:56 ks-script-R4xZy7 -rw-r--r--. 1 root root 1879 Aug 26 11:56 anaconda-post.log drwxr-xr-x. 6 default default 4096 Oct 28 01:59 src -rw-r--r--. 1 1000030000 root 1 Oct 28 02:00 rack.pid drwxr-xr-x. 2 1000030000 root 4096 Oct 28 02:05 st bash-4.2$ ls -rlt /tmp/st total 4 -rw-r--r--. 1 1000030000 root 4 Oct 28 02:05 testfile The problem with relative directory name truncation has been fixed in https://github.com/openshift/origin/pull/5445 test again using AMI :devenv-rhel7_2589 1. can sync file using relative path 2. when the cannot sync to a not exited directory will track with this bug : https://bugzilla.redhat.com/show_bug.cgi?id=1276008  |