Tuesday, 2023-05-30

-@gerrit:opendev.org- Maksim Malchuk proposed: [zuul/nodepool] 884632: CI: switch nodepool-functional-container-openstack to quay.io https://review.opendev.org/c/zuul/nodepool/+/88463200:05
@jjbeckman:matrix.orgHi folks,05:55
Is there any documentation regarding how to use third party Ansible playbooks?
I am aware and have been able to execute play books in the [zuul-jobs](https://opendev.org/zuul/zuul-jobs), repository, but unable to figure out how to use generic third party Ansible playbooks.
For example if one would want to use [community.general.jira module](https://docs.ansible.com/ansible/latest/collections/community/general/jira_module.html), how would one go about it?
@flaper87:matrix.org> <@flaper87:matrix.org> I looked into the local storage and it looks like the `redirect_url: is <web-root>/auth_callback` whereas the `zuul_auth_redirect` is set to `t/zuul-infra/status`05:59
Looking at the code, I see that the web client does remove the tenant scope: https://opendev.org/zuul/zuul/src/commit/a9146705148afba092e31a7013676f9c5661a2c6/web/src/api.js#L70-L73
This makes sense, and it seems to work when the correct (`/auth_callback`) url is added in the Google's configs. However, that callback URL does not seem to be working. That is, The browser is redirected to `https://<fqdn>/auth_callback` but it then gets stuck there in a infinite loop. If I add `/t/auth_callback` manually, then I can see the auth flow complete
-@gerrit:opendev.org- Flavio Percoco Premoli proposed: [zuul/zuul] 883837: Generate a per-event timestamp for the ES reporter https://review.opendev.org/c/zuul/zuul/+/88383708:12
-@gerrit:opendev.org- Maksim Malchuk proposed wip: [zuul/nodepool] 884632: CI: switch nodepool-functional-container-openstack to quay.io https://review.opendev.org/c/zuul/nodepool/+/88463208:20
-@gerrit:opendev.org- Flavio Percoco Premoli proposed: [zuul/zuul] 883837: Generate a per-event timestamp for the ES reporter https://review.opendev.org/c/zuul/zuul/+/88383708:48
-@gerrit:opendev.org- Flavio Percoco Premoli proposed: [zuul/zuul] 884663: Add stat_time to buildset in the ES report https://review.opendev.org/c/zuul/zuul/+/88466309:04
-@gerrit:opendev.org- Flavio Percoco Premoli proposed: [zuul/zuul] 883837: Generate a per-event timestamp for the ES reporter https://review.opendev.org/c/zuul/zuul/+/88383709:05
-@gerrit:opendev.org- Flavio Percoco Premoli proposed: [zuul/nodepool] 875847: Allow to pass ImagePullSecrets to Kubernetes pods https://review.opendev.org/c/zuul/nodepool/+/87584709:20
-@gerrit:opendev.org- Flavio Percoco Premoli proposed: [zuul/nodepool] 875847: Allow to pass ImagePullSecrets to Kubernetes pods https://review.opendev.org/c/zuul/nodepool/+/87584709:20
@fungicide:matrix.org> <@jjbeckman:matrix.org> Hi folks,12:38
>
> Is there any documentation regarding how to use third party Ansible playbooks?
> I am aware and have been able to execute play books in the [zuul-jobs](https://opendev.org/zuul/zuul-jobs), repository, but unable to figure out how to use generic third party Ansible playbooks.
>
> For example if one would want to use [community.general.jira module](https://docs.ansible.com/ansible/latest/collections/community/general/jira_module.html), how would one go about it?
based on discrepancies between your question and what you linked to, i think you may be conflating different concepts: playbooks, modules, and collections
@fungicide:matrix.orgzuul's primary units of reuse are job definitions and roles, and if can consume both of those directly via git connections12:38
@fungicide:matrix.orgplaybooks would need to be copied somewhere and wrapped by job definitions12:39
@fungicide:matrix.orgmodules would need to be installed into the pre-built ansible venv (usually configured as additional dependencies in your manage-ansible configuration i think) or installed in a nested ansible rather than the one run directly by the executor process12:40
@fungicide:matrix.orgcollections are a relatively new thing in ansible, and i'm not sure what the solution is there though for now it's probably roughly the same as for modules12:40
-@gerrit:opendev.org- Maksim Malchuk proposed wip: [zuul/nodepool] 884632: CI: switch nodepool-functional-container-openstack to quay.io https://review.opendev.org/c/zuul/nodepool/+/88463213:14
@rancher:matrix.orgAnyone knows why nothing (except the heading) shows when opening a project in the Projects section of the Zuul web interface? There are no errors, and the exact same config on another computer shows this interface:14:03
-@gerrit:opendev.org- Maksim Malchuk proposed wip: [zuul/nodepool] 884632: CI: switch nodepool-functional-container-openstack to quay.io https://review.opendev.org/c/zuul/nodepool/+/88463215:12
-@gerrit:opendev.org- Maksim Malchuk marked as active: [zuul/nodepool] 884632: CI: switch nodepool-functional-container-openstack to quay.io https://review.opendev.org/c/zuul/nodepool/+/88463215:14
-@gerrit:opendev.org- Maksim Malchuk proposed: [zuul/nodepool] 884632: CI: fix nodepool-functional-container-openstack https://review.opendev.org/c/zuul/nodepool/+/88463215:16
@fungicide:matrix.org> <@rancher:matrix.org> Anyone knows why nothing (except the heading) shows when opening a project in the Projects section of the Zuul web interface? There are no errors, and the exact same config on another computer shows this interface:18:10
that data is populated through browser-side javascript based on api calls, so could be your browser is failing to call the api (maybe firewalling or cors settings?)
@fungicide:matrix.orgtry turning on the debugging console in your browser and refreshing, then looking for reported errors18:11
-@gerrit:opendev.org- Tristan Cacqueray proposed: [zuul/zuul] 884781: Add /etc/pki to the bubblewrap bind list https://review.opendev.org/c/zuul/zuul/+/88478120:14
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed:21:44
- [zuul/nodepool] 883463: Use cached ids in node iterator more often https://review.opendev.org/c/zuul/nodepool/+/883463
- [zuul/nodepool] 884784: Use cache more aggressively when searching for ready nodes https://review.opendev.org/c/zuul/nodepool/+/884784
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/nodepool] 884788: Log large TreeCache queue sizes https://review.opendev.org/c/zuul/nodepool/+/88478822:23
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed on behalf of Clark Boylan: [zuul/nodepool] 883864: Move nodepool functests to podman https://review.opendev.org/c/zuul/nodepool/+/88386422:39
@jim:acmegating.comI think those are both ready to go now, but they both depend on https://review.opendev.org/883593 which is also ready to merge22:40
@jim:acmegating.com(basically, i think we've answered all our podman questions and have shown that it's workable)22:40

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