Unanswered
Hello, I use
```'-e', 'CLEARML_AGENT_AGENT_DOCKER_INTERNAL_MOUNTS__SDK_CACHE=/home/username/clearml_agent_cache',```
yet my mount looks like this
```'-v', '/home/clearml/.clearml/cache:/clearml_agent_cache',```
I want clearml to use `/home/username/clearm
thanks @<1715900788393381888:profile|BitingSpider17> for attaching the log it really helps/
Notice from the log:
'-v', '/home/clearml/.clearml/cache:/clearml_agent_cache'
and as expected we also get:
sdk.storage.cache.default_base_dir = /clearml_agent_cache
Yet I can see the error you pointed:
FileNotFoundError: [Errno 2] No such file or directory: '/clearml_agent_cache/storage_manager/datasets'
Now, could it be that the same folder is used for both root and Non-root containers?
What I suspect happened is a "root" container, created the sub-directory /clearml_agent_cache/storage_manager
and now the non-root container is trying to access it and fails.
You can quickly verify that by running ls on the host machine cache folder ls -la /home/clearml/.clearml/cache
Of course it can be quickly fixed with sudo chmod 777 -R /home/clearml/.clearml/cache
My question here is are you mixing two types of non-root & root containers ?
67 Views
0
Answers
4 months ago
4 months ago