Thursday, 2022-03-24

@pedromoritz:matrix.orgClark: Unfortunately, It does not work as it supposed to. Apparently an ubuntu:bionic Docker image is not enough to run the jobs properly. Where should I find a image definition for the nodes running on Kubernetes?02:15
@pedromoritz:matrix.org * Clark: Unfortunately, It does not work as it supposed to. Apparently an ubuntu:bionic Docker image is not enough to run the jobs properly. Where should I find an image definition for the nodes running on Kubernetes?02:15
@q:fricklercloud.de> <@q:fricklercloud.de> looking at https://zuul.opendev.org/t/openstack/project/opendev.org/openstack/devstack# I see 12 tabs named "master", but from looking at the jobs, some of those should correlate to stable branches.06:44
can anyone reproduce this? is it a bug or expected behavior somehow? seems to affect any project with branches, devstack is just an example
@gtema:matrix.org`AttributeError: 'ZuulWeb' object has no attribute 'wsplugin'` - is this exception known to anybody who tried update to 5.1.0?08:36
-@gerrit:opendev.org- Simon Westphahl proposed: [zuul/nodepool] 835011: Don't yield to a provider with unsupported labels https://review.opendev.org/c/zuul/nodepool/+/83501108:46
-@gerrit:opendev.org- Albin Vass proposed: [zuul/zuul] 830840: Make it possible to configure job retries with zuul_return https://review.opendev.org/c/zuul/zuul/+/83084009:08
-@gerrit:opendev.org- Dong Zhang marked as active: [zuul/zuul] 834857: Fix bug in getting changed files https://review.opendev.org/c/zuul/zuul/+/83485709:39
-@gerrit:opendev.org- Albin Vass proposed: [zuul/zuul] 835019: tools/test-setup-docker.sh run zookeeper inside a shell https://review.opendev.org/c/zuul/zuul/+/83501909:40
@avass:vassast.orgClark: I've tried zookeeper versions down to v3.5 with `tools/test-setup-docker.sh` and they all seem to have the same issue. I guess for some reason zookeeper doesn't like being pid 109:40
@avass:vassast.orgtobiash:  do you want to renew your +2 on: https://review.opendev.org/c/zuul/zuul/+/830840 ? I noticed a hole in the testcase09:42
-@gerrit:opendev.org- Simon Westphahl proposed: [zuul/nodepool] 835040: Replace Python 3.6 with 3.10 test job https://review.opendev.org/c/zuul/nodepool/+/83504011:09
-@gerrit:opendev.org- Simon Westphahl proposed: [zuul/nodepool] 835040: Replace Python 3.6 with 3.10 test job https://review.opendev.org/c/zuul/nodepool/+/83504011:10
-@gerrit:opendev.org- Simon Westphahl proposed on behalf of Sorin Sbârnea: [zuul/zuul-jobs] 821247: Add tox-py310 job https://review.opendev.org/c/zuul/zuul-jobs/+/82124711:21
-@gerrit:opendev.org- Simon Westphahl proposed on behalf of Sorin Sbârnea: [zuul/zuul-jobs] 821247: Add tox-py310 job https://review.opendev.org/c/zuul/zuul-jobs/+/82124711:26
-@gerrit:opendev.org- Simon Westphahl proposed on behalf of Sorin Sbârnea: [zuul/zuul-jobs] 821247: Add tox-py310 job https://review.opendev.org/c/zuul/zuul-jobs/+/82124711:29
-@gerrit:opendev.org- Simon Westphahl proposed: [zuul/nodepool] 835040: Replace Python 3.6 with 3.10 test job https://review.opendev.org/c/zuul/nodepool/+/83504011:32
-@gerrit:opendev.org- Simon Westphahl proposed: [zuul/nodepool] 835040: Replace Python 3.6 with 3.10 test job https://review.opendev.org/c/zuul/nodepool/+/83504011:34
@fungicide:matrix.org> <@pedromoritz:matrix.org> Clark: Unfortunately, It does not work as it supposed to. Apparently an ubuntu:bionic Docker image is not enough to run the jobs properly. Where should I find an image definition for the nodes running on Kubernetes?11:55
can you expand on what you mean by "not enough to run the jobs properly"? is ansible unable to connect?
-@gerrit:opendev.org- Simon Westphahl proposed on behalf of Sorin Sbârnea: [zuul/zuul-jobs] 821247: Add tox-py310 job https://review.opendev.org/c/zuul/zuul-jobs/+/82124712:25
-@gerrit:opendev.org- Dong Zhang proposed: [zuul/zuul] 834857: Fix bug in getting changed files https://review.opendev.org/c/zuul/zuul/+/83485713:15
-@gerrit:opendev.org- Dong Zhang proposed: [zuul/zuul] 834857: Fix bug in getting changed files https://review.opendev.org/c/zuul/zuul/+/83485713:18
-@gerrit:opendev.org- Albin Vass proposed: [zuul/zuul] 835074: Recover from broken process pools in merge operations https://review.opendev.org/c/zuul/zuul/+/83507413:30
@avass:vassast.orgtobiash: I think you may be interested in that ^13:30
@jim:acmegating.comswest: do we need to add py3.10 at the same moment we remove py36?13:34
@westphahl:matrix.orgcorvus: probably not. I can split that up13:34
@jim:acmegating.comswest: sounds good -- we can consider dropping 3.9 when we do that... i don't think we necessarily want to run all the versions; usually just a lower and upper; and the upper should be what we build images from i think... and we should get zuul and nodepool back in sync...13:37
-@gerrit:opendev.org- Simon Westphahl proposed:13:41
- [zuul/nodepool] 835040: Drop support for Python 3.6 https://review.opendev.org/c/zuul/nodepool/+/835040
- [zuul/nodepool] 835075: Run tests for Python 3.10 https://review.opendev.org/c/zuul/nodepool/+/835075
@jim:acmegating.comzuul-maint: https://review.opendev.org/835040 is high priority to unblock nodepool13:52
-@gerrit:opendev.org- Matthieu Huin https://matrix.to/#/@mhuin:matrix.org proposed: [zuul/zuul] 816509: zuul-gui: add more documentation about public URL https://review.opendev.org/c/zuul/zuul/+/81650913:53
@mhuin:matrix.orgtobiash: regarding your review of https://review.opendev.org/c/zuul/zuul/+/831948 : this change only makes sense if the depends-on is merged, ie https://review.opendev.org/c/zuul/zuul-client/+/831946 - however full browser auth in the CLI may not make much sense13:58
@jim:acmegating.commhu: what's going on with https://review.opendev.org/834507 ?14:18
@mhuin:matrix.orgcorvus: we needed to backport this for SF, we'll ship zuul 5.0.0 in the next release14:21
@mhuin:matrix.orgit's easier for our patching process to have a patch upstream but if this is problematic I can abandon it14:22
@mhuin:matrix.orgI don't want to add extra noise14:23
@jim:acmegating.commhu: i think that might be best :)14:24
@mhuin:matrix.orggot it, apologies14:24
@jim:acmegating.comnp.  thanks for having a patching process that favors upstream :)14:25
-@gerrit:opendev.org- Joshua Watt proposed: [zuul/nodepool] 833099: openstack: Keep node request on quota failure https://review.opendev.org/c/zuul/nodepool/+/83309914:27
@mhuin:matrix.orgThe original patch is still up for review though: https://review.opendev.org/c/zuul/zuul/+/830846 - I see I forgot to answer one of your comment on the other gui patch14:29
-@gerrit:opendev.org- Matthieu Huin https://matrix.to/#/@mhuin:matrix.org proposed: [zuul/zuul] 832293: REST API: cache tenants list https://review.opendev.org/c/zuul/zuul/+/83229314:30
-@gerrit:opendev.org- Matthieu Huin https://matrix.to/#/@mhuin:matrix.org proposed: [zuul/zuul] 816509: zuul-gui: add more documentation about public URL https://review.opendev.org/c/zuul/zuul/+/81650914:32
-@gerrit:opendev.org- Matthieu Huin https://matrix.to/#/@mhuin:matrix.org proposed: [zuul/zuul] 831222: GUI: Do not show sign-in button if no IdP is available https://review.opendev.org/c/zuul/zuul/+/83122214:46
-@gerrit:opendev.org- Zuul merged on behalf of Albin Vass: [zuul/zuul] 830840: Make it possible to configure job retries with zuul_return https://review.opendev.org/c/zuul/zuul/+/83084014:50
@avass:vassast.orgcorvus: I'm trying to dig into 835019 a bit, so I just wanna check what version of docker you're on and if happen to use any cached zookeeper image?14:51
@avass:vassast.orgit's quite annoying to have to stash that line of code to get the unittests to work :)14:54
@jim:acmegating.comAlbin Vass: i just did a docker-compose pull so should have the latest -- `Docker version 20.10.7, build 20.10.7-0ubuntu5~21.04.2` running on Ubuntu 21.0414:55
@jim:acmegating.comAlbin Vass: and yeah... it feels like we're missing something14:56
@avass:vassast.orgcorvus: the only difference I see is that the entrypooint ends with a `exec $@` which leaves zookeeper running as pid 1, so `sh -c ...` avoids that.14:57
@avass:vassast.orgbut I don't understand why it's working for some people and not for others.14:57
@pedromoritz:matrix.orgfungi: Yes, Ansible is able to connect. However, the job i am running seems to need sudo, iproute2 and python pre-installed. Another problem: after installed by Ansible, mysql-server cant start. 14:58
@avass:vassast.orgI'm on ubuntu 20.04, docker version 20.10.1414:58
-@gerrit:opendev.org- Joshua Watt proposed: [zuul/nodepool] 833099: openstack: Keep node request on quota failure https://review.opendev.org/c/zuul/nodepool/+/83309915:00
@jim:acmegating.comAlbin Vass: also fwiw, opendev runs zk out of docker-compose without any changes to the entrypoint/cmd.  that's running `Docker version 20.10.12, build e91ed57` on ubuntu 20.0415:03
@jim:acmegating.com(but `network_mode: host` in that case)15:04
-@gerrit:opendev.org- Zuul merged on behalf of Simon Westphahl: [zuul/nodepool] 835040: Drop support for Python 3.6 https://review.opendev.org/c/zuul/nodepool/+/83504015:04
-@gerrit:opendev.org- Zuul merged on behalf of Benjamin Schanzel: [zuul/nodepool] 834109: Pass requestor data to Nodes https://review.opendev.org/c/zuul/nodepool/+/83410915:04
@avass:vassast.orgwell... now it suddenly started working so I'm a bit clueless15:22
-@gerrit:opendev.org- Zuul merged on behalf of Tobias Henkel: [zuul/nodepool] 752022: Add zookeeper-timeout connection config https://review.opendev.org/c/zuul/nodepool/+/75202215:23
-@gerrit:opendev.org- Zuul merged on behalf of Ian Wienand: [zuul/nodepool] 831895: functional-test : ensure glean started https://review.opendev.org/c/zuul/nodepool/+/83189515:23
-@gerrit:opendev.org- Dong Zhang proposed: [zuul/zuul] 834857: Fix bug in getting changed files https://review.opendev.org/c/zuul/zuul/+/83485715:32
@avass:vassast.orgoh, nvm got confused by test output. But I think I found something after adding some logging. Without a shell zookeeper gets Access denied when creating the keystore.15:34
https://paste.opendev.org/show/bDOe4Hp6DDh096LqAyKc/
@avass:vassast.orgheh this looks very suspicious in the entrypoint:15:41
```
# Allow the container to be started with `--user`
if [[ "$1" = 'zkServer.sh' && "$(id -u)" = '0' ]]; then
chown -R zookeeper "$ZOO_DATA_DIR" "$ZOO_DATA_LOG_DIR" "$ZOO_LOG_DIR"
exec gosu zookeeper "$0" "$@"
fi
```
@jim:acmegating.comAlbin Vass: ah.  my local uid is 1000 and so is the zookeeper user inside the container, so that is running but is a noop for me.  opendev sets the docker user to 10001 so that doesn't run.15:45
@avass:vassast.orgyep :)15:45
-@gerrit:opendev.org- Dong Zhang proposed: [zuul/zuul] 834857: Fix bug in getting changed files https://review.opendev.org/c/zuul/zuul/+/83485716:11
-@gerrit:opendev.org- Zuul merged on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com: [zuul/nodepool] 834519: Correct tagged version docs build https://review.opendev.org/c/zuul/nodepool/+/83451916:29
-@gerrit:opendev.org- Albin Vass proposed: [zuul/zuul] 835019: Start zookeeper with users uid in test-setup-docker.sh https://review.opendev.org/c/zuul/zuul/+/83501916:46
-@gerrit:opendev.org- Albin Vass proposed: [zuul/zuul] 835019: Start zookeeper with users uid in test-setup-docker.sh https://review.opendev.org/c/zuul/zuul/+/83501916:47
@avass:vassast.orgcorvus: that should fix it ^16:47
@avass:vassast.orgd-j-j, frickler , Clark  ^16:48
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 835100: Rely on the unparsed config cache in reconfigurations https://review.opendev.org/c/zuul/zuul/+/83510017:11
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 835100: Rely on the unparsed config cache in reconfigurations https://review.opendev.org/c/zuul/zuul/+/83510017:56
@fungicide:matrix.org> <@pedromoritz:matrix.org> fungi: Yes, Ansible is able to connect. However, the job i am running seems to need sudo, iproute2 and python pre-installed. Another problem: after installed by Ansible, mysql-server cant start.20:23
it really depends on how you want your jobs to work. most of the jobs i deal with are intended to install any packages they need during the build, usually in a pre-run phase playbook, in order to keep the images as minimal and general-purpose as possible
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 835121: Fix Ansible plugin loading https://review.opendev.org/c/zuul/zuul/+/83512120:52
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 835125: DNM: baseline test zuul-stream-functional https://review.opendev.org/c/zuul/zuul/+/83512521:16
@ecsantos:matrix.orgHello folks21:46
@ecsantos:matrix.orgIs there a way to recreate this role documentation [1] manually without using the zuul-sphinx extension?21:46
[1] https://zuul-ci.org/docs/zuul-jobs/general-roles.html#role-add-build-sshkey
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 835121: Fix Ansible plugin loading https://review.opendev.org/c/zuul/zuul/+/83512121:50
@jim:acmegating.comecsantos: it's generated from this rst file source: https://opendev.org/zuul/zuul-jobs/raw/branch/master/roles/add-build-sshkey/README.rst21:55
@ecsantos:matrix.orgcorvus: Yes, but in order for this .. zuul:rolevar:: syntax to work, I'll need to install the zuul-sphinx extension, right?21:57
@jim:acmegating.comecsantos: yes, those sphinx roles are implemented by zuul-sphinx.21:58
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 835100: Rely on the unparsed config cache in reconfigurations https://review.opendev.org/c/zuul/zuul/+/83510022:00
@ecsantos:matrix.orgcorvus: So there's no way of manualy formatting my RST like that without zuul-sphinx?22:00
@jim:acmegating.comecsantos: erm, well, you could probably reverse-engineer zuul-sphinx and type in some sphinx syntax that accomplished something that looked similar.  but if you're talking about zuul/ repos (like zuul-jobs) please don't -- we want all the docs in that format.22:05
@ecsantos:matrix.orgcorvus: Oh no, it's for my own private repos :) Thanks! I was just curious on how the formatting was generated22:07
@jim:acmegating.comecsantos: iirc, i don't think that exact formatting can be achieved with plain rst; it requires a sphinx domain (so it actually has more in common with the python library documentation than plain restructuredtext).  in other words, no plain rst parser would be able to handle it; only one that understood the sphinx syntax.22:10
@mnaser:matrix.orgIs there a pattern out there for Zuul jobs that are "optional" and modify the behaviour of other jobs if they run or not?  For example, I have a folder containing a bunch of Docker image definitions, I don't want to build this on every run since it will take a significant amount of resources, so I only want to rebuild images if the `images/` folder has changes.   However, I need to actually figure out a way to set the prefix for all images to point at an existing registry (if the images were not built), or point at the buildset registry (if the images were built).  Any suggestions?22:13
@ecsantos:matrix.orgcorvus: That sounds like more work than I initially thought it'd be. It's just that I'm hesitant to add new requirements to my projects, but I'll probably end up using zuul-sphinx then, its formatting makes a lot of sense for roles22:13
@ecsantos:matrix.orgAnyway, thanks for the info! :)22:13
@jim:acmegating.comecsantos: yeah, i think we tried to do it with plain rst, but it was just clunky enough to make it worth using a plugin.22:15
@jim:acmegating.commnaser: the docker roles in zuul-jobs are designed so that you can always point to the "real" names and the buildset registry is a hidden implementation detail.  if there's a built image, it will use that, otherwise it will pull it from elsewhere.22:19
@jim:acmegating.com(so for example, if a zuul change depends-on a nodepool change, we'll get the built nodepool image in the zuul-quick-start job (which runs container images); otherwise we'll get the published one.22:20
@jim:acmegating.com * (so for example, if a zuul change depends-on a nodepool change, we'll get the built nodepool image in the zuul-quick-start job (which runs container images); otherwise we'll get the published one.)22:20
@jim:acmegating.com * (so for example, if a zuul change depends-on a nodepool change, we'll get the built nodepool image in the zuul-quick-start job (which runs container images); otherwise we'll get the latest published one from dockerhub.)22:20
@mnaser:matrix.orghrmm, okay, I've got a few 'steps' in between zuul and the image names (like.. running molecule driven by zuul which deploys stuff inside kubernetes).. so i think i'll do a little bit of research on how the roles take care of this22:21
@mnaser:matrix.orgas i'm dredging those roles, are my eyes lying to me or this seems pretty redundant? https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/run-buildset-registry/tasks/main.yaml#L1-L1722:27
@mnaser:matrix.orgit looks like use of python's passlib was removed which made the lists identical, but no one merged the tasks, heh -- v22:28
@mnaser:matrix.org * it looks like use of python's passlib was removed which made the lists identical, but no one merged the tasks, heh -- https://opendev.org/zuul/zuul-jobs/commit/4cc307699d2d0bd1d3faee0c9d8c47c850557f5222:28
-@gerrit:opendev.org- Mohammed Naser proposed: [zuul/zuul-jobs] 835156: run-buildset-registry: Drop extra install packages task https://review.opendev.org/c/zuul/zuul-jobs/+/83515622:30
@mnaser:matrix.orgok so looks like the way its done using use-buildset-registry is that it configures `/etc/containers/registries.conf` to include an additional mirror that points towards the build set registry, then falling back to the 'original' prefi22:42
@mnaser:matrix.orgpretty clever way of getting that fallback if needed22:42
-@gerrit:opendev.org- Zuul merged on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com: [zuul/zuul] 835121: Fix Ansible plugin loading https://review.opendev.org/c/zuul/zuul/+/83512123:06
@jim:acmegating.comzuul-maint: this look okay for a zuul release? commit 6214731f8bd3ce96b2431c1b87bcf64cf43ff3da (HEAD -> master, tag: 5.2.0, origin/master, gerrit/master, refs/changes/21/835121/2)23:07
@jim:acmegating.compushed23:13
@fungicide:matrix.orglgtm, thanks!23:19
@mnaser:matrix.orgwelp, looks like ensure-kubernetes + crio is borked23:20
@mnaser:matrix.orghttps://github.com/kubernetes/minikube/issues/1381623:21
@mnaser:matrix.orghttps://github.com/kubernetes/minikube/commit/921816747a5101d4f8e4a3dff0e37cce609234d723:23
@mnaser:matrix.orglooks like it's making certain assumptions that don't exist in our vms (because we use minikube with 'none' driver so it it using the host system)23:23
-@gerrit:opendev.org- Mohammed Naser proposed:23:29
- [zuul/zuul-jobs] 835156: run-buildset-registry: Drop extra install packages task https://review.opendev.org/c/zuul/zuul-jobs/+/835156
- [zuul/zuul-jobs] 835162: ensure-kubernetes: fix missing 02-crio.conf https://review.opendev.org/c/zuul/zuul-jobs/+/835162
@jim:acmegating.comrelease announcement sent23:41
-@gerrit:opendev.org- Mohammed Naser proposed:23:47
- [zuul/zuul-jobs] 835162: ensure-kubernetes: fix missing 02-crio.conf https://review.opendev.org/c/zuul/zuul-jobs/+/835162
- [zuul/zuul-jobs] 835156: run-buildset-registry: Drop extra install packages task https://review.opendev.org/c/zuul/zuul-jobs/+/835156

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