mirror of
				https://github.com/xcat2/confluent.git
				synced 2025-11-04 05:12:32 +00:00 
			
		
		
		
	Roll back rsync ownership
Unfortunately, it will try to change parent directories on the way to the files actually being written.
This commit is contained in:
		@@ -120,7 +120,7 @@ def sync_list_to_node(sl, node, suffixes):
 | 
			
		||||
                          os.path.join(targdir, suffixes['merge']), True)
 | 
			
		||||
        sshutil.prep_ssh_key('/etc/confluent/ssh/automation')
 | 
			
		||||
        output = subprocess.check_output(
 | 
			
		||||
            ['rsync', '-rvLpgotDAX', targdir + '/', 'root@{}:/'.format(node)], timeout=86400)
 | 
			
		||||
            ['rsync', '-rvLD', targdir + '/', 'root@{}:/'.format(node)], timeout=86400)
 | 
			
		||||
    except Exception as e:
 | 
			
		||||
        if 'CalledProcessError' not in repr(e):
 | 
			
		||||
            # https://github.com/eventlet/eventlet/issues/413
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user