Thursday, 2024-09-19

*** liuxie is now known as liushy09:06
opendevreviewAlbin Vass proposed zuul/zuul-jobs master: DNM: Test command creates behaviour  https://review.opendev.org/c/zuul/zuul-jobs/+/92989709:27
kevkoHi, i have a problem to debug one review ... from logs i am unable to see what's happening because everything looks ok ... can i somehow connect to the nodes from pipeline ? 09:58
tonybkevko: we can arrange for that to happen.10:00
tonybwe can create an autohold for failing jobs.10:01
tonybI'll be in a position to help in about 45mins10:01
kevkocool ..please let me know ..10:06
kevkoi will be here 10:06
kevkotonyb: i will continue with semi blind debug :) 10:06
tonybkevko: Ok, I'm able to help now10:51
tonybIf you can give me a change number and a jobname, I can hold the next node run that matches10:51
tonybkevko: from there I'll need an SSH key and then you'll be able to log in10:52
kevkotonyb: I am here11:19
tonybkevko: Okay, let me know when you have that information11:20
kevkotonyb: https://paste.openstack.org/show/bBFw4WCqLCm1kIgz6lMh/11:20
tonybkevko: Thanks11:21
kevkotonyb: kolla-ansible-ubuntu-multinode-ipv6 , change 92985911:22
tonybGah, I messed it up11:24
tonyblet me try again11:24
tonybkevko: Okay, recheck the job11:26
tonybwhen it fails I can add your SSH key11:26
kevkookay thanks 11:28
tonybkevko: I can see the job is queued11:34
kevkotonyb: also 11:36
tonybkevko: yes?11:38
tonybLooks like the autohold triggered12:03
kevkoyeah ..checking 12:03
tonybreach out to any of the infra-roots to have us clear the autohold when you're done with it12:04
kevkosecondary1 has fd::ff:0 and 3306 running 12:04
kevkoit's vip handled by keepalived 12:04
kevkomysql -h fd::ff:0 -u root_shard_0 -pwEBwgXgITGYKuw6yTIFKvQztvxSiyESWRDtqBNW6 << this is normally working ...so i really don't understand what is going on ...12:05
kevkoyet 12:05
kevkohmm ... investigating ..12:06
kevkothanks ..i will let you know 12:06
opendevreviewStephen Finucane proposed openstack/project-config master: Start including team as release meta field  https://review.opendev.org/c/openstack/project-config/+/92991412:44
stephenfinfungi: Do we currently have any mechanism for IRC interaction from zuul jobs, or is it just gerritbot?13:05
fungistephenfin: we don't currently. zuul does have an mqtt reporter though which could probably be easily tied into an irc bot13:08
clarkbcorvus: I've just approved the zuul launcher change16:26
clarkbmore of an fyi than anything else. I don't think we have a new server for that yet so it should noop other than the test updates16:26
corvusclarkb: ack thx!16:27
opendevreviewClark Boylan proposed opendev/base-jobs master: Set up Unbound to forward via DNS over TLS  https://review.opendev.org/c/opendev/base-jobs/+/92996017:34
clarkbinfra-root ^ some discussion about unbound and dns and dhcp and ovn reminded me this is something I've been meaning to try to get done for us17:34
clarkbI'd be curious to hear if there are opinions on whether or not we think that will be less reliable over all (since theoretically tls adds a new complicated layer to the system)17:35
clarkbalso that is very likely going to be a base-test update first whihc my current change isn't set up for. I'll go ahead and WIP it. I awnted to make sure there weren't any strong objections before I make a copy of the role and set up base-test and all that17:36
opendevreviewMerged opendev/system-config master: Run zuul-launcher  https://review.opendev.org/c/opendev/system-config/+/92418817:40
opendevreviewClark Boylan proposed opendev/base-jobs master: Set up Unbound to forward via DNS over TLS  https://review.opendev.org/c/opendev/base-jobs/+/92996018:17
opendevreviewClark Boylan proposed opendev/base-jobs master: Add libjpeg-dev to bindep for Pillow wheels  https://review.opendev.org/c/opendev/base-jobs/+/92996218:17
clarkbthe blockdiag is no longer maintained and doesn't work with modern pillow has me wondering if we should just use inkscape to make a static svg of what we need18:21
clarkbI'm definitely no artist but I suspect I can manage to do something like what pillow/blockdiag produce with inkscape18:22
clarkbI want to say johnsom said that they did something similar to drop the blockdiag dependency18:22
clarkbhttps://docs.opendev.org/opendev/base-jobs/latest/docker-image.html is the page in base-jobs with some diagrams. I think sytem-config and zuul-jobs and zuul have similar things18:23
opendevreviewClark Boylan proposed opendev/base-jobs master: Fixup CI jobs  https://review.opendev.org/c/opendev/base-jobs/+/92996218:37
opendevreviewClark Boylan proposed opendev/base-jobs master: Set up Unbound to forward via DNS over TLS  https://review.opendev.org/c/opendev/base-jobs/+/92996018:37
clarkbI'm glad I started poking at this. Will be good to get CI working on base-jobs repo again18:37
opendevreviewClark Boylan proposed opendev/base-jobs master: Fixup CI jobs  https://review.opendev.org/c/opendev/base-jobs/+/92996219:19
opendevreviewClark Boylan proposed opendev/base-jobs master: Set up Unbound to forward via DNS over TLS  https://review.opendev.org/c/opendev/base-jobs/+/92996019:19
clarkbthis is turning into quite the little fun set of updates. Testing that will be difficult due to needing things to pass... Not sure if we just want to send it since the changes are relatively minor or go through a dance of pinning the node type, updating base-test only, then updating everything and running on noble19:20
clarkbor maybe disabling linting temporarily to get base-test tested and then reenabling linting19:20
opendevreviewMonty Taylor proposed zuul/zuul-jobs master: Validate that node_version is set  https://review.opendev.org/c/zuul/zuul-jobs/+/92106620:02
opendevreviewMonty Taylor proposed zuul/zuul-jobs master: Remove deprecated javascript jobs  https://review.opendev.org/c/zuul/zuul-jobs/+/92106720:02
opendevreviewMerged zuul/zuul-jobs master: Modernize ensure-nodejs  https://review.opendev.org/c/zuul/zuul-jobs/+/92985220:23
opendevreviewMonty Taylor proposed zuul/zuul-jobs master: Add support for installing node via NVM  https://review.opendev.org/c/zuul/zuul-jobs/+/92130420:24
opendevreviewMerged zuul/zuul-jobs master: Validate that node_version is set  https://review.opendev.org/c/zuul/zuul-jobs/+/92106620:31
clarkbI think I decided to minimize the total number of changes so that it is easier to reviwe then we just take a small gamble doing the minimal update20:32
clarkblater changes can do bigger linter updates20:32
opendevreviewClark Boylan proposed opendev/base-jobs master: Fixup CI jobs  https://review.opendev.org/c/opendev/base-jobs/+/92996220:45
opendevreviewClark Boylan proposed opendev/base-jobs master: Set up Unbound to forward via DNS over TLS  https://review.opendev.org/c/opendev/base-jobs/+/92996020:45
opendevreviewClark Boylan proposed opendev/base-jobs master: Fixup CI jobs  https://review.opendev.org/c/opendev/base-jobs/+/92996220:55
opendevreviewClark Boylan proposed opendev/base-jobs master: Set up Unbound to forward via DNS over TLS  https://review.opendev.org/c/opendev/base-jobs/+/92996020:55
opendevreviewClark Boylan proposed opendev/base-jobs master: Fixup CI jobs  https://review.opendev.org/c/opendev/base-jobs/+/92996221:05
opendevreviewClark Boylan proposed opendev/base-jobs master: Set up Unbound to forward via DNS over TLS  https://review.opendev.org/c/opendev/base-jobs/+/92996021:05
opendevreviewClark Boylan proposed opendev/base-jobs master: Fixup CI jobs  https://review.opendev.org/c/opendev/base-jobs/+/92996221:19
opendevreviewClark Boylan proposed opendev/base-jobs master: Set up Unbound to forward via DNS over TLS  https://review.opendev.org/c/opendev/base-jobs/+/92996021:19
clarkbok https://review.opendev.org/c/opendev/base-jobs/+/929962 should be ready for review now. I'm open to feedback on the approach and how we want to make sure its tested/safe21:37
corvusclarkb: what prompted the change to the upload-git-mirror role usage?23:26
clarkbcorvus: there was a linter error saying "role" is a required attribute23:30
corvusi don't suppose you remember that rule name?23:30
clarkbcorvus: I'm guessing that name is an alias for role but we're using the role + associated var in a less standard way?23:30
clarkbI don't but let me see if I can find it23:30
corvusi've been looking through the docs and can't find it23:30
corvusit certainly was the standard way to do that when we started; and the fact that we could write things like that was actually part of why we thought migrating from jjb builders to ansible would be intuitive and easy23:31
clarkbcorvus: https://zuul.opendev.org/t/opendev/build/8e8b45b57079429ea40163a8134f077d/log/job-output.txt#111723:32
corvusi will find it disappointing if they have decided it needs to be more verbose :(23:32
clarkbit points to https://docs.ansible.com/ansible/latest/user_guide/playbooks_reuse_roles.html#roles23:32
corvushttps://ansible.readthedocs.io/projects/lint/rules/schema/23:33
clarkbcorvus: if you grep for 'You can pass other keywords to' I based my edit off of that example23:34
corvusi feel like there are two ansibles: the one written by the program authors, and the one written by the linter authors.23:40
clarkbto be fair the way we were using roles doesn't show up in that document. However, it clearly works so ya not sure what is going on there23:41
clarkbthat document == the ansible using roles guide23:41
corvusansible makes it very hard to find old docs, and i don't care enough to look any more; the fact that it worked for years without warnings from the actual program is justification enough anyway :)23:42
corvusi'm +2 on the change, just continuing to be aggravated by the whole ordeal23:43
fungii continue to be unsure what the actual benefits are we're getting out of ansible-lint23:43
clarkbthere are actually a couple of things it catches in this chagne that are good. Primarily the octal or not mode specifications23:44
corvussomething to talk about other than the weather!23:44
corvusi like the octal thing.23:45
clarkbit also runs the syntax checker without needing to install all of zuul to get zuul_return and zuul_console23:45
corvusansible should deal with the octal thing though :)23:45
clarkbcorvus: ++23:45
clarkbthe checks for proper truthy strings are good too23:45
fungiyeah, having a secondary ansible parser that doesn't require executing it to identify egregious errors makes sense23:45
clarkbI've noticed we've done a fair bit of the wrong thing around that whcih could result in unexpected behavior. I even notied we check if defined instead if true or false23:46
clarkband the avlue is "True"23:46
clarkbbut ya I think the primary thing it gets us is syntax checking with minimal setup (we can just mock the modules for zuul_return and zuul_console)23:46
clarkbthen also a reminder to quote our mode strings23:47
clarkbI think if we wanted to drop linting on say system-config or zuul-jobs where we actually do have quite a bit of robust testing I wouldn't care too much. But base-jobs deals with a lot of test that is difficult to test and the linter is something we should put up with there until we can have more robust functional testing23:56
clarkb*deals with a lot of stuff that is difficult to test23:57

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