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
Hello! How Do You Manage Ssh Github Connection & The Clearml Agent In A Services Mode (One That Has To Be Run In The Container)? When I Try To Run A Pipeline With The Service Queue It Fails To Connect. The Reasons For That As I Can See Is That It Runs In

Hello! How do you manage SSH github connection & the ClearML agent in a services mode (one that has to be run in the container)?

When I try to run a pipeline with the service queue it fails to connect. The reasons for that as I can see is that it runs inside a docker container. If I specify the default queue for the pipe to be the queue I've started directly on the host it's all good then, but slow as hell.

  
  
Posted one month ago
Votes Newest

Answers 11


Hi @<1717350332247314432:profile|WittySeal70> , you can simply change the service definition for the services agent in the server's docker compose so that the host's .ssh folder will be mapped into the services agent container, this should allow it to use the SSH key there to connect to GitHub

  
  
Posted one month ago

And one more thing that relates to the q#1 - is it safe to use more resent base image for agent-services service in docker compose? I see the specified latest tag point to image which was updated like 3 years ago..

  
  
Posted one month ago

Yes, looks like the solution, I've been working on it for the past 5min
Will let you know:)

  
  
Posted one month ago

Hey, @<1523701087100473344:profile|SuccessfulKoala55> it works!) Thanks:)

Two more questions, if you will.

  • For a regular worker I can specify python executable using agent.python_binary setting. How can I do in for a service worker? Should I tweak it inside the container as well?
  • (kinda stupid question) Do you know if specifying agent.git_user & agent.git_pass using https works for github as it requires 2FA now?
  
  
Posted one month ago

Error I've got:
image

  
  
Posted one month ago

Hi @<1717350332247314432:profile|WittySeal70> , are you using a self hosted server or the community?

  
  
Posted one month ago

Hi! Self hosted.

  
  
Posted one month ago

Hi @<1717350332247314432:profile|WittySeal70> , to address your questions:

  • I think you can control it from here basically - None going through the route of the docker compose I found it - None . Regarding the image, I think you can use another image but the services agent is only for running pipeline controllers which are simply logic controllers.
  • You might need to perform 2FA on the machine first
  
  
Posted one month ago

Thanks a lot @<1523701070390366208:profile|CostlyOstrich36> ! Will take a look in a few hours.

  
  
Posted one month ago

@<1523701087100473344:profile|SuccessfulKoala55> could you assist, please?

  
  
Posted one month ago

And here's when I've tried to test the connection within the agent's container
image

  
  
Posted one month ago
129 Views
11 Answers
one month ago
one month ago
Tags
Similar posts