Thursday, 2025-03-20

-@gerrit:opendev.org- Zuul merged on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com: [zuul/zuul] 944159: Remove unused provider methods https://review.opendev.org/c/zuul/zuul/+/94415900:22
-@gerrit:opendev.org- Clark Boylan proposed on behalf of Joseph Kostreva: [zuul/zuul] 933138: Add zuul regex support to project definitions https://review.opendev.org/c/zuul/zuul/+/93313801:21
@joao15130:matrix.orgHi guys, is there a way to tell Zuul to recreate an authohold request once the previous one is deleted? Or in other words is there any way to release a nodepool instance without the need to delete the autohold request?06:41
@flaper87:matrix.orgIn our case, we do because it's a configmap in k8s. So, we update that one and restart the pod.08:07
@flaper87:matrix.orgInteresting! Do you have more context on why this was done? Curious to learn more :) 08:07
@flaper87:matrix.orgI will answer my own question with a link to the commit: https://opendev.org/zuul/zuul/commit/8dab278845c97a55c0047b0f5d93d1d25f92927808:13
@flaper87:matrix.orgthat makes sense, thanks 08:13
@dpawlik:matrix.orgClark: do you think that if I increase "rate" from 1.0 to 5 would help?09:20
@tristanc_:matrix.orgdpawlik: it's unlikely to affect the provider "responsiveness" because the rate should be handled by the individual request handler, not the main PoolWorker. It looks like we need something else to accommodate the latency of remote launchers, or change the scheduling logic to ensure more fairness.11:28
@tristanc_:matrix.orgClark: do you think it would be reasonable to periodically measure the PoolWorker latency (e.g. using ping request), and give enough time for every launcher to accept a request before selecting and running the handler?11:49
@fungicide:matrix.orgtristanc_: a launcher's responsiveness doesn't necessarily rely on network round-trip time, there are many more factors which could influence it. if you really wanted to be sure every launcher got a turn, you'd need something akin to a token ring13:21
-@gerrit:opendev.org- Felix Edel proposed: [zuul/zuul] 945104: Fix promote event handling for github changes https://review.opendev.org/c/zuul/zuul/+/94510413:23
-@gerrit:opendev.org- Felix Edel proposed: [zuul/zuul] 945104: Fix promote event handling for github changes https://review.opendev.org/c/zuul/zuul/+/94510413:25
-@gerrit:opendev.org- Felix Edel proposed: [zuul/zuul] 945104: Fix promote event handling for github changes https://review.opendev.org/c/zuul/zuul/+/94510414:02
@clarkb:matrix.orgtristanC: fungi: is right you could have the lowest point but longest boot process. You really need a measure of noderequest throughput and then coordination around that. I'm not even sure I understand what you would measure the ping between?14:29
@clarkb:matrix.orgIncreasing the rate on fast providers would in theory slow them down some perhaps enough to allow slow providers to have a turn 14:29
@clarkb:matrix.org* @tristanc_:matrix.org: @fungicide:matrix.org: is right you could have the lowest ping but longest boot process. You really need a measure of noderequest throughput and then coordination around that. I'm not even sure I understand what you would measure the ping between?14:30
@tristanc_:matrix.orgClark: I'm also not sure how to fix that, it's just that presently we have nodepool-launchers far from our control plane, and their providers are almost never used because the local launcher accept the request too fast.14:34
@tristanc_:matrix.org* Clark: I'm also not sure how to fix that, it's just that presently we have nodepool-launchers far from our control plane, and their providers are almost never used because the local launcher accepts the requests too fast.14:34
@jim:acmegating.comflaper87: see https://gerrit.googlesource.com/zuul/ops/+/refs/heads/master/playbooks/deploy.yaml for an idea of how to fix that14:36
@jim:acmegating.comtristanC: i expect nodepool in zuul to address that, at least to some extent.  so i wouldn't recommend over-engineering something now.14:37
@tristanc_:matrix.orgcorvus: I agree, for now we are using dedicated label to spread our workload, and we are looking forward using nodepool in zuul too!14:40
@clarkb:matrix.orghttps://unix.stackexchange.com/questions/669232/how-to-throttle-bandwidth-of-ssh-connection something like this between the fast launcher and zookeeper?14:42
@clarkb:matrix.orgThat's a total hack but should have the desired effect 14:42
@flaper87:matrix.orgThanks! Ya, need to implement something similar. Tricky thing is that zuul-scheduler needs to be running. I was hoping to put this inside an initContainer but that would require to run scheduler, wait for it, run smart-reconfigure, etc. At that point, it may be easier to just run a sidecar container or a job that calls smart-reconfigure14:47
-@gerrit:opendev.org- Tony Breeds proposed: [zuul/nodepool] 944118: Add Non-voting noble job https://review.opendev.org/c/zuul/nodepool/+/94411816:39
-@gerrit:opendev.org- Tony Breeds proposed: [zuul/nodepool] 944118: Add Non-voting noble job https://review.opendev.org/c/zuul/nodepool/+/94411817:07
@ratmice:matrix.orgHi, I was curious if people had experience using zuul with rust and cross repository changes.  In the sense that I could imagine it would require a custom cargo package registry to distribute the modified package when one change proposes a version bump.  So, I'm curious if this is something people have experience with?18:05
@fungicide:matrix.orgratmice: i don't know much about rust, but if cargo can't install from git repositories, then yeah probably something similar to how we do speculative container references with buildset and intermediate registries could be a solution18:07
@mnaser:matrix.orgHi ratmice !  we use zuul with rust and nice to see people exploring it. 18:07
I was actually thinking of working on something for this if people have interest, specifically I think the easiest way for this is to leverage the patch function of cargo to point to the locally checked out repo by Zuul!
@mnaser:matrix.orghttps://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch-section18:08
@mnaser:matrix.orgIt would just be a matter of checking the required projects, matching crate names and updating the cargo.toml prior to starting whatever you need to do. 18:08
@ratmice:matrix.orgOh yeah, I could definitely see how that might work and be less involved18:09
@mnaser:matrix.orgSo Zuul takes care of checking out all the repos on disk and we would just need to massage the cargo file really18:09
@clarkb:matrix.orghttps://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-git-repositories https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-path-dependencies and https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#multiple-locations seem relevant18:10
@fungicide:matrix.orgoh, in that case could something similar to the python siblings handler work?18:10
@clarkb:matrix.orglooks like you might be able to specify a dependency either from git or as a local path. Then set multiple dependencies with some perference hierarchy?18:10
@fungicide:matrix.orgbasically auto-delect from the required-projects list and then hack the manifest on the fly to replace crate references with the direct git repo paths in the workspace18:11
@clarkb:matrix.orgI'm not sure if multiple dependency locations is better or worse toe dynamic but explicit patch sections18:12
@mnaser:matrix.org> <@fungicide:matrix.org> basically auto-delect from the required-projects list and then hack the manifest on the fly to replace crate references with the direct git repo paths in the workspace18:12
yup! pretty much the same exact playbook :)
@clarkb:matrix.orgbut it does seem cargo has enough flexibility to make something work18:12
@fungicide:matrix.orgagreed, the sorts of hoops we jump through for speculative container builds would almost certainly be overkill for this18:13
@fungicide:matrix.orgseems like the rust ecosystem is not nearly as pathological as the docker ecosystem18:14
@clarkb:matrix.org* I'm not sure if multiple dependency locations is better or worse compared to dynamic but explicit patch sections18:14
@mnaser:matrix.orgI think it’s possible someone just needs the time to work on that for sure 18:17
@ratmice:matrix.orgWell, i'll definitely give it a go if I can get the others to agree on trying out zuul, but it is at this point just something I imagine could help.  But if I do get further I'll definitely spend some time on it.18:24
@mnaser:matrix.orgI’m more than willing to help review and get that through if you wind up walking that path :) you can consider it done. We also have already a bunch of base jobs we can push up for cargo base/clippy/etc18:25
-@gerrit:opendev.org- Zuul merged on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com: [zuul/zuul] 944160: AWS: add security-group-id support https://review.opendev.org/c/zuul/zuul/+/94416018:29
@clarkb:matrix.orgAurelio Jargas: I have reviewed that ensure-python-command role change. I have a few questions/thoughts but nothing unexpected18:40
@clarkb:matrix.orgAurelio Jargas: let me know if you have questions with what I posted to the change18:40
@clarkb:matrix.orgAurelio Jargas: I also just had a thought that you could push changes to say zuul/zuul that depends on https://review.opendev.org/c/zuul/zuul-jobs/+/941490 in order to see zuul's use of nox run through the new ensure-nox role18:53
@clarkb:matrix.orgI don't know that that is super necessary as we do have testing of things otherwise I think. But might be a nice double check with real world jobs18:53
-@gerrit:opendev.org- Zuul merged on behalf of Simon Westphahl: [zuul/zuul] 944967: Run a deduplicated job if it matches any change https://review.opendev.org/c/zuul/zuul/+/94496719:08
@ratmice:matrix.orgFWIW, since I didn't really explain how what I was thinking about doing with cargo would work, and why I think it has some benefits20:08
@ratmice:matrix.orgCargo has a thing called [registries](https://doc.rust-lang.org/cargo/reference/registries.html) you can change the default from crates.io to your own registry via [.cargo/config.toml](https://doc.rust-lang.org/cargo/reference/config.html)20:09
@ratmice:matrix.orgThe nice thing is you don't have to mirror cargo's dependency resolution (where you can depend upon multiple versions of a crate), or modify the Cargo.toml at all20:10
@ratmice:matrix.orgI think you'd just need to recognize that a version number was bumped, and make that release available on a local registry, otherwise that falls back to crates.io registry20:11
@ratmice:matrix.orgIt *might* be a bit more involved than trying to modify Cargo.toml but I think it might avoid some hairy problems20:12
@ratmice:matrix.orgAnyhow, they are probably both approaches worth investigating20:13
@clarkb:matrix.orgratmice: we use a similar approach with container image registries. But in those cases we're largely forced into it due to lack of alternatives20:14
@jim:acmegating.comyeah, both are likely possible; patch and cargo.toml are likely to be lightweight solutions, an external registry is more involved.  but we have examples of both patterns with zuul.20:19
@fungicide:matrix.orgthe good, the bad, and the ugly20:28
-@gerrit:opendev.org- Zuul merged on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com: [zuul/zuul] 944161: AWS: Add imdsv2 support https://review.opendev.org/c/zuul/zuul/+/94416122:16
-@gerrit:opendev.org- Clark Boylan proposed on behalf of Joseph Kostreva: [zuul/zuul] 933138: Add zuul regex support to project definitions https://review.opendev.org/c/zuul/zuul/+/93313823:21
-@gerrit:opendev.org- Ruisi Jian proposed: [zuul/zuul] 945175: WIP: fix file comment line mapping https://review.opendev.org/c/zuul/zuul/+/94517523:50

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!