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
I Am Trying To Run One Agent On My Local Machine And One Agent On A Vm

I am trying to run one agent on my local machine and one agent on a VM

  
  
Posted 7 months ago
Votes Newest

Answers 18


Do I need not make changes into clearml.conf so that it doesn't ask for my credentials or is there another way around

You have 2 options:

  • set credential inside cleaml.conf : i am not familiar with this and never test it.
  • or setup password less ssh with public key None
  
  
Posted 7 months ago

So the issue I am facing is, I am running the pipeline controller task on my local system agent and the steps of the pipeline on an agent running on GCP VM, the first step of the pipeline is failing showing clearml_agent: ERROR: Failed cloning repository.

  
  
Posted 7 months ago

because when I was running both agents on my local machine everything was working perfectly fine

This is probably you (or someone) had set up ssh public key with your git repo sometime in the past

  
  
Posted 7 months ago

because when I was running both agents on my local machine everything was working perfectly fine

  
  
Posted 7 months ago

Ok, it's cloning but it's asking for my github credentials

  
  
Posted 7 months ago

yes

  
  
Posted 7 months ago

you should be able to use as many agent as you want.
On the same or different queue

  
  
Posted 7 months ago

had you made sure that the agent inside GCP VM have access to your repository ? Can you ssh into that VM and try to do a git clone ?

  
  
Posted 7 months ago

Can you tell me how clearml get access to my repo even if I didn't pass any information about it?

  
  
Posted 7 months ago

(I never played with pipeline feature so I am not really sure that it works as I imagined ...)

  
  
Posted 7 months ago

with ssh public key, if from a terminal, I can do git clone, then so do the clearml agent, as it run on behalf of an local user. That apply to both local and VM

  
  
Posted 7 months ago

I use ssh public key to access to our repo ... Never tried to provide credential to clearml itself (via clearml.conf ) so I cannot help much here ...

  
  
Posted 7 months ago

one the same or different machine !

  
  
Posted 7 months ago

not sure how that work with Docker and machine that is not set up with ssh public key ... We will go to that path sometime in the future so I am quite interested too, on how people do it without ssh public key

  
  
Posted 7 months ago

there is a whole discussion about it here: None

  
  
Posted 7 months ago

so you mean when i ssh into my VM i need to do a git clone and then spin up the agent, right?

  
  
Posted 7 months ago

Do I need not make changes into clearml.conf so that it doesn't ask for my credentials or is there another way around

  
  
Posted 7 months ago

i need to do a git clone

You need to do it to test if it works. Clearml-agent will run it itself when it take in a task

  
  
Posted 7 months ago
468 Views
18 Answers
7 months ago
7 months ago
Tags
Similar posts