mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 17:43:14 +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:
parent
a676eb0b83
commit
c0287e93ed
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user