-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
renterd worker-only node fails to start-up #1302
Comments
What commit is your bus on? |
it also did a migration before this error occurred
|
Looks like enabling worker (RENTERD_WORKER_ENABLED = true) on bus container solved the issue, worker containers are now starting without any problem. Also, error message suggests that error is related to worker container, not the bus one |
Hm ok so definitely related to the worker cache PR. I tested a multi node cluster setup though before moving it into review. This is the
This is the
This works for me on latest |
For me it works only if I have worker enabled on bus https://www.youtube.com/watch?v=PbcckHtLgac
and workers
edit:
|
Could you add I think we should add some hardening when users configure |
bus
bus logs
worker log
it isn't starting anymore |
Ok, well it's because of your worker config. It's the worker's http config that defaults to |
@artur9010 I opened a PR #1324 to allow you to specify the worker's API endpoint, thank you for reporting it |
Wouldn't adding a requirement to specify workers addrs make it harder to add additional worker without downtime?
In my case where I run renterd inside k8s cluster I generate and specify worker's addrs inside pod template, any change to it (eq. scale up/down) requires to delete and recreate a pod. Workers can't work without bus, but bus needs to know worker addresses before start. While I think it is ok to specify worker addrs for autopilot (as it can be run outside of bus) - in contrast to bus it can be restarted without causing any issue, bus imo shouldn't need that - workers should register to bus somehow (maybe an option to specify node port and ip in worker and add some heartbeat to workers) I guess that bus will proxy all |
Hm, well it's definitely a use case I'm not familiar with, I've never set up Edit: re-reading your comment I think the confusion comes from the fact that it is unclear what service depends on what config. I'll look into documenting that, for instance, the |
Current Behavior
Looks like renterd worker-only node fails to start up, it tries to connect to itself and gets 404
envs passed to workers:
Expected Behavior
Start without failing
Steps to Reproduce
No response
Version
c7b80d4
What operating system did the problem occur on (e.g. Ubuntu 22.04, macOS 12.0, Windows 11)?
Ubuntu 22.04, kubernetes (https://github.com/artur9010/charts/tree/master/renterd)
Autopilot Config
probably not needed
Bus Config
probably not needed
Contract Set Contracts
probably not needed
Anything else?
No response
The text was updated successfully, but these errors were encountered: