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 one year ago
Votes Newest

Answers 18


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 one year ago

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

  
  
Posted one year ago

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

  
  
Posted one year 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 one year 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

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 one year 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 one year 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 one year ago

yes

  
  
Posted one year ago

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

  
  
Posted one year 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 one year 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 one year ago

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

  
  
Posted one year ago

one the same or different machine !

  
  
Posted one year 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 one year ago

there is a whole discussion about it here: None

  
  
Posted one year ago

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

  
  
Posted one year 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 one year 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 one year ago
850 Views
18 Answers
one year ago
one year ago
Tags
Similar posts