Reputation
Badges 1
27 × Eureka!Hi Jake! The clearml.conf file content is exactly the api section that is given by our clearml server, copied using the copy button, something like
api {
web_server: http:// .. :8080
api_server: http:// .. :8008
files_server: http:// .. :8081
credentials {
"access_key" = "KEY"
"secret_key" = "SECRET"
}
}
clearml version 1.9.0
The strange thing is that the configuration works perfectly on my machine. My coworker’s machine does have a different p...
Additionally, I have found it helpful to take a look into the agent’s working directory. With the python error should be the location of the script, and it may tell you a bit more by browsing that directory
Would this then be possible by cloning the task (which is a pipeline) and accessing the right subtask (the component which should be changed)?
Still have no clue, something going wrong when reading the file due to certain encoding? Due to windows? Or maybe python?
So we got it! Still don’t understand it though.
I generated the credentials on the web ui and sent them to my coworker, they did not work at all.
He generated his own credentials and they work!
Switched off the windows defender FW, no load balancer present, still not working 😕
Personally I’ve found this (sort-of hacky) approach to work, by passing your git credentials as environment variables to the agent’s docker and cloning the repo in the code. You’ll have to make sure you have the right packages installed though.
` if 'GIT_USER' in os.environ:
git_name, git_pass = os.environ['GIT_USER'], os.environ['GIT_PASS']
call(f'git clone https://{git_name}:{git_pass}@gitlab.com/myuser/myrepo', shell=True)
global myrepo
from myrepo import func
elif local_re...