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
Need

Need a little help here;
I have a clearml server set up on another machine and clearml configured on my laptop(running in wsl) for some reason I can't seem to get the agents turning up on my server’s workers page

  
  
Posted one year ago
Votes Newest

Answers 32


those are the credentials you got from your self hosted server ?
what about the logs before the error ? i think it relevant to have them all. i try to isolate the error, and to understand if it comes from the cred, the servers addresses, a file error or a network error

  
  
Posted one year ago

can you show the logs ?

  
  
Posted one year ago

can you also check that you can access the servers ?
try to do curl http://<my server>:port for your different servers ? and share the results 🙂

  
  
Posted one year ago

2022-07-12 13:41:39,309 - clearml.Task - ERROR - Action failed <400/12: tasks.create/v1.0 (Validation error (error for field 'name'. field is required!))> (name=custom pipeline logic, system_tags=['development'], type=controller, comment=Auto-generated at 2022-07-12 08:11:38 UTC by mbz1kor@BMH1125053, project=2ecfc7efcda448a6b6e7de61c8553ba1, input={'view': {}})

Traceback (most recent call last):

File "main.py", line 189, in <module>

executing_pipeline( 

File "/home/mbz1kor/viper/lib/python3.8/site-packages/clearml/automation/controller.py", line 3253, in internal_decorator

a_pipeline = PipelineDecorator( 

File "/home/mbz1kor/viper/lib/python3.8/site-packages/clearml/automation/controller.py", line 2531, in _ init

super(PipelineDecorator, self).__init__( 

File "/home/mbz1kor/viper/lib/python3.8/site-packages/clearml/automation/controller.py", line 181, in _ init

self._task = Task.init( 

File "/home/mbz1kor/viper/lib/python3.8/site-packages/clearml/task.py", line 574, in init

task = cls._create_dev_task( 

File "/home/mbz1kor/viper/lib/python3.8/site-packages/clearml/task.py", line 2955, in _create_dev_task

task = cls( 

File "/home/mbz1kor/viper/lib/python3.8/site-packages/clearml/task.py", line 175, in _ init

super(Task, self).__init__(**kwargs) 

File "/home/mbz1kor/viper/lib/python3.8/site-packages/clearml/backend_interface/task/task.py", line 169, in _ init

 http://self.id  = self._auto_generate(project_name=project_name, task_name=task_name, task_type=task_type) 

File "/home/mbz1kor/viper/lib/python3.8/site-packages/clearml/backend_interface/task/task.py", line 343, in _auto_generate

res = self.send(req) 

File "/home/mbz1kor/viper/lib/python3.8/site-packages/clearml/backend_interface/base.py", line 109, in send

return self._send(session=self.session, req=req, ignore_errors=ignore_errors, raise_on_errors=raise_on_errors, 

File "/home/mbz1kor/viper/lib/python3.8/site-packages/clearml/backend_interface/base.py", line 103, in _send

raise SendError(res, error_msg) 

clearml.backend_interface.session.SendError: Action failed <400/12: tasks.create/v1.0 (Validation error (error for field 'name'. field is required!))> (name=custom pipeline logic, system_tags=['development'], type=controller, comment=Auto-generated at 2022-07-12 08:11:38 UTC by mbz1kor@BMH1125053, project=2ecfc7efcda448a6b6e7de61c8553ba1, input={'view': {}})


  
  
Posted one year ago

So I'm trying to run my pipeline file that runs a pipeline locally and logs metrics and stuff to the clearml server

  
  
Posted one year ago

This is the error that I get:

  
  
Posted one year ago

can you describe the issue ?

  
  
Posted one year ago

can you share some code ? about how you build the pipeline

  
  
Posted one year ago

I see some points that you should fix
in the train step, you return 2 items but you have only one in its decorator: add mock do you really need to init a task in the pipeline controller ? you will automatically get one when executing the pipeline

  
  
Posted one year ago

SuccessfulKoala55 Any leads f or the above error i n running the script?

  
  
Posted one year ago

That aside, adding mock doesn't really change the error above though

  
  
Posted one year ago

When the pipeline or any step is executed, a task is created, and it name will be taken from the decorator parameters. Additionally, for a step, the name parameter is optional : if not provided, the function name will be used instead.

It seems to me that your script fails creating the pipeline controller task because it fails pulling the name parameter. which is weird ... Weird because in the last error line, we can see that name !

  
  
Posted one year ago

This issue was due to a wsl proxy problem; wsl’s host name couldn't be resolved by the server and that became a problem for running agents. It works fine on Linux machines so far, however.
So no worries :D

  
  
Posted one year ago

Tried all three solutions right now;
Oddly enough it doesn't work :(

  
  
Posted one year ago

I had initially just pasted the new credentials in place of the existing ones in my conf file;
Running clearml-init now fails at verifying credentials

  
  
Posted one year ago

(without the actual credentials, of course)

  
  
Posted one year ago

I have hidden the host name as well

  
  
Posted one year ago

I replaced local host with the host name of the server in the credentials

  
  
Posted one year ago

That's alright?

  
  
Posted one year ago

Simple doubt

  
  
Posted one year ago

i dont know if it will help but here is what i would test :
remove temporary the task init in the controller use name and project parameters that dont have spaces in their name dont use services as a default queue

  
  
Posted one year ago

WickedElephant66 can you share an example?

  
  
Posted one year ago

Exactly what I thought;
That's so odd

  
  
Posted one year ago

What exact ly does the error mean

  
  
Posted one year ago

image

  
  
Posted one year ago

image

  
  
Posted one year ago

just the error messages you get when clearml-init fails

  
  
Posted one year ago

How do I access the logs of the init process?

  
  
Posted one year ago

Configuration completed now; I t was a proxy issue from my end
However running my pipeline from a different m achine still gives me a problem

  
  
Posted one year ago

Yes they have been set up as per the new credentials created on the server

  
  
Posted one year ago
546 Views
32 Answers
one year ago
12 days ago
Tags
Similar posts