-
Hi, I'm currently setting up a buildbot using a multimaster configuration with a dedicated master for UI and several masters each responsible for a dedicated project. On those project masters all relevant objects (shedulers, reporters, builders) are configured. Builds are carried out on KubernetesLatentWorker, where each master has a dedicated set available. Is the initial setup idea possible at all? If not, is there a chance to change the setup to enable this behavior? My buildmaster config looks like this by default (aka exactly like this for the UI master. Builders, schedulers and workers are created through a YAML config for the project masters)
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
From what I read, your implementation looks good. It is supposed to work like this. Changes are supposed to be received by scheduler in this method. I have doubts however this setup is deployed in a lot of instances. Very few people are deploying multi-master. I usually suggest people to put schedulers in the UI master. the ClusterService is known not to work very well, i.e. election of which scheduler is active when a scheduler is configured on several master do not work very well. So maybe this is why you are the first to see this issue. |
Beta Was this translation helpful? Give feedback.
From what I read, your implementation looks good. It is supposed to work like this.
Changes are supposed to be received by scheduler in this method.
https://github.com/buildbot/buildbot/blob/master/master/buildbot/schedulers/base.py#L189
maybe you can put some debug logs there.
I have doubts however this setup is deployed in a lot of instances. Very few people are deploying multi-master.
I usually suggest people to put schedulers in the UI master. the ClusterService is known not to work very well, i.e. election of which scheduler is active when a scheduler is configured on several master do not work very well.
So maybe this is why you are the first to see this issue.