Tuesday, 2023-05-09

ianwthe only time that tag is added to the haproxy image is @ https://zuul.opendev.org/t/openstack/build/36962d5469b34d5db415aef819d9fd33/console#4/0/13/ubuntu-jammy00:42
ianwthere is only an artifact for :latest -> https://zuul.opendev.org/t/openstack/build/36962d5469b34d5db415aef819d9fd33/artifacts00:43
ianwit's not retagged in the promote job -> https://zuul.opendev.org/t/openstack/build/ac9c34359ac54e60b548f5fd45f6c052/console00:44
ianw"skopeo copy docker://insecure-ci-registry.opendev.org:5000/quay.io/opendevorg/haproxy-statsd:36962d5469b34d5db415aef819d9fd33_latest docker://quay.io/opendevorg/haproxy-statsd:latest" must somehow also copy that tag?00:45
ianwskopeo copy docker://insecure-ci-registry.opendev.org:5000/quay.io/opendevorg/haproxy-statsd:36962d5469b34d5db415aef819d9fd33_latest oci:foo00:53
ianwand inspecting foo doesn't show that tag anywhere ...00:53
ianwin other words i'm at quite a loss as how it got there :/00:53
ianwok, i see it, we're still running the upload @ https://zuul.opendev.org/t/openstack/build/36962d5469b34d5db415aef819d9fd33/console01:08
ianwclarkb: ^ yeah, in this model, we should only run build in the gate, not upload.  build will push it to the IR, and then the promote step will do the full skopeo copy01:13
Clark[m]Aha. So the job set is wrong. I can work on cleaning that up tomorrow. Thank you for running that down 01:16
opendevreviewMerged openstack/project-config master: Retire puppet-rally - Step 5: Remove Project  https://review.opendev.org/c/openstack/project-config/+/88001901:18
opendevreviewIan Wienand proposed opendev/system-config master: Don't use upload jobs for container images  https://review.opendev.org/c/opendev/system-config/+/88262802:00
ianwclarkb: ^ a first draft ... 02:02
*** amoralej|off is now known as amoralej06:27
opendevreviewThierry Carrez proposed openstack/project-config master: Adjust ACL for ovn-bgp-agent releases  https://review.opendev.org/c/openstack/project-config/+/88267608:24
*** diablo_rojo is now known as Guest92409:16
*** amoralej is now known as amoralej|lunch12:13
*** dhill is now known as Guest93212:21
opendevreviewJeremy Stanley proposed openstack/project-config master: Adjust ACL for ovn-bgp-agent releases  https://review.opendev.org/c/openstack/project-config/+/88267612:21
opendevreviewMerged openstack/project-config master: Adjust ACL for ovn-bgp-agent releases  https://review.opendev.org/c/openstack/project-config/+/88267612:45
*** amoralej|lunch is now known as amoralej12:58
corvusianw: clarkb or should we change the upload role to skip the tags when we use the intermediate-registry method?13:12
Clark[m]corvus: ianw: I haven't looked too closely yet (and can't for a bit) but one upside to corvus' suggestion is we won't have to redo all the job dependency stuff. But I'm not sure what that would entail as I haven't looked at the upload job yet13:32
corvusi haven't looked yet either... and i'm on the fence about it: pro: it keeps the idea of being able to switch modes by flipping a variable; con: the upload job has a misleading name.13:40
corvusi think i'm like 70% in favor of it though.13:41
opendevreviewGrzegorz Grasza proposed openstack/project-config master: Migrate Barbican back to Launchpad  https://review.opendev.org/c/openstack/project-config/+/88271613:50
opendevreviewMerged openstack/project-config master: Migrate Barbican back to Launchpad  https://review.opendev.org/c/openstack/project-config/+/88271614:15
clarkbI failed to send out the meeting agenda yesterday. Fixing that now15:16
fungithanks!15:17
*** dmellado1 is now known as dmellado15:25
opendevreviewClark Boylan proposed opendev/system-config master: Don't use upload jobs for container images  https://review.opendev.org/c/opendev/system-config/+/88262815:40
clarkbcorvus: ianw  ^ that should make ianw's approach mergable I think15:41
clarkbI'll look into doing the skip if intermediate registry is promote method change next15:41
opendevreviewClark Boylan proposed zuul/zuul-jobs master: Gracefully handle use of intermediate registry in container upload role  https://review.opendev.org/c/zuul/zuul-jobs/+/88272415:47
clarkbcorvus: ianw  ^ I think that implements corvus' suggestion15:47
opendevreviewChing Kuo proposed opendev/system-config master: Build eavesdrop with Python 3.11 Base Images  https://review.opendev.org/c/opendev/system-config/+/88256415:51
opendevreviewClark Boylan proposed opendev/system-config master: Don't use upload jobs for container images  https://review.opendev.org/c/opendev/system-config/+/88262815:51
opendevreviewChing Kuo proposed opendev/system-config master: Build ircbot with Python 3.11 Base Images  https://review.opendev.org/c/opendev/system-config/+/88190015:52
clarkbIf we go with 882628 we can use the grafyaml move as a test case15:55
clarkband not rebuild everything else15:56
clarkber sorry I meant 88272415:56
clarkbgmann: sorry about the need for rebases... Once I get through the quay.io migration I'll try to get your changes sorted out15:56
clarkbbah I'm having a morning. That was for genekuo not gmann (sorry gmann)15:57
*** amoralej is now known as amoralej|off15:59
gmannclarkb: ok, no worry :)16:02
genekuono problem, I can wait for the quay.io changes to go through16:09
clarkbgenekuo: thank you for the patience and the help!16:10
opendevreviewClark Boylan proposed opendev/system-config master: Don't use upload jobs for container images  https://review.opendev.org/c/opendev/system-config/+/88262816:11
corvusclarkb: am i sleep deprived or is the logic backwards on 882724?16:14
corvusclarkb: that looks like "when method=intermediate-registry then  include_tasks: push.yaml"16:15
clarkboh yup thats backwards16:15
corvusokay whew, so probably just needs a not in front of the whole condition16:16
clarkbwhen: promote_container_image_method is not defined or promote_container_image_method != 'intermediate-registry' <- that should do it?16:18
clarkbif we are not defined then push. If we are defined and value is tag then push. If we are defined and value is intermediate-registry don't push16:18
opendevreviewClark Boylan proposed zuul/zuul-jobs master: Gracefully handle use of intermediate registry in container upload role  https://review.opendev.org/c/zuul/zuul-jobs/+/88272416:19
corvuslooks like we are treating the default as tag... and actually  when: promote_container_image_method|default('tag') != 'intermediate-registry' would be consistent with the use in the promote role16:20
corvusmaybe even16:21
corvuswhen: promote_container_image_method|default('tag') == 'tag'16:21
clarkb++ I'll update16:21
corvusclarkb: oh i think we also need to move or copy that role var documentation.. it's currently only in the promote role16:22
corvusso we should either copy it to the upload role or put in in the common text16:22
opendevreviewClark Boylan proposed zuul/zuul-jobs master: Gracefully handle use of intermediate registry in container upload role  https://review.opendev.org/c/zuul/zuul-jobs/+/88272416:35
clarkbcorvus: ^ like that maybe?16:35
corvusclarkb: ++ good call on the promote switch too16:44
clarkb" Don't compare to literal True/False."17:01
clarkbI feel like this is an instance where it is more readable...17:01
opendevreviewJeremy Stanley proposed opendev/zone-opendev.org master: Dummy mailman hostname to house the list of lists  https://review.opendev.org/c/opendev/zone-opendev.org/+/86798117:01
opendevreviewClark Boylan proposed zuul/zuul-jobs master: Gracefully handle use of intermediate registry in container upload role  https://review.opendev.org/c/zuul/zuul-jobs/+/88272417:02
clarkbcorvus: ^ that should make ansible-lint happier17:02
clarkbyup zuul is happy with that change now17:23
funginew held lists99 node is 23.253.160.97 and in its initial state the postorius and hyperkitty interfaces are correctly filtering lists by domain, the only problem is that hyperkitty says "lists.opendev.org" in the top-left corner of all pages even for lists.zuul-ci.org archives (hyperlinks also still go to the right places)18:44
clarkbfungi: I seem to recall that is a singular value it pulls out in the template18:50
clarkbbut you can double check that18:50
fungiyeah, i'm back to poking around at the django admin interface, we seem to still be creating an initial "lists.opendec.org" django site even though i thought https://review.opendev.org/867986 would make it mailman.opendev.org so clearly there's more to it than just being the first site we create from the mailman_sites list in hostvars18:59
fungii guess it's the SERVE_FROM_DOMAIN at https://opendev.org/opendev/system-config/src/branch/master/playbooks/roles/mailman3/templates/docker-compose.yaml.j2#L4319:03
fungiaha, there's a default domain called "example.com" and then it gets renamed here to whatever's in that value: https://opendev.org/opendev/system-config/src/branch/master/docker/mailman/web/docker-entrypoint.sh#L139-L14619:06
clarkbya and it is a single value... so we may just have to accept this for now19:07
fungithough the other magic with that is happening in the settings here: https://opendev.org/opendev/system-config/src/branch/master/playbooks/roles/mailman3/files/web-settings.py#L227-L23019:10
opendevreviewJeremy Stanley proposed openstack/project-config master: Add a convenient normalize-gerrit-acl tox testenv  https://review.opendev.org/c/openstack/project-config/+/88275019:36
opendevreviewJeremy Stanley proposed opendev/system-config master: Separate mailman default hostname  https://review.opendev.org/c/opendev/system-config/+/86798619:48
opendevreviewJeremy Stanley proposed opendev/system-config master: Use magic domain guessing in Mailman 3  https://review.opendev.org/c/opendev/system-config/+/86798719:48
opendevreviewJeremy Stanley proposed opendev/system-config master: DNM force mm3 failure to hold the node  https://review.opendev.org/c/opendev/system-config/+/85529219:48
opendevreviewJeremy Stanley proposed opendev/system-config master: Upgrade to latest Mailman 3 releases  https://review.opendev.org/c/opendev/system-config/+/86921019:48
fungiokay, that stack is updated for the SERVE_FROM_DOMAIN adjustment so i can see where things wind up, new autohold set too19:51
clarkbI'm going to pop out for a long lunch/exercise break. I'll be back to hopefully push quay things along a bit further19:51
ianwi'm uneasy on https://review.opendev.org/c/zuul/zuul-jobs/+/882724.  i've made a few comments and added a link to other docs i think probably want updating if that's the path we go on.  i've always had in my head it's "check - build, gate - build, promote - copy from IR" in this model20:30
ianw... and that's how i wrote some bits of the docs i contributed too.  so i'm having a hard time shifting that view :)  but i'm not -1 if others disagree20:31
clarkbianw: did the updates I made to your system-config change to make it pass look good to you? In particular i moved everything back into a common vars anchor because the promote job needs to know about the image details too22:00
clarkbcorvus: I'm happy to update the other repos that I did the upload job in to only use build. I think it mostly comes down to your opinion on the best thing for zuul22:00
clarkbI also understand ianw's argument that this is far more explicit and probably easier to understand. The reason I got it wrong was the conversion path made it confusing but if starting from scratch this probably does make more sense to a new implementation22:01
ianwclarkb: yeah, i did think the promote job just promoted the artifact in the job it was pointed at22:06
ianwi must have read it wrong22:06
ianwoh i see now; https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/promote-container-image/tasks/promote-from-intermediate-registry.yaml#L1822:08
clarkbianw: it may also create the repo in quay if necessary. And i think the push also needs the info as well22:08
ianwsorry yeah, that was me misreading that22:09
ianw882628 lgtm.  but i don't want to be the initiator of a bunch of work to reorg the jobs for purely theoretical reasons, as we found in the matrix channel it's unlikely anyone's even read the updated docs :)  22:11
fungi173.231.255.71 is the new-new-new-new-... held lists9922:18
ianwRe: Fw: latest: Re: final: Fw: latestv222:23
clarkbaroo?22:34
opendevreviewClark Boylan proposed zuul/zuul-jobs master: Gracefully handle use of intermediate registry in container upload role  https://review.opendev.org/c/zuul/zuul-jobs/+/88272422:41
clarkbianw: ^ I tried to address your comments in that patchset22:41
corvusclarkb: ianw i think ianw is right that if we go with my approach, we should probably rework the documentation to change the recommendation (so it says always run "upload" in "gate").22:45
clarkbok that last patchset said it was optional. But I can update it to be the only suggestions22:46
corvusbut i also don't feel very strongly about this, and if we prefer to change out the jobs, that's fine.  i think i'm getting cognitive dissonance though because we explicitly decided *not* to have two different promote roles/jobs for the different tasks, but we are considering having two different "gate" jobs22:47
corvusi don't have any objection to ianw's change.  i only thought i was making a suggestion that maybe was aligned with our more recent decisions22:48
clarkbfwiw I think zuul also did build + upload with promote method intermediate-registry so ya I think at the point of adding these jobs to repos we ended up with what was familiar possibly entirely unintentionally (it was in my case)22:50
clarkbI agree that build + build was the previous intention, but maybe our unintentional mistake is an indicator the consistent thing is better for users?22:51
corvusyeah i think you put your finger on it22:51
opendevreviewClark Boylan proposed zuul/zuul-jobs master: Gracefully handle use of intermediate registry in container upload role  https://review.opendev.org/c/zuul/zuul-jobs/+/88272422:52
clarkbcorvus: ^ that update says only build + upload22:52
clarkbso if we go that route it is consistent with a single suggestion22:52
clarkbit is late enough in my day that it may be worth sleeping on it too and making a decision tomorrow22:53
corvuswfm22:54
ianwi'm happy to go with the -upload role, especially with the updates to 882724 that lgtm, modulo some small comments i just left23:15
opendevreviewClark Boylan proposed zuul/zuul-jobs master: Gracefully handle use of intermediate registry in container upload role  https://review.opendev.org/c/zuul/zuul-jobs/+/88272423:18
clarkbianw: thank you for the reviews23:18

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