cirruslabs / orchard

Orchestrator for running Tart Virtual Machines on a cluster of Apple Silicon devices
Other
200 stars 17 forks source link

Orchard worker failing to add itself to controller #177

Closed PrashantRaj18198 closed 3 weeks ago

PrashantRaj18198 commented 6 months ago

Orchard worker is not able to register itself on the controller. It's saying

{"level":"warn","ts":1716178426.195953,"caller":"worker/worker.go:105","msg":"failed to register worker: API client encountered an API error to make a request: 409 Conflict (this worker is managed from a different machine ID, delete this worker first to be able to re-create it)"}

Is there a way to override the name of the worker?

edigaryev commented 3 weeks ago

this worker is managed from a different machine ID, delete this worker first to be able to re-create it

This is a safety mechanism to prevent two workers from updating on a single Worker resource in the API.

Is there a way to override the name of the worker?

Now there is: https://github.com/cirruslabs/orchard/pull/210.