Tuesday, 2021-07-20

opendevreviewPaul Belanger proposed zuul/nodepool master: Add release note for previous commit  https://review.opendev.org/c/zuul/nodepool/+/80140300:03
pabelanger[m]done, thanks!00:04
clarkb+200:05
*** swest[m] is now known as swest05:20
*** rpittau|afk is now known as rpittau07:07
opendevreviewSimon Westphahl proposed zuul/zuul master: Log result payload size of merger jobs  https://review.opendev.org/c/zuul/zuul/+/80142207:54
opendevreviewSimon Westphahl proposed zuul/zuul master: Copy tenants dictionary before modification  https://review.opendev.org/c/zuul/zuul/+/80143910:02
opendevreviewSimon Westphahl proposed zuul/zuul master: Sort tenant list by name  https://review.opendev.org/c/zuul/zuul/+/80144210:17
opendevreviewSimon Westphahl proposed zuul/zuul master: Use a temp ZK config cache for tenant validation  https://review.opendev.org/c/zuul/zuul/+/80080010:26
opendevreviewSimon Westphahl proposed zuul/zuul master: Use a temp ZK config cache for tenant validation  https://review.opendev.org/c/zuul/zuul/+/80080011:45
opendevreviewFelix Edel proposed zuul/zuul master: Make reporting asynchronous  https://review.opendev.org/c/zuul/zuul/+/69125312:19
opendevreviewJames E. Blair proposed zuul/zuul master: Shard event queue data  https://review.opendev.org/c/zuul/zuul/+/80140213:27
corvusswest: ^ that implements your suggestion13:28
opendevreviewFelix Edel proposed zuul/zuul master: Execute merge jobs via ZooKeeper  https://review.opendev.org/c/zuul/zuul/+/78768613:30
opendevreviewMerged zuul/nodepool master: Add release note for previous commit  https://review.opendev.org/c/zuul/nodepool/+/80140314:30
*** dviroel is now known as dviroel|lunch14:54
clarkbcorvus: I'll take a look at https://review.opendev.org/c/zuul/zuul/+/801402/ after breakfast too15:02
pabelanger[m]clarkb: corvus: thanks for approving. Could I request a 4.2.2 release of nodepool?15:09
corvuszuul-maint: does this look good for nodepool?  commit 20358459769a4fad29cd0a7173547f8f2e37eb32 (HEAD -> master, tag: 4.2.2, origin/master, refs/changes/03/801403/2)15:33
clarkb20358459769a4fad29cd0a7173547f8f2e37eb32 as 4.2.2 lgtm. pabelanger[m]'s change is the only one after 4.2.115:35
fungiwell, almost. it's two changes but one adds the release note for that15:43
fungiregardless, i agree that looks like a fine 4.2.2 candidate15:43
clarkbcorvus: left some questions for you on https://review.opendev.org/c/zuul/zuul/+/801402/15:47
corvuspushed 4.2.215:48
opendevreviewMatthieu Huin proposed zuul/zuul-client master: API client: Enable CORS compatibility  https://review.opendev.org/c/zuul/zuul-client/+/80150715:50
corvusclarkb: replied; i think maybe i didn't communicate effectively what was being sharded (only the data, not the metadata)15:54
clarkbcorvus: aha yes I was conflating sequences and shards (I think they have a similar underlying mechansim but the behaviors are different here)15:57
opendevreviewMatthieu Huin proposed zuul/zuul master: [WIP] [api][cors] Add CORS configuration  https://review.opendev.org/c/zuul/zuul/+/76769115:58
corvusyep, that'll do it15:58
clarkbcorvus: for the order of operations thing in the last comment my main concern is what happens if the event entry is removed successfully then we fail to delete the data entries due to some error that isn't a NoNodeError. Also if for some reason get a nonodeerror from the event delete we may never delete the data ?15:59
clarkbcorvus: thinking the more verbose option is more robust to failures that may occur15:59
mhu1Apologies for taking 767691 over but I think it's going to be needed by the auth patch chain15:59
corvusclarkb: agreed -- i'll update that in a bit;  we could also probably do that in a transaction.... not sure which would be better...16:00
*** dviroel|lunch is now known as dviroel16:00
*** marios is now known as marios|out16:22
clarkbI'm working up a response for y2kenny's question on the mailing list and from what I read in the zuul change ansible connection vars are not settable in any job.16:45
*** rpittau is now known as rpittau|afk16:45
fungiyes, i think the idea was they would be set by nodepool when creating the nodes16:52
fungiahh, you mentioned that in your reply16:53
opendevreviewJames E. Blair proposed zuul/zuul master: Shard event queue data  https://review.opendev.org/c/zuul/zuul/+/80140216:58
corvusclarkb: ^ not that verbose as it turns out, thanks to suppress :)16:58
clarkbthat reads really well too. I have learned a thing about python17:01
corvusswest put it in the original form of that method, i'm happy i can put it back :)17:02
opendevreviewMatthieu Huin proposed zuul/zuul master: [api][cors] Add CORS configuration  https://review.opendev.org/c/zuul/zuul/+/76769117:45
opendevreviewJames E. Blair proposed zuul/zuul master: Use the nodeset build parameter instead of hosts/groups  https://review.opendev.org/c/zuul/zuul/+/79912718:04
opendevreviewJames E. Blair proposed zuul/zuul-operator master: Use kopf operator framework  https://review.opendev.org/c/zuul/zuul-operator/+/78503920:28
opendevreviewJames E. Blair proposed zuul/zuul-operator master: Bump API version to v1alpha2  https://review.opendev.org/c/zuul/zuul-operator/+/78504720:28
opendevreviewJames E. Blair proposed zuul/zuul-operator master: Run a git server in k8s for functional tests  https://review.opendev.org/c/zuul/zuul-operator/+/78573820:28
opendevreviewJames E. Blair proposed zuul/zuul-operator master: Move ingress to functional test  https://review.opendev.org/c/zuul/zuul-operator/+/78575720:28
opendevreviewJames E. Blair proposed zuul/zuul-operator master: Support externally managed Zookeeper and DB  https://review.opendev.org/c/zuul/zuul-operator/+/78527320:28
opendevreviewJames E. Blair proposed zuul/zuul-operator master: Pass through extra scheduler config options  https://review.opendev.org/c/zuul/zuul-operator/+/78527720:28
opendevreviewJames E. Blair proposed zuul/zuul-operator master: Add merger support  https://review.opendev.org/c/zuul/zuul-operator/+/78527820:28
opendevreviewJames E. Blair proposed zuul/zuul-operator master: Add keystore password support  https://review.opendev.org/c/zuul/zuul-operator/+/79018220:28
opendevreviewJames E. Blair proposed zuul/zuul-operator master: Support imagePrefix and versions  https://review.opendev.org/c/zuul/zuul-operator/+/78527920:28
opendevreviewJames E. Blair proposed zuul/zuul-operator master: Support fingergw  https://review.opendev.org/c/zuul/zuul-operator/+/78530020:28
opendevreviewJames E. Blair proposed zuul/zuul-operator master: Add docs  https://review.opendev.org/c/zuul/zuul-operator/+/78508320:28
opendevreviewJames E. Blair proposed zuul/zuul-operator master: Support zuul-preview  https://review.opendev.org/c/zuul/zuul-operator/+/78576020:28
opendevreviewJames E. Blair proposed zuul/zuul-operator master: Add support for zuul-registry  https://review.opendev.org/c/zuul/zuul-operator/+/78576120:28
opendevreviewJames E. Blair proposed zuul/zuul-operator master: Remove extra 2 minute wait from tests  https://review.opendev.org/c/zuul/zuul-operator/+/78576220:28
opendevreviewJames E. Blair proposed zuul/zuul-operator master: Add allowUnsafeConfig database setting  https://review.opendev.org/c/zuul/zuul-operator/+/78576420:28
opendevreviewJames E. Blair proposed zuul/zuul-operator master: Pass through environment to scheduler, web and launcher  https://review.opendev.org/c/zuul/zuul-operator/+/78598820:28
opendevreviewJames E. Blair proposed zuul/zuul-operator master: Allow terminationGracePeriodSeconds to be configurable  https://review.opendev.org/c/zuul/zuul-operator/+/78598920:28
opendevreviewJames E. Blair proposed zuul/zuul-operator master: Flake8 cleanups  https://review.opendev.org/c/zuul/zuul-operator/+/78634920:28
opendevreviewJames E. Blair proposed zuul/zuul-operator master: Fix error with multiple nodepool providers  https://review.opendev.org/c/zuul/zuul-operator/+/79991720:28
opendevreviewJames E. Blair proposed zuul/zuul-operator master: Add instructions and tools for running tests with kind  https://review.opendev.org/c/zuul/zuul-operator/+/78576320:28
opendevreviewJames E. Blair proposed zuul/zuul-operator master: Add static node to functional test  https://review.opendev.org/c/zuul/zuul-operator/+/79987420:28
opendevreviewJames E. Blair proposed zuul/zuul-operator master: Mount connection sshkeys on executors and mergers  https://review.opendev.org/c/zuul/zuul-operator/+/79999820:28
opendevreviewJames E. Blair proposed zuul/zuul-operator master: Set component command with args instead of command  https://review.opendev.org/c/zuul/zuul-operator/+/80026320:28
opendevreviewJames E. Blair proposed zuul/zuul-operator master: Configure debug logs for merger  https://review.opendev.org/c/zuul/zuul-operator/+/80026420:28
opendevreviewJames E. Blair proposed zuul/zuul-operator master: Make nodepool external_config mount more generic  https://review.opendev.org/c/zuul/zuul-operator/+/80078620:28
opendevreviewJames E. Blair proposed zuul/zuul-operator master: Document externalConfig  https://review.opendev.org/c/zuul/zuul-operator/+/80079120:28
opendevreviewJames E. Blair proposed zuul/zuul-operator master: Fix config update detection  https://review.opendev.org/c/zuul/zuul-operator/+/80099120:28
corvusianw, clarkb: patch bombs are much faster with the new gerrit.  kudos.  :)20:28
corvusi squashed the test fix into the first change, so that series should be gtg now20:29
ianwhaha well conversely i don't know what element-desktop is doing to display notifications but that stack just gave me about 30+ seconds of 100% cpu :)20:30
corvusianw: heh -- maybe something to do with url previews?20:31
clarkbcorvus: I'm glad to hear it is faster :)20:35
opendevreviewMatthieu Huin proposed zuul/zuul master: [api][cors] Add CORS configuration  https://review.opendev.org/c/zuul/zuul/+/76769120:44
clarkbcorvus: https://review.opendev.org/c/zuul/zuul/+/799127/3 is still failing testing.  That was next on my list of zuul changes to review. Do you think it is worthwhile despite the failure?20:46
clarkbit only failed one of the unittests so I assume it is close (new races?)20:46
corvusclarkb: i ran a full test suite locally, so i think we got it.  i think it's worth reviewing20:46
clarkbcorvus: got it20:46
corvusclarkb: https://review.opendev.org/801402 hit timeouts.  i ran tests locally and it adds a cumulative 478s test time for me (and about a 5.6% increase in wall-clock time)20:55
corvusi feel like that's worth looking into, though i'm unsure if we can do much about it.20:56
clarkbcorvus: huh I wouldn't have expected that to cause much slowness20:56
clarkbI guess it is making more znodes which is more io and synchronization20:56
corvusyeah, and maybe a little bit of cpu time with the compression?20:56
corvusideas off the top of my head: forward events by reference (though we still need to read some of the event data in, so that's not a slam dunk).  and maybe only create the side data node if it's large enough20:57
corvusi didn't want to do that last thing right away because it would mean we would almost never execute that code path in tests, but would frequently do so in prod :/20:57
clarkbwe'd have to artificially inflate a test or two's data?20:58
corvusyep.20:58
corvusthose two ideas are slightly contrary --20:58
corvusif we forward data by reference, that only helps if we're actually storing data in a separate node20:59
clarkbif we forward by reference we'll still read the data at some point though?21:01
corvusyeah, but only one round trip instead of two21:01
corvusthey're also complimentary -- we can do both things21:02
corvusit's just that they relate to each other21:02
corvusi think the right choice probably depends on whether we think we would really need to shart frequently in production.  based on my knowledge, i think it might be best to avoid sharding unless necessary.  i think most events are small.  it's just occasionally you get a giant blob from github or a merge result with thousands of branches.21:04
corvusand in those case, forwarding by reference would probably be a big win.21:04
clarkbya I suspect for our use cases its almost never an issue (otherwise we'd have errors today?)21:04
clarkbour == opendev21:05
clarkbother users may have different demands21:05
corvusclarkb: i think we actually do, but they're super rare and only related to big github blobs21:05
corvusso we never notice :)21:05
corvusi think i've talked myself into doing both things -- primarily shard-when-necessary; secondarily forward-by-reference21:06
corvusi will plan to do those as 2 separate follow-up patches if i can.  hopefully we can review them separately, then we can decide if we want to squash or do a temp test timeout increase21:07
corvusthe only-when-necessary change is noticably faster than even the start of the stack21:33
corvusokay, i don't think it's worth doing forward-by-reference at this point.  the trigger queue needs the event data, so it will always need to read it back in.  we could still save the second write, but at the cost of significant complexity -- and i don't think very many trigger events are going to be that big anyway.  the result queue is likely to have large merge results, but it doesn't get forwarded -- we only have pipeline-specific result queues,21:46
corvusso there's no benefit there.21:46
clarkbcorvus: I've left notes on the nodeset change can you take a look?21:46
corvusclarkb: replied.  do you think 1787 and 2319 is worth a new ps?22:00
clarkblooking22:02
clarkb(I juts approved the fingergw config reorg)22:02
clarkbcorvus: no I think separate changes are fine for both of those22:03
opendevreviewJames E. Blair proposed zuul/zuul master: Only shard events when necessary  https://review.opendev.org/c/zuul/zuul/+/80154022:04
corvusi think i should go ahead and squash that into the parent; it's pretty simple22:04
opendevreviewJames E. Blair proposed zuul/zuul master: Shard event queue data  https://review.opendev.org/c/zuul/zuul/+/80154022:05
opendevreviewJames E. Blair proposed zuul/zuul master: Shard event queue data  https://review.opendev.org/c/zuul/zuul/+/80140222:06
corvusthe patchset delta there should be easy to review22:07
clarkbcorvus: I think there is a bug in ^ details in review22:25
corvusclarkb: i'm not sure i see the bug22:45
opendevreviewJames E. Blair proposed zuul/zuul master: Shard event queue data  https://review.opendev.org/c/zuul/zuul/+/80140222:46
Clark[m]corvus: data in this case is a python object not the byte stream we want to save22:47
Clark[m]encoded_data is the stream22:47
corvusClark: ah thank you, sorry i misunderstood22:48
opendevreviewJames E. Blair proposed zuul/zuul master: Shard event queue data  https://review.opendev.org/c/zuul/zuul/+/80140222:48
clarkbcorvus: that latest version lgtm23:21

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