threefoldtecharchive / jumpscaleX_core

Apache License 2.0
1 stars 6 forks source link

syncer not working well #121

Closed despiegk closed 5 years ago

despiegk commented 5 years ago

image

shoud work from shell and from kosmos -p ... the 2nd one blocks it

AhmedHanafy725 commented 5 years ago

Verification steps:

1- Create 2 remote machines with ubuntu:18.04 2- install rsync in them both apt-get install -y rsync

3- In kosmos shell

cl1 = j.clients.ssh.get("test1", addr=<machine1 ip>, port=<machine1 port>)
cl2 = j.clients.ssh.get("test2", addr=<machine2 ip>, port=<machine2 port>)
syncer = j.tools.syncer.get("test")
syncer.sshclients_add([cl1, cl2])
syncer.sync(monitor=True)

and wait for syncer to finish. 4- Check both machines, code was copied. 5- Make some changes in code and create new files. 6- Check both machines, changes are found.

Verified