Wednesday, 2026-01-14

mnasiadkaMorning, can anybody add me to newly created Gerrit group ‘kolla-reviewers’ so I can populate it?06:17
*** ralonsoh_ is now known as ralonsoh07:08
fricklerI can do that later, just need to tackle some local stuff first08:18
mnasiadkaThanks :)08:44
opendevreviewDmitriy Rabotyagov proposed openstack/project-config master: Revive os_freezer role for OSA  https://review.opendev.org/c/openstack/project-config/+/97336310:37
opendevreviewDmitriy Rabotyagov proposed openstack/project-config master: Revive os_freezer role for OSA  https://review.opendev.org/c/openstack/project-config/+/97336310:43
fricklermnasiadka: added you to the group, please check11:10
mhumhu: In case you're interested, the issue was caused by ... cybersquatting and using "microshift.dev" as our test FQDN. Long story short that test domain lead to resolv.conf in pods to be set to try and add .dev to any resolution attempt, meaning there was an attempt to resolve opendev.org.dev ... which is cyber-squatted by bodis.com11:11
mhuIDK if you want to do anything about that rogue domain, but I thought I'd let you know11:12
fricklerlooks like they have a wildcard match for *.org.dev, I don't think one can do much about it. thanks for the update anyway, confirms my aversion against using weird TLDs ;)11:19
mhuthis was a head-scratcher, I am grateful for the help of the OpenShift team as they figured it out11:20
opendevreviewDmitriy Rabotyagov proposed openstack/project-config master: Revive os_freezer role for OSA  https://review.opendev.org/c/openstack/project-config/+/97336314:09
opendevreviewDmitriy Rabotyagov proposed openstack/project-config master: Add template to the os_freezer repo  https://review.opendev.org/c/openstack/project-config/+/97338314:10
opendevreviewDmitriy Rabotyagov proposed openstack/project-config master: Revive os_watcher role for OSA  https://review.opendev.org/c/openstack/project-config/+/97338714:17
opendevreviewDmitriy Rabotyagov proposed openstack/project-config master: Add os_watcher zuul templates  https://review.opendev.org/c/openstack/project-config/+/97338814:18
fungimhu: too bad there's not, like, an ietf rfc about iana reserved domain names for use in testing and documentation14:31
fungioh, wait, there is! ;) https://www.rfc-editor.org/rfc/rfc260614:31
fungihuh, i just happened across https://nitter.net/about14:51
fungiapparently you can s/x.com/nitter.net/ in twitter urls and then read without needing a login14:52
fungihandy for people like me who don't have a twitter account but get referred to things like vulnerability discussions there14:52
mnasiadkaSo - yesterday’s revert - any idea what I can improve to test the patch better? :-)14:56
fungii think clarkb and corvus will probably have better suggestions once they're up. i picked the wrong moment to run errands while it was landing and got back after the revert merged14:58
clarkbmnasiadka: I think the main issue is that opendev/base-jobs/roles/mirror-info depends on the mirror_fqdn var being set. Due to the way ansible handles variables I expect we have to treat all of those variables as a public api for these central roles an can't simply remove them15:45
clarkbmnasiadka: so for this change in particular we need to continue to set mirror_fqdn to something (and probably ideally something that makes sense) then just not use it internally within the role?15:46
clarkbmnasiadka: then corvus was talking about testing this better. We may need to use base-test in opendev/base-jobs to test a copy of mirror configuration and the mirror info roles to ensure they work as expected before we land the change everyone will see15:47
clarkbas a heads up jitsi meet made a release yesterday just prior to our daily runs. I expect this means meetpad upgraded during the daily runs. I'll check on that in a bit15:49
mnasiadkaclarkb: testing it better might be the best option, I’d be happier to see breakage before the change is merged :)15:57
corvusping15:57
clarkbcorvus: pong?15:57
clarkbmnasiadka: so ya I think the first step is a new version of the change that doesn't remove any variables, but changes how the variabels are used internally. Then we can sort out how to configure base-test to test it (possibly with an entire copy of the role)15:58
corvusi think my matrix federation lagged a bit, it's catching up now.  i'm going to resend something from earlier -- it may show up again later, sorry15:58
clarkbah that explains the ping15:58
corvusmnasiadka: i think it needs a test plan -- which might look like making sure all the related roles are covered by jobs in zuul-jobs that exercise them all when any of them change (this is ideal), and/or using test versions of the roles and the base-test job. i think that those roles should all be able to be exercised in normal zuul-test jobs, so that's why i think that should be preferred. we shouldn't rely on base-test unless it's impossible to15:59
corvustest otherwise. but it is an option if the other approach has obstacles.15:59
corvus^ i wrote that before clarkb showed up; so understand it doesn't have the context of what he said15:59
clarkbthe main reason I mention base-test is that the mirror-info role that failed doesn't live in zuul-jobs. It appears to be opendev specific. That said I think we'd be happy to move that into zuul-jobs and test it there if we think there is a generic need for a role like that16:00
clarkbbut yes testing that without the base-test dance would be great if we can make that happen16:00
corvusgood point; i agree.  if we want to keep it where it is, then we'll need to use base-test.  but maybe now that we have such good coverage of the base roles otherwise, it makes sense to try to move it to zuul-jobs, and then rely on zuul-jobs testing.16:02
mnasiadkaOk, I’ll propose moving that role (and find anything else that uses mirror_fqdn) and make it less prone to missing mirror_fqdn16:03
clarkbmnasiadka: that sounds great thanks16:03
clarkbmeetpad did update ~13 hours ago16:03
clarkbI haven't tested the service itself just looked at docker things. I expect it is running happily, but keep that in mind16:04
mnasiadkaclarkb: looking at mirror_info.sh template in mirror-info role - there’s probably a lot of history behind NODEPOOL_* env vars (https://opendev.org/opendev/base-jobs/src/branch/master/roles/mirror-info/templates/mirror_info.sh.j2). Are we sure that should land in zuul/zuul-jobs?17:04
clarkbmnasiadka: no, I wasn't sure about that. Maybe what we can do is have a second role in zuul-jobs (possibly just for testing) that simulates what opendev's mirror-info is doing with vars like mirror-info17:06
clarkbmnasiadka: so don't port over the specific functionality, but just test that particular use case of reconsuming mirror_fqdn in another role?17:06
clarkblooks like a number of roles do use a mirror_fqdn value in zuul-jobs but they all default to zuul_site_mirror_fqdn which is what we thought would cover us before we reverted17:09
clarkbbut maybe we can unset zuul_site_mirror_fqdn and test it via one of those existing roles?17:09
clarkbbut otherwise a test specific role that mimics mirror-info is probably fine17:09
mnasiadkaYes, I think that’s the only role that doesn’t default mirror_fqdn to zuul_site_mirror_fqdn17:14
mnasiadka(At least based on codesearch.opendev.org output)17:15
mnasiadkaBut I’m wondering how many users of mirror_fqdn are there in their own Zuul (outside of OpenDev)17:15
opendevreviewJeremy Stanley proposed openstack/project-config master: Clean up unused DockerHub credentials  https://review.opendev.org/c/openstack/project-config/+/97341517:16
opendevreviewMichal Nasiadka proposed zuul/zuul-jobs master: Revert^2 "Use mirror_info in configure-mirrors role"  https://review.opendev.org/c/zuul/zuul-jobs/+/97341617:17
clarkbmnasiadka: yup exactly why I suspect having a stand in role is a good idea17:18
opendevreviewMichal Nasiadka proposed zuul/zuul-jobs master: Revert^2 "Use mirror_info in configure-mirrors role"  https://review.opendev.org/c/zuul/zuul-jobs/+/97341617:18
clarkbsince that is something of a public api based on our own experience17:18
mnasiadkaOk then, but ideally that role should not be under roles/ directory, so nobody uses that17:19
clarkbcorrect, I think it can be test only17:19
clarkband live in the test-playbooks dir or something like that17:19
opendevreviewMerged openstack/project-config master: Clean up unused DockerHub credentials  https://review.opendev.org/c/openstack/project-config/+/97341517:27
opendevreviewMichal Nasiadka proposed zuul/zuul-jobs master: Revert^2 "Use mirror_info in configure-mirrors role"  https://review.opendev.org/c/zuul/zuul-jobs/+/97341617:29
opendevreviewMichal Nasiadka proposed zuul/zuul-jobs master: Revert^2 "Use mirror_info in configure-mirrors role"  https://review.opendev.org/c/zuul/zuul-jobs/+/97341617:30
opendevreviewMichal Nasiadka proposed zuul/zuul-jobs master: Revert^2 "Use mirror_info in configure-mirrors role"  https://review.opendev.org/c/zuul/zuul-jobs/+/97341617:41
opendevreviewMichal Nasiadka proposed zuul/zuul-jobs master: Revert^2 "Use mirror_info in configure-mirrors role"  https://review.opendev.org/c/zuul/zuul-jobs/+/97341618:08
opendevreviewMichal Nasiadka proposed zuul/zuul-jobs master: Revert^2 "Use mirror_info in configure-mirrors role"  https://review.opendev.org/c/zuul/zuul-jobs/+/97341618:15
opendevreviewMichal Nasiadka proposed zuul/zuul-jobs master: Use mirror_info in configure-mirrors role for pypi/wheel - take 2  https://review.opendev.org/c/zuul/zuul-jobs/+/97342318:18
mnasiadkaclarkb: ^^ that should be a bit better, also to test that properly - I’ll follow later this week with the same for package repos18:24
clarkbmnasiadka: thanks I'll take a look shortly18:26
clarkbinfra-root Looking at a calendar I'm going to propose the service coordinator election nomination period occur February 3 - 17. THen if we need to have an election that will run February 18 - 2518:27
clarkbI'll throw that on the meeting agenda for next Tuesday and if that set of dates seems reaonsbale (it should be basically 6 months after the last election) I'll make it official next week18:28
clarkbmnasiadka: looks like the main difference is a new flag indicating to use zuul_site_mirror_fqdn as a fallback value (whcih default to true) rather than relying on mirror_fqdn directly? Then also in the test case you're invoking the opendev mirror-info role to see if it is happy?18:34
clarkbI guess mirror-info is available there because it is in the base-jobs role which the zuul tenant includes roles from so that should work. corvus may have thoughts on whether or not that is a valid cross over but I think it should work for our purposes18:35
mnasiadkaclarkb: the fallback flag was there before, I just restored back setting mirror_fqdn and improved testing (and noticed there’s mirror_info.wheel.url in Zuul example docs so changed wheel_mirror value to be similar to pypi_mirror one)18:36
mnasiadkaIn the example (https://zuul-ci.org/docs/zuul-jobs/latest/mirror.html) Ubuntu and Debian are quite good documented, so I’ll rework the package mirror setting for them - but I think RHEL clones might need something more complicated than what is in the example18:39
clarkbgot it18:39
opendevreviewJeremy Stanley proposed openstack/project-config master: Rotate Launchpad token for release jobs  https://review.opendev.org/c/openstack/project-config/+/97342919:11
clarkbfungi: for the gerrit side of ^ you generated a different token for the same account I guess?19:12
clarkb(just clarifying the commit message indicatng they are separate now and wondering what the mechanism was for that)19:13
fungiyes, there are now two new tokens authorized for "change non-private data"19:13
fungione is called "Release Jobs" and the other is "Gerrit Hooks"19:14
fungithe latter won't go into effect until the next gerrit server deploy from ansible updates the launchpad config, so i'm leaving the old token (from 2014-05-07) authorized until we see the new one working19:15
fungibut they're both application (oauth) tokens for our hudson-openstack account in lp19:16
clarkbsounds good thnaks19:17
fungii followed the steps from https://documentation.ubuntu.com/launchpad/user/how-to/launchpadlib/using-launchpadlib/index.html#authenticated-access-for-website-integration to generate them, for future reference19:17
opendevreviewMerged openstack/project-config master: Rotate Launchpad token for release jobs  https://review.opendev.org/c/openstack/project-config/+/97342919:45
opendevreviewJeremy Stanley proposed openstack/project-config master: Drop openstack-fips and openstack_ubuntu_fips  https://review.opendev.org/c/openstack/project-config/+/97343420:10
fungihttps://launchpad.net/~hudson-openstack/+karma should indicate if things are still working once the launchpad token updates21:07
fungiunfortunately it doesn't link to the actual activity, so hard to know whether it's from gerrit or zuul21:07
clarkbthe gerrit homedir perms change is merging21:20
opendevreviewMerged opendev/system-config master: Set perms and ownership on Gerrit's homedir  https://review.opendev.org/c/opendev/system-config/+/97091921:20
clarkband the deplyoment is running now21:22
clarkbhomedir is now gerrit2:gerrit2. Still waiting on launchpad lib creds update21:23
clarkbboth are updated now21:23
clarkbthe job reports success. At a high level this all looks good to me21:24
fungiperfect21:26
fungithat should have updated the lp creds the hooks are using too, checking21:26
clarkbfungi: re your comments about knowing when this is working above I guess we expect someone pushing or merging a change with a bug link in the commit message to update that bug right?21:26
clarkbfungi: yup the timestamp on that creds file udpated at least. I didn't look in the file21:26
fungiright. though comments because of release jobs could also show up in the activity list and lp doesn't give us a way to distinguish between them, but we can at least gauge whether it was around the time any release requests merged21:27
fungithough i suppose gerrit also logs running the hooks21:32
clarkbyes, it complains a lot when they fail too which may be a good indicator21:33
fungiyeah, ~gerrit2/.launchpadlib/creds has the new values21:33
opendevreviewMerged openstack/project-config master: Drop openstack-fips and openstack_ubuntu_fips  https://review.opendev.org/c/openstack/project-config/+/97343421:40
fungithe last reference to update_bug in gerrit's error_log is from 18:39:59 so nothing has triggered it since the creds were updated at 21:2321:42
fungistill no newer hits to update_bug.py in the log, i'll check it again in the morning23:15

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