On Thu, Jan 20, 2022 at 4:59 PM Vaishali Dhakate
<
vaishali...@networkmarvels.com> wrote:
>
> Dear openxt Team,
> I am able to make connection between synchronizer server and openxt client. I have a repo file on the server which the client is trying to download.
> But it is stuck and does not go past 0%. Which is probably due to this error.
> It has created the xxxxxxx.tar.partial file in the repo-download directory . But it is showing 0 size.
> I have attached a screenshot /image of the logs.
errno 17 is EEXIST. sync_client/client.py:download() always calls
icbinn.makedirs(dirname(destination)), so that isn't a problem.
> I have changed the context according to Jasons reply
> chcon -t updatemgr_sync_client_storage_t /storage/sync/klc/repo
> /storage/sync/klc/repo-download .
Have you tried `setenforce 0` in dom0 to see if that makes a
difference? But i don't think that is the problem.
If you look at sync_client/client.py:download(), you see that it forks
curl to download the file. If you sshargo into your syncvm, can you
run `ps` and see curl? Maybe strace curl or sync-client to see what
they are doing?
Regards,
Jason