Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hey, We Have An Issue After Migrating To V1.0.2 From 0.17.

Hey, we have an issue after migrating to v1.0.2 from 0.17. clearml-agent-services kept restarting (ran sudo docker ps ).

We used the AMI ( ami-0a4224787c2f50fe9 )

Running sudo docker logs clearml-agent-services gives:

clearml_agent: ERROR: Failed getting token (error 401 from 
): Unauthorized (invalid credentials) (failed to locate provided credentials)

I manually ran the container using sudo docker run -it allegroai/clearml-agent-services:latest and it no longer continued to restart.

We automate a shutdown every evening and the server starts again in the morning. I noticed this morning that container allegroai/clearml-agent-services:latest did not automatically start.

  
  
Posted 3 years ago
Votes Newest

Answers 3


Hi @<1687643893996195840:profile|RoundCat60> ,

What are the credentials that are referred to in the logs? Where do I get these?

These are part of the server's docker-compose configuration. See here: None

How do I ensure this container is run automatically if it keeps restarting using the docker-compose file

I'm not sure I understand - docker-compose will constantly try to run the container. Right now, it's failing, so it just keeps trying.

If I run 

sudo docker run -it allegroai/clearml-agent-services:latest

 manually, do I need to put this in a crontab? My knowledge of running docker containers is a bit limited.

There's no need to use crontab as this is handled by docker-compose

Does this service need to run if I already have a clearml-agent running on a separate instance?

This is a complementary server service - it's not required and nothing else depends on it - it's just a convenience for executing cpu-only maintenance tasks (services) on the server's machine - you can absolutely disable it if you don't need it (or even just ignore the errors 😄 )

  
  
Posted 3 years ago

  • What are the credentials that are referred to in the logs? Where do I get these?
  • How do I ensure this container is run automatically if it keeps restarting using the docker-compose file?
  • If I run sudo docker run -it allegroai/clearml-agent-services:latest manually, do I need to put this in a crontab? My knowledge of running docker containers is a bit limited.
  • Does this service need to run if I already have a clearml-agent running on a separate instance?
  
  
Posted 3 years ago

Thank you very much 🙂 I don't think our Data team ever use this container so I will stop it for now and comment it from the compose file

  
  
Posted 3 years ago
465 Views
3 Answers
3 years ago
7 months ago
Tags