Thursday, 2022-01-27

@iwienand:matrix.org2022-01-26 22:56:25.404274 | TASK [Produce minikube log]00:16
2022-01-26 22:56:40.783614 | ubuntu-focal | E0126 22:56:40.783464 10451 logs.go:190] command /bin/bash -c "docker logs --tail 60 b21d05bbe185" failed with error: /bin/bash -c "docker logs --tail 60 b21d05bbe185": exit status 1
@iwienand:matrix.orgis this a known issue? (https://5b53b22152836ac2a1ba-584a141890d4c711c7adef07d7bdf32d.ssl.cf1.rackcdn.com/826537/1/gate/nodepool-functional-k8s/329dce6/job-output.txt_00:17
@clarkb:matrix.orgcorvus:  left some questions/suggestions/comments on https://review.opendev.org/c/zuul/zuul/+/824482 if you have time to take a look at that00:19
@jim:acmegating.comianw: can you link to the build instead?00:19
@iwienand:matrix.orgcorvus: that was from https://zuul.opendev.org/t/zuul/build/329dce6f55014044a93898182ee18aac00:20
@clarkb:matrix.orgianw: not known to me but appears the coredns container didn't start or get networking00:21
@jim:acmegating.comianw: the coredns log yeah what clarkb said: https://zuul.opendev.org/t/zuul/build/329dce6f55014044a93898182ee18aac/log/minikube.txt00:21
@jim:acmegating.comalso unknown to me00:22
@iwienand:matrix.org[FATAL] plugin/loop: Loop (127.0.0.1:59383 -> :53) detected for zone ".", see https://coredns.io/plugins/loop#troubleshooting. Query: "HINFO 1386818609659094942.7024570961074799855."00:28
@iwienand:matrix.orgthat seems DNS-y00:29
@iwienand:matrix.org5791 exec_runner.go:52] Run: /bin/bash -c "sudo /var/lib/minikube/binaries/v1.21.2/kubectl --kubeconfig=/var/lib/minikube/kubeconfig -n kube-system get configmap coredns -o yaml | sed '/^        forward . \/etc\/resolv.conf.*/i \        hosts {\n           127.0.0.1 host.minikube.internal\n           fallthrough\n        }' | sudo /var/lib/minikube/binaries/v1.21.2/kubectl --kubeconfig=/var/lib/minikube/kubeconfig replace -f -"00:34
@iwienand:matrix.orgseems to be where forwarding would be setup00:34
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 824482: Add "zuul delete-pipeline-state" command https://review.opendev.org/c/zuul/zuul/+/82448200:35
@jim:acmegating.comClark: ^ done thx :)00:35
@jim:acmegating.comoh forgot the docs fix00:35
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 824482: Add "zuul delete-pipeline-state" command https://review.opendev.org/c/zuul/zuul/+/82448200:36
@josefwells:matrix.orgI think I found my issue with SQL connections.  I was using the old "connections" specifications.  When I switched to [database] things got better. Following this: https://zuul-ci.org/docs/zuul/latest/configuration.html#database  I looked at SqlAlchemy, which indicated I needed to encode my password's special characters, however executor seems to barf on URL encoded special chars, per: https://docs.sqlalchemy.org/en/14/core/engines.html#database-urls00:47
@jim:acmegating.comjosefwells: that's fixed in 4.9.000:59
@josefwells:matrix.orgOh, ok, I'll give it a go01:00
@josefwells:matrix.orgI was worried about the not reading keys from the filesystem, I think that was around that release too, but I'll just tackle it01:00
@josefwells:matrix.orgalso, last curious thing, in the docker-quickstart, The dburi is: dburi=mysql+pymysql://zuul:%(ZUUL_MYSQL_PASSWORD)s@mysql/zuul  What is the deal with the "s" after %(ZUUL_MYSQL_PASSWORD) ?01:02
@jim:acmegating.comjosefwells: 2nd paragraph here: https://zuul-ci.org/docs/zuul/latest/configuration.html01:04
@jim:acmegating.comjosefwells: https://docs.python.org/3/library/configparser.html#interpolation-of-values is the underlying implementation01:05
-@gerrit:opendev.org- Zuul merged on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com: [zuul/nodepool] 826537: Stop running siblings jobs and pin SDK https://review.opendev.org/c/zuul/nodepool/+/82653701:17
@josefwells:matrix.orgcorvus:  that helps a bunch, I did not previously understand that at all01:17
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 826549: Annotate variable interpolation in the tutorial zuul.conf https://review.opendev.org/c/zuul/zuul/+/82654901:20
@jim:acmegating.comjosefwells: that's good feedback, thanks.  ^  :)01:20
-@gerrit:opendev.org- Zuul merged on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com: [zuul/zuul] 817640: Add some pipeline processing stats https://review.opendev.org/c/zuul/zuul/+/81764001:45
-@gerrit:opendev.org- Ian Wienand proposed: [zuul/nodepool] 826572: nodepool-zuul-functional: install into a venv https://review.opendev.org/c/zuul/nodepool/+/82657202:01
-@gerrit:opendev.org- Ian Wienand proposed: [zuul/nodepool] 826572: nodepool-zuul-functional: install into a venv https://review.opendev.org/c/zuul/nodepool/+/82657202:41
@stevebak:matrix.orghttps://review.opendev.org/c/zuul/nodepool/+/826538 is green btw03:03
@clarkb:matrix.orgI can reapprove it in a bit. Need to get to a real computer03:26
-@gerrit:opendev.org- Ian Wienand proposed: [zuul/nodepool] 826572: [wip] nodepool-zuul-functional: install into a venv https://review.opendev.org/c/zuul/nodepool/+/82657203:35
@clarkb:matrix.orgI was looking at why our zuul images are so big and it seems a decent portion of the reason is .pyc files for all the python things04:12
@clarkb:matrix.orgI wonder if it makes sense to trim those out and let python generate them when it runs and needs them.04:12
@clarkb:matrix.orgAnyway its late. THought I'd mention it in case anyone had noticed this before or worked around it in other contexts04:13
-@gerrit:opendev.org- Ian Wienand proposed: [zuul/nodepool] 826572: [wip] nodepool-zuul-functional: install into a venv https://review.opendev.org/c/zuul/nodepool/+/82657204:26
-@gerrit:opendev.org- Dong Zhang proposed: [zuul/zuul] 826579: debug config check https://review.opendev.org/c/zuul/zuul/+/82657904:31
-@gerrit:opendev.org- Dong Zhang proposed: [zuul/zuul] 826579: debug config check https://review.opendev.org/c/zuul/zuul/+/82657904:55
-@gerrit:opendev.org- Dong Zhang proposed: [zuul/zuul] 826585: debug https://review.opendev.org/c/zuul/zuul/+/82658505:39
@iwienand:matrix.orghttps://zuul.opendev.org/t/zuul/build/ff001ba71a104f5c8da5180966cc38d8/log/minikube.txt hit what appears to be the minikube dns "loop" thing again05:59
@gobi_g:matrix.orgHi,07:06
What happens when new commit added to the MR while zuul job running for the that MR?
-@gerrit:opendev.org- Zuul merged on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com: [zuul/nodepool] 826538: Remove openstacksdk from siblings job https://review.opendev.org/c/zuul/nodepool/+/82653810:14
-@gerrit:opendev.org- Alfredo Moralejo proposed: [zuul/zuul-jobs] 826603: Add CentOS Stream 9 to configure-mirrors role https://review.opendev.org/c/zuul/zuul-jobs/+/82660310:17
-@gerrit:opendev.org- Alfredo Moralejo proposed: [zuul/zuul-jobs] 826603: Add CentOS Stream 9 to configure-mirrors role https://review.opendev.org/c/zuul/zuul-jobs/+/82660310:29
-@gerrit:opendev.org- Alfredo Moralejo proposed: [zuul/zuul-jobs] 826603: Add CentOS Stream 9 to configure-mirrors role https://review.opendev.org/c/zuul/zuul-jobs/+/82660310:46
-@gerrit:opendev.org- Simon Westphahl proposed: [zuul/zuul] 826609: Refresh cached branches in timer driver https://review.opendev.org/c/zuul/zuul/+/82660910:48
-@gerrit:opendev.org- Zuul merged on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com:11:26
- [zuul/zuul] 823587: Add some ZK debug scripts https://review.opendev.org/c/zuul/zuul/+/823587
- [zuul/zuul] 824482: Add "zuul delete-pipeline-state" command https://review.opendev.org/c/zuul/zuul/+/824482
-@gerrit:opendev.org- Alfredo Moralejo proposed: [zuul/zuul-jobs] 826603: Add CentOS Stream 9 to configure-mirrors role https://review.opendev.org/c/zuul/zuul-jobs/+/82660311:29
-@gerrit:opendev.org- Zuul merged on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com: [zuul/zuul] 825014: Remove "sql connection" backwards compatability for database https://review.opendev.org/c/zuul/zuul/+/82501411:44
-@gerrit:opendev.org- Alfredo Moralejo proposed: [zuul/zuul-jobs] 826648: DNM test only https://review.opendev.org/c/zuul/zuul-jobs/+/82664812:22
-@gerrit:opendev.org- Alfredo Moralejo proposed: [zuul/zuul-jobs] 826603: Add CentOS Stream 9 to configure-mirrors role https://review.opendev.org/c/zuul/zuul-jobs/+/82660312:55
-@gerrit:opendev.org- Alfredo Moralejo proposed: [zuul/zuul-jobs] 826603: Add CentOS Stream 9 to configure-mirrors role https://review.opendev.org/c/zuul/zuul-jobs/+/82660312:57
-@gerrit:opendev.org- Alfredo Moralejo proposed: [zuul/zuul-jobs] 826648: pin oauthlib version for python2.7 https://review.opendev.org/c/zuul/zuul-jobs/+/82664813:10
-@gerrit:opendev.org- Alfredo Moralejo proposed: [zuul/zuul-jobs] 826648: pin oauthlib version for python2.7 https://review.opendev.org/c/zuul/zuul-jobs/+/82664813:32
-@gerrit:opendev.org- Dr. Jens Harbott proposed on behalf of Alfredo Moralejo: [zuul/zuul-jobs] 826648: pin oauthlib version for python2.7 https://review.opendev.org/c/zuul/zuul-jobs/+/82664813:32
-@gerrit:opendev.org- Dr. Jens Harbott proposed on behalf of Alfredo Moralejo: [zuul/zuul-jobs] 826648: pin oauthlib version for python2.7 https://review.opendev.org/c/zuul/zuul-jobs/+/82664813:35
-@gerrit:opendev.org- Alfredo Moralejo proposed: [zuul/zuul-jobs] 826603: Add CentOS Stream 9 to configure-mirrors role https://review.opendev.org/c/zuul/zuul-jobs/+/82660314:25
@josefwells:matrix.orgClark: re: pyc files.  I generally use the ENV var: PYTHONDONTWRITEBYTECODE, seems reasonable when building a container image.  For ci we use "dive" which has configurable targets for wasted space in containers as well.14:58
@fungicide:matrix.orgyeah, the tradeoff is between transferring larger images with bytecode precompiled, vs everyone's python compiling it at start. slower downloads vs slower startup, there's probably no one right answer16:22
@fungicide:matrix.orgin debian, for example, python bytecode is precompiled at package installation so that startup doesn't incur the overhead, and in order to make it available to all users on the system. in a container context, that may still be relevant if you're running as non-root inside the container16:23
@fungicide:matrix.orgthe user invoking python may not have anywhere to persist the bytecode, so instead of incuring the startup overhead for it the first time you run a script, you get to enjoy it on every single invocation16:25
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 824077: Add a zk-shell debug script https://review.opendev.org/c/zuul/zuul/+/82407716:25
@jim:acmegating.comClark: tobiash ^ updated zk-shell to better handle missing nodes16:26
@clarkb:matrix.orgfungi: that is a good point about not being able to write the pyc files as a different user. I think zuul owns the ansible installations which are the bulk of it. But definitely somethign to check before making any changes16:46
@jim:acmegating.comClark: we install ansible during the build; it's owned as root.17:04
@jim:acmegating.comi think keeping .pyc files around for speeding up invocations of ansible is desirable17:05
@clarkb:matrix.orgfast ansible is definitely desirebale and if we can't write pyc on the fly then having them prebuilt seems appropriate17:05
@jim:acmegating.commaybe there's some kind of way to do a lookaside cache for pyc files that could be added as a volume.  but i have no idea.  might be a fun rabbit hole.  :)17:06
@fungicide:matrix.orgshortcut to the bottom of that rabbit hole: https://docs.python.org/3/using/cmdline.html#envvar-PYTHONPYCACHEPREFIX18:02
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/nodepool] 826357: Add QuotaSupport to drivers that don't have it https://review.opendev.org/c/zuul/nodepool/+/82635718:11
@jim:acmegating.comClark: ^ so setting that as an ENV in the dockerfile and pointing it at a VOLUME might get what you're after18:13
@jim:acmegating.comre fungi 's link... i'm still bad at hitting the reply button18:13
@clarkb:matrix.orgcorvus: ya but I'm not sure we should expect people to have to do that to deploy zuul18:13
@jim:acmegating.comClark: you can do that in the Dockerfile18:13
@jim:acmegating.comno deployment changes needed18:14
@clarkb:matrix.orgOh I see18:14
@clarkb:matrix.orgI think we may not want to do it with a VOLUME though because if the code chagnes you need new pyc files18:14
@clarkb:matrix.organd a VOLUME will persist right?18:14
@tobias.henkel:matrix.orgdo we have any idea about how the startup times for ansible differ with and without the pyc files?18:14
@jim:acmegating.comyeah, but it's writable, so should end up getting overwritten?18:14
@clarkb:matrix.orgtobiash: it should only affect the first job that runs18:15
@tobias.henkel:matrix.orgClark: but only if the pyc files can be written right?18:15
@tobias.henkel:matrix.orgif the pyc files cannot be written it would affect every job?18:15
@jim:acmegating.comthus the suggestion to have a docker volume where they can be written18:16
@clarkb:matrix.orgtobiash: yes we would need to make the pyc writeable via PYTHONPYCACHEPREFIX18:16
@jim:acmegating.comi'm not convinced this is a win; just an interesting thing worth exploring.  but if we assume that we're going to have the pyc files on disk eventually anyway, then it's really just a network bandwidth savings, and that isn't a huge deal these days18:18
@clarkb:matrix.orgya this was mostly me noticing the image is 1.3GB last night and wondering why. Turns out ansible is like half that and largely due to pyc files18:18
@jim:acmegating.commany ansibles, even :)18:19
@clarkb:matrix.orgBut ansible is slow enough with pycs and we shouldn't impact that :)18:19
@jim:acmegating.comwe can make the image look smaller and fetch faster, and then surprise it's 1.3G of disk space used anyway :)18:20
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed on behalf of Dong Zhang: [zuul/zuul] 823242: Display overall duration in buidset page in zuul web https://review.opendev.org/c/zuul/zuul/+/82324218:38
-@gerrit:opendev.org- Zuul merged on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com: [zuul/zuul] 824077: Add a zk-shell debug script https://review.opendev.org/c/zuul/zuul/+/82407719:02
-@gerrit:opendev.org- Zuul merged on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com: [zuul/nodepool] 826357: Add QuotaSupport to drivers that don't have it https://review.opendev.org/c/zuul/nodepool/+/82635720:01
@jim:acmegating.comnice: gating in action: https://review.opendev.org/825022 just legit failed tests after a change merged ahead of it20:15
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 825022: Add a model API version https://review.opendev.org/c/zuul/zuul/+/82502220:19
@jim:acmegating.comthat should fix it20:19
@clarkb:matrix.orgcorvus: I'm having a hard time parsing what the diff is shwoing me. I see the delete pipeline state and gearmanectomy removals in client.py. But nothing related to the model change? Gerrit says client.py is the only file that chagned between patchsets20:25
@clarkb:matrix.orgdid it just need a rebase to help out git merge?20:26
@jim:acmegating.comClark: no there was a small change, but unfortunately the rebase hides it; here's the diff: https://paste.opendev.org/show/812411/20:32
@jim:acmegating.comoh, since client.py wasn't in the old patchset, you can actually just look at BASE..4 in gerrit and see it20:34
@clarkb:matrix.orgah thanks for the hint20:37
@clarkb:matrix.organd that totally makes sense now20:37
@clarkb:matrix.org+2 from me20:38
@jim:acmegating.comi think we can go ahead and re+w that20:39
@clarkb:matrix.orgWFM. It is a smal change directly related to one of the parent chagnes that just landed20:40
@iwienand:matrix.orgis the nodepool-zuul-functional job worth saving?  i spent a bit of time getting things installing and a tls zookeeper working, but it still fails in the actual tests now20:56
@iwienand:matrix.orghttps://fb73578e32dc0eaefa59-f67dc2afe768675df5d36f2071b73ef5.ssl.cf2.rackcdn.com/826572/4/check/nodepool-zuul-functional/37fa4e1/testr_results.html20:56
@iwienand:matrix.orgis the unit test failures now20:56
@iwienand:matrix.orgit's been broken for a long time, pulling it out might be the other option if it's past it's use-by date20:57
@fungicide:matrix.orgianw: should i abandon https://review.opendev.org/790826 in favor of yours? and yeah, i suspect the tests themselves are bitrotten because the job hasn't run successfully for so long20:58
@iwienand:matrix.orgoh, heh, i didn't scroll back that far in changes :)  i got the zuul side working (i think) by adding the ZK flags like https://review.opendev.org/c/zuul/nodepool/+/826572/4/.zuul.yaml21:01
@iwienand:matrix.orgit is a bit of a weird one in that nodepool sets up the job and the ZK environment, then runs tox out of a zuul checkout21:02
@fungicide:matrix.orgyeah, as best i was able to tell it broke a year ago when the zk tls work landed but the job was already non-voting because it had some inherent instability, so nobody really noticed it went from randomly broken to entirely broken21:05
@fungicide:matrix.orgi started trying to fix it around the middle of the year, but got a bit out of my depth and ended up bancburnering the fix21:06
@jim:acmegating.comi feel it's probably mostly covered by quick-start...21:06
@fungicide:matrix.org * i started trying to fix it around the middle of the year, but got a bit out of my depth and ended up back-burnering the fix21:06
@iwienand:matrix.orgfungi: haha i was like "oh bancumburnering", that must be a new word the kids are using :)21:07
@fungicide:matrix.orgnope, just my terribad typing21:08
@iwienand:matrix.orgin that case i might propose to just take it out, rather than spend more time trying to fix it when it's sort of oddly bespoke21:08
@fungicide:matrix.orgi'm good with that21:08
@jim:acmegating.comi assume fungi just mistyped beancurding21:08
-@gerrit:opendev.org- Zuul merged on behalf of Simon Westphahl: [zuul/zuul] 826609: Refresh cached branches in timer driver https://review.opendev.org/c/zuul/zuul/+/82660921:09
@jim:acmegating.comthere's a lot that can be ripped out if we do that; playbooks and unit tests, etc21:09
-@gerrit:opendev.org- Ian Wienand proposed: [zuul/zuul] 826772: nodepool-zuul-functional: remove https://review.opendev.org/c/zuul/zuul/+/82677221:18
@clarkb:matrix.orgya nodepool tests the booting of things with its functional cloud provider jobs and then quick start checks the node request interface21:21
-@gerrit:opendev.org- Ian Wienand proposed: [zuul/nodepool] 826773: nodepool-zuul-functional: remove https://review.opendev.org/c/zuul/nodepool/+/82677321:21
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 826400: Add zuul-scheduler tenant-reconfigure https://review.opendev.org/c/zuul/zuul/+/82640021:25
@jim:acmegating.comfixed a merge conflict on that21:25
-@gerrit:opendev.org- Zuul merged on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com: [zuul/zuul] 825022: Add a model API version https://review.opendev.org/c/zuul/zuul/+/82502222:46
-@gerrit:opendev.org- Zuul merged on behalf of Benjamin Schanzel: [zuul/nodepool] 825426: Add tests for exporting tenant limit stats https://review.opendev.org/c/zuul/nodepool/+/82542623:06

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