Tuesday, 2023-04-25

@jjbeckman:matrix.org> <@clarkb:matrix.org> Have you tried using namespace resources instead? Then you should be able to create image resources in the job that set credentials for the registry.02:49
* Thank you for the suggestion. No, I have not tried namespaces yet. I've configured `type: namespace` in `nodepool.yaml`, and have observed that Zuul creates namespaces which contain no pods. Other than that, I have yet to figure out what the intended use case is. Does documentation regarding how to use "type: namespace" instead of `type: pod`, which I am able to use successfully, other than the fact that there is seemingly no way to authenticate with a private registry, exist?
@jjbeckman:matrix.org> <@clarkb:matrix.org> When you use the namespace resources instead of pod resources you are given credentials for managing a k8s namespace. This means you can create pods in that namespace how you like. I believe this includes creating image definitions with credetnials to authenticate to your registry. As I mentioned before I don't think there is any mechanism currently to have the pod resource provider configure registry authentication. But I suspect that you can work around this using namespaces06:28
I see. Guess I will need to figure out how to use namespaces as using a private registry is a requirement. Thanks!
-@gerrit:opendev.org- Simon Westphahl proposed:14:20
- [zuul/zuul] 881480: dnm: run dedup tests with multiple schedulers https://review.opendev.org/c/zuul/zuul/+/881480
- [zuul/zuul] 881481: dnm: debug https://review.opendev.org/c/zuul/zuul/+/881481
@clarkb:matrix.orgI have successfully tested the ensure-quay-repo role locally now after the refactor. No changes appear to be necessary16:08
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 881408: Improve FrozenJob.isEqual https://review.opendev.org/c/zuul/zuul/+/88140821:40
-@gerrit:opendev.org- Clark Boylan proposed: [zuul/zuul-jobs] 881521: Update ensure-quay-repo to run opportunistically https://review.opendev.org/c/zuul/zuul-jobs/+/88152122:23
@clarkb:matrix.orgThis seems to work locally for me22:23
@jim:acmegating.comClark: ianw on further inspection, i think the issue with zuul-operator is that it's not actually using the built image in the test job.  does that project need to be moved to microk8s?22:55
@clarkb:matrix.orgI'm not sure how microk8s (or not) may possibly impact that22:57
@jim:acmegating.comi believe ianw moved the k8s container testing to microk8s because minikube is unfeasible now22:57
@jim:acmegating.comand zuul-operator is using minikube.22:58
@clarkb:matrix.orgI remember that and I think it had to do with packages that Open build services was hosting no longer being updted and k8s dropping docker by default. And so it was either do a lot of work to fabricobble something together or just use ubuntu's installer and we did that for simplicity22:59
@clarkb:matrix.orgIt can't hurt to switch it to microk8s at least23:00
@jim:acmegating.comright, k8s+docker is out; k8s+crio wasn't installable.  either way, fixing whatever is wrong with minikube just puts us in a dead-end spot, right?  so if anything is to be fixed, might as well jump to the one thing we know works for starters?23:03
@clarkb:matrix.org++23:03
@jim:acmegating.comokay.  if anyone else feels like working on that, there's a plan.23:04
@jim:acmegating.comin the mean time, i think we can probably approve all of the quay.io changes, and leave the operator quay change for when someone is ready to continue maintenance23:05
@clarkb:matrix.orgthat seems reasonable then tomorrow we can get opendev switched over to consuming the new image locations and give them a shakedown23:07
@clarkb:matrix.org(or sooner is fine too but I'm running out of time today)23:07
@jim:acmegating.comcool, i've approved them.  we can work on an announcement tomorrow too.23:08
@jim:acmegating.com(happily, timing is not critical for this switch)23:08
-@gerrit:opendev.org- Zuul merged on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com: [zuul/zuul-preview] 881249: Publish container images to quay.io https://review.opendev.org/c/zuul/zuul-preview/+/88124923:15
-@gerrit:opendev.org- Zuul merged on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com: [zuul/gcp-authdaemon] 881251: Publish container images to quay.io https://review.opendev.org/c/zuul/gcp-authdaemon/+/88125123:16
-@gerrit:opendev.org- Clark Boylan proposed: [zuul/zuul-jobs] 881524: Use consistent registry_type var name across roles https://review.opendev.org/c/zuul/zuul-jobs/+/88152423:19
-@gerrit:opendev.org- Zuul merged on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com: [zuul/zuul-storage-proxy] 881250: Publish container images to quay.io https://review.opendev.org/c/zuul/zuul-storage-proxy/+/88125023:23
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/nodepool] 881287: Add Azure gallery image support https://review.opendev.org/c/zuul/nodepool/+/88128723:35
@iwienand:matrix.orgcorvus: the new nameservers  are up, so any objections to merging https://review.opendev.org/c/opendev/zone-gating.dev/+/880906 to have gating.dev have NS records?23:37
@jim:acmegating.comianw: nope23:38
@iwienand:matrix.orgthanks!23:39
@jim:acmegating.comianw: `dig gating.dev @ns03.opendev.org`23:39
@jim:acmegating.comdo you expect that to work yet?23:40
@jim:acmegating.comi get the expected response on ns1, ns2, and ns04, but not ns0323:40
@iwienand:matrix.orgoh interesting, it works on n04, but not n0323:40
@iwienand:matrix.orglet me check...23:40
@iwienand:matrix.orgok i think it might have tried to transfer, failed and backed off before the change to update firewalls merged.  a manual nsd-control transfer has updated it23:44
@jim:acmegating.comcool +323:46
-@gerrit:opendev.org- Zuul merged on behalf of Ian Wienand: [opendev/zone-gating.dev] 880906: Add Jammy refresh NS records https://review.opendev.org/c/opendev/zone-gating.dev/+/88090623:55
@iwienand:matrix.orgok, both myself and https://toolbox.googleapps.com/apps/dig/ see NS records in there for ns03&ns04 in gating.dev23:59
@iwienand:matrix.orgcorvus: i think you can switch at the registry whenever convenient 23:59

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