I've installed ClearML test manager solution using ClearML Docker-Compose. So now the whole thing is running using 6 containers (webserver,apiserver,redis,elasticsearch,fileserver and mongodb). I'm running the default Cleanup Service - However the task is in pending state because there are no Workers configured for this queue. How do I configure a Worker for the default queue when ClearML is configured to run using Docker ?
Tried to run in locally . not using Docker .
Disclaimer: I'm a member of the ClearML team (formerly Trains)
I assume the cleanup service uses the services
queue. The server deployment already contains an agent (services-agent) that should be listening to this queue, but it's probably lacking the credentials to access the server (it's functioning as a normal client, so it needs credentials).
The docker-compose.yml for ClearML actually has a section that configures this, but it needs the environment variables CLEARML_API_ACCESS_KEY
and CLEARML_API_SECRET_KEY
to be defined. To define these, first go to the ClearML UI to your profile section, generate a new set of credentials and use their values for the environment variables. Than, once the environment variables are defined, restart docker-compose (using the docker-compose down
and docker-compose up
commands as shown in the installation and upgrade documentation).
The services agent should appear in the workers and queues page in the ClearML UI once the server is back up.