icbinn_svc: Error:server.c:icbinn_prot_mkdir_1_svc:536:failed to create directory repo-download: errno 17

9 views
Skip to first unread message

Vaishali Dhakate

unread,
Jan 20, 2022, 4:59:42 PM1/20/22
to openxt
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.
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 .
But this error persists.
Please help.
Regards
Vaishali.
IMG_20220121_005318.jpg

Jason Andryuk

unread,
Jan 21, 2022, 8:01:35 AM1/21/22
to Vaishali Dhakate, openxt
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
Reply all
Reply to author
Forward
0 new messages