Thursday, 2022-12-15

opendevreviewMerged openstack/openstack-ansible master: Bump OpenStack-Ansible for Zed release  https://review.opendev.org/c/openstack/openstack-ansible/+/86761801:24
opendevreviewJames Denton proposed openstack/openstack-ansible master: Set keepalived branch to master  https://review.opendev.org/c/openstack/openstack-ansible/+/86775705:07
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Set keepalived branch to master  https://review.opendev.org/c/openstack/openstack-ansible/+/86775708:00
*** dviroel|out is now known as dviroel|rover11:12
kleininoonedeadpunk, https://opendev.org/openstack/openstack-ansible-ceph_client/src/branch/master/tasks/ceph_auth_extra_compute.yml#L94 <- can that 0 index be problematic, if I have multiple entries in ceph_extra_confs and only the second one applies to both previous tasks as it only has secret_uuid defined?11:38
kleinihttps://paste.opendev.org/show/bYoHFHNwqeLym8VdTxE8/11:38
noonedeadpunksry, quite in rush with internal stuff now, cant' really dig in11:39
noonedeadpunkbut yes, it will check only first element indeed11:40
noonedeadpunkBut I'm not sure how to fix it now. As somehow getting current loop index is needed11:41
jrosserkleini: i am also totally busy with $dayjob so not really completely understanding the problem12:10
jrosserbut if you need to iterate over two lists at the same time there is this https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_loops.html#with-together12:10
kleiniWas just a general question. Have already an idea how to fix that.12:26
opendevreviewMerged openstack/openstack-ansible master: Set keepalived branch to master  https://review.opendev.org/c/openstack/openstack-ansible/+/86775712:55
jamesdenton^^ ++ thanks13:28
noonedeadpunksure, thanks for fixing it:)13:50
noonedeadpunkI thought that 7.0.0 is latest one13:50
jamesdenton:)13:53
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-os_ironic master: Update ironic documentation  https://review.opendev.org/c/openstack/openstack-ansible-os_ironic/+/86754714:43
*** frenzy_friday is now known as frenzy_friday|food14:45
opendevreviewMarcus Klein proposed openstack/openstack-ansible-ceph_client master: Use correct index of previous task results  https://review.opendev.org/c/openstack/openstack-ansible-ceph_client/+/86780915:08
noonedeadpunkkleini: I wonder if it would be better understandable / readable if replace with loop: https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_loops.html#with-indexed-items15:20
noonedeadpunkbut yeah, maybe it's good as is!15:20
kleininoonedeadpunk: I was not able to get the when conditionals working with loop. The task was not executed at all any more. No skip, just nothing. Task title and that was all.15:23
noonedeadpunkhuh15:24
kleiniIs Ansible different in 2.10 vs what the documentation states as latest? Is something with loop behavior changed in Ansible within OpenStack-Ansible?15:26
noonedeadpunkum, not sure. We haven't changed anything for sure in addition15:32
kleininoonedeadpunk:  https://paste.opendev.org/show/bGRY7LI7sTBcgetrCQTk/ <- can you tell me what is wrong with that? when running that only the title "debug" appears and nothing else.15:32
*** frenzy_friday|food is now known as frenzy_friday15:33
noonedeadpunkmmm... let me play a bit with that example15:34
noonedeadpunkkleini: switch when to `"'lala' in item"`15:37
noonedeadpunkor well15:37
kleinihttps://docs.ansible.com/ansible/latest/playbook_guide/playbooks_conditionals.html#using-conditionals-in-loops <- the first example from this chapter works as expected15:37
noonedeadpunkthis loop does a bit different thing15:37
kleinitry to skip one entry of the loop and the other not. this is what we need within ceph_auth_extra_compute.yml. I was not able to find a working solution. I am sorry!15:38
noonedeadpunkkleini: Um, does it work?15:39
noonedeadpunkhttps://paste.openstack.org/show/bYlRRbgW3bSEMvbM4ycl/15:39
kleinithat looks good15:41
noonedeadpunkJust you raise KeyError when having item.lala is defined15:41
noonedeadpunkinstead you should check for key in dict15:41
noonedeadpunkSo I switched to `"'lala' in item"`15:41
noonedeadpunkand that's it15:41
kleinican you paste it please?15:42
kleiniI still don't get it...15:42
noonedeadpunkhttps://paste.openstack.org/show/bHL05CZNBE7IPXR9pj2l/15:42
kleinihmm too easy15:43
noonedeadpunkBut you can leave this as is at the end of the day if you like current patch more15:43
noonedeadpunkSorry I dissapointed you :D15:43
kleiniAnsible documentation tells me to use loop. So I will do it that way and change my review.15:43
kleiniI am not dissapointed. I am very thankful, you found a working solution!15:44
noonedeadpunkwell. We I guess we would need to have a huge re-work of our stuff as we rarely use loops15:45
noonedeadpunkSo this one doesn't matter after all15:45
kleiniWill test the change tomorrow and then change the review. It is too late for me today.15:45
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-os_ironic master: Update ironic documentation  https://review.opendev.org/c/openstack/openstack-ansible-os_ironic/+/86754717:33
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-os_ironic master: Update ironic documentation  https://review.opendev.org/c/openstack/openstack-ansible-os_ironic/+/86754717:57
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-os_ironic master: Update ironic documentation  https://review.opendev.org/c/openstack/openstack-ansible-os_ironic/+/86754718:10
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-os_ironic master: Update ironic documentation  https://review.opendev.org/c/openstack/openstack-ansible-os_ironic/+/86754718:22
*** rgunasekaran_ is now known as rgunasekaran18:32
jrosser\o/18:49
jrosseroh18:50
jrossersooo many attempts to make that pass18:50
*** dviroel|rover is now known as dviroel|rover|afk21:16
*** cloudnull1 is now known as cloudnull22:29

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