Wednesday, 2024-03-27

opendevreviewMerged opendev/system-config master: Add docs for linaro cloud cert renewal process  https://review.opendev.org/c/opendev/system-config/+/91410902:32
tonybA while ago I said I'd look at adding a python3.12 stow into the images we build.  I'm assuming that that will look like adding python-stow-versions and appropriate DIB_ envvars into opendev/system-config:nodepool/nodepool.yaml03:14
tonybTo test locally I wanted to update that file and then have diskimage-builder run a build locally.  Is there a nice way to to that?03:15
ianwtonyb: i don't think it meets the criteria of "nice" but in project-config there is tools/build-image.sh ... but it possibly hasn't been used in quite a while.  03:32
tonybianw: That's close enough to nice for my needs :)03:34
tonybianw: Thanks03:34
noonedeadpunkfungi: hey! weirdly, I don't see any bots in #openstack-freezer still. You're a channel ops there though11:27
fricklernoonedeadpunk: iiuc at least gerritbot would only join on demand?11:32
noonedeadpunkhuh, ok, let's me check that then :D11:37
noonedeadpunkI just saw like 3 bots in osa channel, so decided there should be at least one there 11:37
fricklerIIUC you didn't configure meetbot for freezer11:38
noonedeadpunkyeah, only gerrit bot and generic access for now11:38
noonedeadpunkso you're right11:38
jrosserwhen does the centos repo syncronise next, I have a bunch of failures like `Status code: 404 for https://mirror-int.ord.rax.opendev.org/centos-stream/9-stream/AppStream/x86_64/os/Packages/systemd-devel-252-32.el9.x86_64.rpm`12:16
jrosserah it looks like that rpm is present now12:57
fricklerjrosser: you can check the logs yourself on any mirror. seems it finished just when you asked https://mirror.dfw.rax.opendev.org/logs/rsync-mirrors/centos-stream.log13:16
clarkbmnaser: guilhermesp: curious if you were able to track down the cause of the review02 shutdown? From our side I think we're hoping that we can understand the problem so that we can take action (if any makes sense) to help prevent it from happening again15:02
clarkbjrosser: frickler: the centos mirrors don't seem to update indexes and packages in a safe order. This is the second time in a month where they've broken us :/15:03
fungithese are pulling from the official centos primary mirrors now too... they do have a mirroring tool they recommend though i don't know if it has partial mirroring capability nor whether it's smart enough to check indices to avoid mid-update syncing15:08
fungione trick i've seen elsewhere that we could ask about: some distros touch a flag file when they begin updating and then remove it when the update is done, so we could make our sync script smart enough to check for the presence of that file and then skip the pull if it's there15:10
fungibut again, no clue whether centos observes that practice for their mirrors15:10
clarkbthey can also update files in a safe order. New packages go in, update indexes, remove old packages15:11
clarkbthen you're never in a state where package files can't be found15:11
fungiright. that's something they (observably) aren't doing though15:12
corvus1tonyb: ianw another approach might be to use zuul to build the image for you.  you can look at https://review.opendev.org/848792 (and feel free to take it over/update/extend it).  that might be more or less as easy as the build-image.sh script, and gaining experience with that / keeping it up to date helps prepare us (and contribute to) the future nodepool-in-zuul work.16:43
corvus1notably as of the last patchset the image build did work, but it robably needs the element files refreshed since it's old.16:44
clarkbbased on https://review.opendev.org/q/reviewedby:15670+AND+NOT+project:openstack/cinder Storpool CI is still leaving the comments we asked them to address on proejcts like ozj and project-config. I'm setting that accoutn to inactive now16:55
clarkb#status log Set Storpool CI's Gerrit account (15670) to inactive due to lack of response to our emails asking them to address Zuul configuration issues.16:56
opendevstatusclarkb: finished logging16:56
TheJuliaso what is the correct environment variable to know your current branch when in a script running from a zuul job with the launch environment?20:31
Clark[m]TheJulia in your job logs is a zuul info dir. In that dir is the inventory file. You can see all of the zuul Ansible vars there20:36
TheJuliaso, at this point... we don't have any of the env vars like we once did20:37
Clark[m]Then if you want to expose that as an env var you would add the zuul bar to the environment of your Ansible tasks20:37
TheJuliayeah20:37
TheJuliaand if the tasks themselves, say to run devstack don't do it, I'm SOL or have to figure out some other way20:37
TheJuliahmmmmmmmm20:37
clarkbdevstack is branch aware but not sure if it plumbs that through from zuul20:40
TheJuliawell, so I started yesterday thinking "good old ZUUL_BRANCH will fix everything", and then I found stuff using TARGET_BRANCH, but only to run my job to find it not set20:42
TheJuliaanyway... more digging required20:42
JayFTheJulia: $TARGET_BRANCH20:42
JayFTheJulia: is that not what you want?20:43
JayFe.g. https://opendev.org/openstack/ironic/src/branch/master/devstack/lib/ironic#L6620:43
TheJuliayeah, basically, just found it in a job with an empty string which has me feeling "table flippy"20:43
TheJuliaFor the at home audience, it looked like I had a syntax error. :)20:51
clarkbfwiw it doesn't look like devstack sets TARGET_BRANCH directly form the zuul inventory. Instead zuul runs the jobs using a barnch specific version of stackrc that sets a branch specific TARGET_BRANCH21:39
clarkbthe end result should be the same though unless you're in a branch fallback case but those seem unlikely based on what we discovered with recent new branches21:39
JayFIronic does have special things other branches don't -- the bugfix release branches which run CI21:41
JayFbut given Julia is fixing a place we have to manually say "use this branch" when we branch, status quo remains for bugfix branches even if we fix the stable branches -- so it's improved even if not perfect (at least given my understanding)21:42

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