Tuesday, 2023-02-07

-@gerrit:opendev.org- Ian Wienand proposed: [zuul/zuul-jobs] 872733: ensure-skopeo: fixup some typos https://review.opendev.org/c/zuul/zuul-jobs/+/87273303:05
-@gerrit:opendev.org- Ian Wienand proposed: [zuul/zuul-jobs] 872806: build-docker-image: further cleanup buildx path https://review.opendev.org/c/zuul/zuul-jobs/+/87280603:05
-@gerrit:opendev.org- Zuul merged on behalf of Ian Wienand: [zuul/zuul-jobs] 872495: ansible-lint: uncap https://review.opendev.org/c/zuul/zuul-jobs/+/87249503:29
-@gerrit:opendev.org- Zuul merged on behalf of Ian Wienand:03:39
- [zuul/zuul-jobs] 872258: build-docker-image: fix change prefix https://review.opendev.org/c/zuul/zuul-jobs/+/872258
- [zuul/zuul-jobs] 872375: container-roles-jobs: Update tests to jammy nodes https://review.opendev.org/c/zuul/zuul-jobs/+/872375
-@gerrit:opendev.org- Zuul merged on behalf of Ian Wienand: [zuul/zuul-jobs] 872733: ensure-skopeo: fixup some typos https://review.opendev.org/c/zuul/zuul-jobs/+/87273305:19
-@gerrit:opendev.org- Ian Wienand proposed: [zuul/zuul-jobs] 872842: promote-docker-image: improve failure debugability https://review.opendev.org/c/zuul/zuul-jobs/+/87284205:48
-@gerrit:opendev.org- Simon Westphahl proposed: [zuul/zuul] 872519: Replace use of ProjectContext with SourceContext https://review.opendev.org/c/zuul/zuul/+/87251907:44
-@gerrit:opendev.org- Simon Westphahl proposed: [zuul/zuul] 872908: Cleanup old rebase-merge dirs on repo reset https://review.opendev.org/c/zuul/zuul/+/87290812:28
-@gerrit:opendev.org- Simon Westphahl proposed: [zuul/zuul] 872908: Cleanup old rebase-merge dirs on repo reset https://review.opendev.org/c/zuul/zuul/+/87290812:31
-@gerrit:opendev.org- Simon Westphahl proposed: [zuul/zuul] 872908: Cleanup old rebase-merge dirs on repo reset https://review.opendev.org/c/zuul/zuul/+/87290812:36
@mhuin:matrix.orgHello zuul-maint, this is a small QoL change that adds a tenant selector to the GUI: https://review.opendev.org/c/zuul/zuul/+/810955 - it had 3 +2's last it was reviewed but never got merged14:17
-@gerrit:opendev.org- Matthieu Huin https://matrix.to/#/@mhuin:matrix.org proposed: [zuul/zuul-client] 872967: Support for ZUUL_TOKEN environment variable https://review.opendev.org/c/zuul/zuul-client/+/87296714:32
@mhuin:matrix.orgClark: I am trying to run unit tests for zuul on a Ubuntu 22.04 VM, using the setup-test-docker.sh script to start the required services, but I keep getting permission errors for zookeeper when trying to access the certificate dirs. Is there something I'm missing? I run the script as root - since docker-compose needs to be run as root15:04
@jim:acmegating.commhu: you should be able to run the script with `ROOTCMD=sudo` or something similar15:10
@clarkb:matrix.orgYup the comment in the script explains that15:10
@clarkb:matrix.orgIf you run it as root then the SSL certs are all root owned and you will need to run the unittests as root or chown the certs to your user I think15:11
@mhuin:matrix.orgok let me clean it all up and try again15:11
@jim:acmegating.commhu:  https://opendev.org/zuul/zuul/src/branch/master/TESTING.rst?display=source#L26-L2715:12
@jim:acmegating.commhu: an alternative with some security implications is adding your user to the docker group.15:20
@mhuin:matrix.orgI might just switch to podman but podman-compose can have some compatibility issues with some compose files15:24
@mhuin:matrix.orgalright, got it working, thanks!15:34
@elpell:matrix.orgHi. I'm trying the metastatic driver and want using the slot information exposed here to isolate workspaces, based on this change:16:43
https://review.opendev.org/c/zuul/nodepool/+/811016/4
However, using the latest nodepool release I do not manage to expose the slot information to my jobs. I was think I would be able to find the slot information in the executor's inventory, but I do not (maybe this is not supported yet). Do I have to configure something for this feature? I cannot seem to find much documentation about this.
@jim:acmegating.comPer Wiklund: that's a low-priority project i'm working on.  it's not finished yet, and not exposed via zuul yet.16:45
@jim:acmegating.comhttps://review.opendev.org/811017 is the next piece16:47
@elpell:matrix.org> <@jim:acmegating.com> https://review.opendev.org/811017 is the next piece16:56
I see, and makes sense! Nice to see it's progressing though!
@jim:acmegating.comyep, thanks.  once that lands, we're going to have to think about the best way to incorporate it into the standard zuul-jobs roles/jobs.16:59
-@gerrit:opendev.org- Ian Wienand proposed: [zuul/zuul-jobs] 872842: promote-docker-image: improve failure debugability https://review.opendev.org/c/zuul/zuul-jobs/+/87284219:10
-@gerrit:opendev.org- Ade Lee proposed: [zuul/zuul-jobs] 866881: Add ubuntu to enable-fips role https://review.opendev.org/c/zuul/zuul-jobs/+/86688119:29
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 872482: Fix race condition in pipeline change list init https://review.opendev.org/c/zuul/zuul/+/87248219:37
-@gerrit:opendev.org- Ian Wienand proposed:20:31
- [zuul/zuul-jobs] 872842: promote-docker-image: improve failure debugability https://review.opendev.org/c/zuul/zuul-jobs/+/872842
- [zuul/zuul-jobs] 873028: promote-docker-image: double-quote regexes https://review.opendev.org/c/zuul/zuul-jobs/+/873028
@iwienand:matrix.orgClark: fungi ^ i think the first there is the real solution, from a little local testing playbook.  but i think it might not be a bad idea to make it more explicit too20:32
@jim:acmegating.comianw: i think there's something missing from 842?20:46
@clarkb:matrix.orgianw: double quote == double escape?20:54
@clarkb:matrix.orgalso I kinda wish this wasn't a linter rule given they behave differently...20:55
@iwienand:matrix.orgClark: ansible itself actually warns on it too20:56
@iwienand:matrix.org```[WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ ((ansible_date_time.iso860 ... blah blah```20:57
@clarkb:matrix.orgugh20:57
-@gerrit:opendev.org- Ian Wienand proposed: [zuul/zuul-jobs] 872842: promote-docker-image: improve failure debugability https://review.opendev.org/c/zuul/zuul-jobs/+/87284220:58
@clarkb:matrix.organyway change approved20:58
@clarkb:matrix.orgianw: and can you check my comment on the deugging change20:59
@iwienand:matrix.orgyeah, i wonder if we do it anywhere else to compare21:01
@clarkb:matrix.orgcould just uri in a random change and see what it looks like but I'm pretty sure all of the registered data goes in the json file if you don't no log it21:02
@jim:acmegating.comit's definitely unsafe that's why we had no_log before21:06
@jim:acmegating.com(unless something has changed in ansible since then)21:08
-@gerrit:opendev.org- Zuul merged on behalf of Ian Wienand: [zuul/zuul-jobs] 873028: promote-docker-image: double-quote regexes https://review.opendev.org/c/zuul/zuul-jobs/+/87302821:08
@iwienand:matrix.orgi'm thinking here that it registers the results, which don't include any header token.  but i agree on confirming21:09
@jim:acmegating.comianw: it's not about registering, it's about the fact that the json output plugin logs all of the input values21:09
@clarkb:matrix.orgTheres the initial fix at least which doesn't change those bits21:09
@iwienand:matrix.orgright, the call is still no_log; i'm registering it's result though21:10
@jim:acmegating.comi don't see a no_log there?21:10
-@gerrit:opendev.org- Ian Wienand proposed: [zuul/zuul-jobs] 872842: promote-docker-image: improve failure debugability https://review.opendev.org/c/zuul/zuul-jobs/+/87284221:11
@iwienand:matrix.orgahh, that's my copy-paste error21:12
@jim:acmegating.comokay, so now with the no_log there -- we're basically assuming that nothing bad can ever end up in result.status or result.msg.  honestly, i don't think it's worth the risk.  this credential is too important, and the value from seeing "502 server error" there is not high enough to risk exposure imo.21:15
@jim:acmegating.com(i can get behind the idea of doing the templating and filtering as a separate step though -- the rest of the change)21:16
@iwienand:matrix.orgthat's fair enough.  i was thinking this sort of thing would also have helped with the other api error we got with the manifest problem21:18
@iwienand:matrix.orgi guess that's why my mind first jumped to "api error" rather than "ansible error"21:18
@jim:acmegating.comyeah.  it's annoyingly hard to debug.  but it's also so easy for stuff to slip through here (and problems can be caused by some module or ansible changing behavior) and i'm just really paranoid about credentials used for publishing.  :/21:20
@iwienand:matrix.orgi can rework it; as you say i think having a bit more explicit info on what was deleted in the logs is probably enough anyway21:24
-@gerrit:opendev.org- Ian Wienand proposed: [zuul/zuul-jobs] 872842: promote-docker-image: improve failure debugability https://review.opendev.org/c/zuul/zuul-jobs/+/87284221:26
@jim:acmegating.comyeah.  i can probably be persuaded to go along with the change as written if you feel strongly about it and have double checked nothing secret is getting in the json file because of that.    but my inclination to be very conservative here leads me to think the list-building part of the change is significant improvement with no risk, and the other part is little improvement for high risk21:27
@clarkb:matrix.orgcorvus: ianw what keeps that bit of code from deleting permanent tags that are old?21:27
@clarkb:matrix.org(sorry was looking at it more closely and that question popped up in my head)21:27
@jim:acmegating.comClark: "startswith('change')"21:27
@jim:acmegating.com * Clark: "startswith('change_')"21:27
@iwienand:matrix.orgi think it only matches "change_" 21:27
@clarkb:matrix.orgaha thanks21:28
@jim:acmegating.comor (i guess since that other change we were talking about landed, "startswith(pipeline)".  that's more dangerous than i would like, and probably warrants revisiting given that i suspect the rest of that change doesn't work anymore.21:28
@jim:acmegating.combest not use this in a pipeline called "latest_builds"21:29
@jim:acmegating.com * best not use this in a pipeline called "latest"21:29
@clarkb:matrix.orgheh we havea deploy pipeline... don't tag things "deploy"21:30
@jim:acmegating.com(to resolve that reference, i'm talking about https://review.opendev.org/740560 which we discussed yesterday.  i believe the use case for that change is now broken because it didn't add a test case, and subsequent changes accidentally broke it) i suspect its remnants can be reverted.21:31
@jim:acmegating.comit probably should have used "pipeline_{{pipeline}}" to be safer21:32
@jim:acmegating.comalso, i'm really bad at closing parens today.  sorry to any lisp hackers. ))21:34
@iwienand:matrix.orgi may have stuffed up the tag that we do require in the additional fixup for that22:08
@iwienand:matrix.orghttps://zuul.opendev.org/t/zuul/build/5dab299d2b7d49329d7999b164727e7c/console22:08
@clarkb:matrix.orgianw: which additional fixup?22:09
@iwienand:matrix.org 22:10
build-docker-image: further cleanup buildx path : https://review.opendev.org/872806
@jim:acmegating.comianw:  that sort of makes it look like that's coping from the temp registry (rather than the buildset registry) to the intermediate registry22:18
@iwienand:matrix.orghttps://zuul.opendev.org/t/zuul/build/60d0020b8e2e40508eaf7d5f8c5c244c/console#2/6/17/executor is a working example that looks ~ the same22:33
@iwienand:matrix.orgoh i think i see22:36
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/nodepool] 873037: Add OpenStack volume quota https://review.opendev.org/c/zuul/nodepool/+/87303722:41
-@gerrit:opendev.org- Ian Wienand proposed: [zuul/zuul-jobs] 872806: build-docker-image: further cleanup buildx path https://review.opendev.org/c/zuul/zuul-jobs/+/87280622:42
@iwienand:matrix.orgit had dropped the buildset registry tag; i think that was it22:43
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/nodepool] 872722: Add scheduler, volumes, and labels to k8s/openshift https://review.opendev.org/c/zuul/nodepool/+/87272222:47

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