| -@gerrit:opendev.org- Zuul merged on behalf of Monty Taylor https://matrix.to/#/@mordred:inaugust.com: [opendev/system-config] 1011947: Add trixie slim and go 1.27 to the mirror https://review.opendev.org/c/opendev/system-config/+/1011947 | 04:25 | |
| -@gerrit:opendev.org- Zuul merged on behalf of Anil Shashikumar Belur: [opendev/system-config] 1002424: Build gerrit-base on python3.14 https://review.opendev.org/c/opendev/system-config/+/1002424 | 16:46 | |
| @clarkb:matrix.org | fungi: ^ images are promoting now | 16:48 |
|---|---|---|
| @clarkb:matrix.org | https://quay.io/repository/opendevorg/gerrit/manifest/sha256:4c2fd5f58559a423cd6bca6b133eb88124433069a14a50d11408d7d17e26abe8 and promoted here | 16:49 |
| @clarkb:matrix.org | fungi: I can pause zuul queues if you want t odrive the update on gerrit when we're ready | 16:49 |
| @fungicide:matrix.org | yeah, gimme a sec to prep | 16:55 |
| @clarkb:matrix.org | yup no rush. I'm around as a second set of eyes too | 16:56 |
| @fungicide:matrix.org | okay, i have a root screen session running on review03 and am preparing to pull images | 17:00 |
| @clarkb:matrix.org | I have attached. Ready whenever you are. I don't think the hourly jobs should interfere with what we do particualry if we pause zuul when we'reabout to restart | 17:01 |
| @fungicide:matrix.org | pulling | 17:01 |
| @fungicide:matrix.org | `quay.io/opendevorg/gerrit 3.13 9687958b3d1c About an hour ago 718 MB` | 17:02 |
| @clarkb:matrix.org | that seems to match what I linked in quay about after the inspect step | 17:03 |
| @fungicide:matrix.org | `"quay.io/opendevorg/gerrit@sha256:4c2fd5f58559a423cd6bca6b133eb88124433069a14a50d11408d7d17e26abe8"` | 17:03 |
| @fungicide:matrix.org | agreed | 17:04 |
| @fungicide:matrix.org | i have the restart commands queued up, if you want to pause zuul now | 17:04 |
| @clarkb:matrix.org | do we want to send a status notice too? | 17:05 |
| @fungicide:matrix.org | in progress | 17:05 |
| @fungicide:matrix.org | #status notice The Gerrit service on review.opendev.org will be offline momentarily to restart onto updated container images, but should return within a few minutes | 17:05 |
| @status:opendev.org | @fungicide:matrix.org: sending notice | 17:05 |
| @clarkb:matrix.org | zuul is paused. Your queued up comamdn to restart gerrit lgtm | 17:05 |
| @fungicide:matrix.org | restarting | 17:06 |
| @clarkb:matrix.org | I think that error is due to how we haev a second shell container and maybe we rebooted or something which stopped it running | 17:07 |
| @fungicide:matrix.org | ah | 17:07 |
| @clarkb:matrix.org | I don't think it is a concern. However it likely caused your command to fail due to the && | 17:07 |
| @fungicide:matrix.org | yeah i was wondering | 17:07 |
| @clarkb:matrix.org | oh wait it hasn't returned to the prompt | 17:07 |
| @clarkb:matrix.org | so maybe it is still trying to do things? | 17:07 |
| @clarkb:matrix.org | like delete large cche dbs or whatever. I think we just wait? | 17:07 |
| @clarkb:matrix.org | fungi: did you have to ^C? | 17:08 |
| @fungicide:matrix.org | i did not, no | 17:08 |
| @clarkb:matrix.org | I think it is running? | 17:08 |
| @fungicide:matrix.org | it had overwritten the prompt | 17:08 |
| -@status:opendev.org- NOTICE: The Gerrit service on review.opendev.org will be offline momentarily to restart onto updated container images, but should return within a few minutes | 17:08 | |
| @status:opendev.org | @fungicide:matrix.org: finished sending notice | 17:08 |
| @fungicide:matrix.org | with output | 17:08 |
| @clarkb:matrix.org | docker ps -a shows two containers | 17:08 |
| @fungicide:matrix.org | okay, maybe it did complete in that case | 17:09 |
| @clarkb:matrix.org | oh except neither is the gerrit container | 17:09 |
| @fungicide:matrix.org | `echo $?` reports that the command exited `1` | 17:09 |
| @fungicide:matrix.org | and seems to have been the `docker compose down` | 17:09 |
| @clarkb:matrix.org | yup. So maybe we try to docker compose down step again without the rest of the process? | 17:10 |
| @clarkb:matrix.org | and then take it from there to determine what if any cleanup we need to do | 17:10 |
| @fungicide:matrix.org | just did | 17:10 |
| @clarkb:matrix.org | ok there is one container running now the one that I Think gave us problems | 17:10 |
| @fungicide:matrix.org | it worked the second time | 17:10 |
| @clarkb:matrix.org | I think we can proceed with starting gerrit using the rest of the normal process then try and clean up this container afterwards | 17:10 |
| @fungicide:matrix.org | agreed, running it now | 17:11 |
| @clarkb:matrix.org | `gerrit-compose-shell-run-42a397500d98` this is the one that needs to be cleaned up I think | 17:11 |
| @fungicide:matrix.org | gerrit should be starting now | 17:12 |
| @clarkb:matrix.org | that shell run container appeas to be lefotver from the previous gerrit upgrade | 17:13 |
| @fungicide:matrix.org | seems to be up and working | 17:13 |
| @clarkb:matrix.org | that is why the -suffix isn't -1 or similar which is what docker compose uses. So maybe that wasn't the problem | 17:13 |
| @fungicide:matrix.org | anything you want to check before i `gerrit index start changes --force` ? | 17:13 |
| @clarkb:matrix.org | ya give me a sec. I have a change i want to push to check replication | 17:14 |
| @fungicide:matrix.org | 2026-10-23T17:14:17 https://opendev.org/starlingx/ansible-playbooks/commit/ecfc2c467b82c17a03e24b9bb73abe6a679bfc40 | 17:14 |
| -@gerrit:opendev.org- Clark Boylan proposed: [opendev/system-config] 1012076: Upgrade etherpad to 3.3.10 https://review.opendev.org/c/opendev/system-config/+/1012076 | 17:16 | |
| @clarkb:matrix.org | also ^ I will unpause zuul now and we can reindex | 17:16 |
| @fungicide:matrix.org | `Reindexer started` | 17:17 |
| @clarkb:matrix.org | fungi: so I guess we don't knnow hich command exited non zero since it looked like waiting queues moved and the cache files got deleted? | 17:17 |
| @fungicide:matrix.org | right. it may have been the up that failed | 17:18 |
| @clarkb:matrix.org | I guess that is fine. We appear to have reached the state we wanted before we started up again. | 17:18 |
| @clarkb:matrix.org | and things seem to be working now | 17:18 |
| @fungicide:matrix.org | and reindex is 10% done | 17:21 |
| @clarkb:matrix.org | fungi: do we have the error message that was emitted in screen scrollback still? I'm just wondering ifwe can capture that for future debugging if that becomes necessary (but I don't want to take over driving the screen) | 17:29 |
| @fungicide:matrix.org | it was garbled by stdout and stderr overwriting one another because podman likes to do pretty things with updating the same lines in the console | 17:30 |
| @fungicide:matrix.org | we would probably need to redirect one or the other to separate the streams in a future run, or maybe tell podman not to assume a fully-functioning tty | 17:31 |
| @clarkb:matrix.org | ack. We can just try to be better prepared next time. And maybe run each step one by one so that we have a clearer picture of where things are going sideways if they do go side ways | 17:32 |
| @clarkb:matrix.org | I almost wonder if this was a race between stopping and starting the container | 17:32 |
| @clarkb:matrix.org | (in which case running things a bit more manually will be slower and make the issue go away but on the off chance that isn't the case then it may provide valuable info) | 17:32 |
| @fungicide:matrix.org | yeah, we can separate the steps back out and just accept the outage will be slightly longer as we pause momentarily between each step | 17:33 |
| -@gerrit:opendev.org- Clark Boylan proposed: [opendev/system-config] 840972: DNM force etherpad failure to hold node https://review.opendev.org/c/opendev/system-config/+/840972 | 17:38 | |
| @fungicide:matrix.org | i just realized https://fosstodon.org/@opendevinfra still points to our old irc channel if someone has time and interest in working out how to update it | 17:47 |
| @clarkb:matrix.org | reindexing completed with the expected 3 failures. I have disconnected from the screen | 18:11 |
| @fungicide:matrix.org | i closed out the screen session | 18:15 |
| @clarkb:matrix.org | fungi: doing a show-queue I notice that there are a lot more patchset created hooks than I expected i nthe list and some of them are old | 18:23 |
| @clarkb:matrix.org | I'm worried that the python update broke something there | 18:23 |
| @fungicide:matrix.org | i'll check the log | 18:25 |
| @clarkb:matrix.org | I think we are waiting for `738dadad 17:15:50.697 hook patchset-created` to complete | 18:27 |
| @clarkb:matrix.org | ps on the host side shows a python process which is maybe associated with that task? Could explain why it is still running if the python process hasn't completed | 18:29 |
| @fungicide:matrix.org | also possible this is a symptom of launchpad's api not responding in a timely fashion | 18:30 |
| @clarkb:matrix.org | ya I was just looking at strace against that python process and it appears to be talking to lp | 18:31 |
| @fungicide:matrix.org | the last traceback out of the patchset-created hook was 15:32:19 utc, before the upgrade | 18:32 |
| @fungicide:matrix.org | since upgrading there have been a few hook failures recorded | 18:32 |
| @fungicide:matrix.org | s/upgrade/restart/ | 18:33 |
| @clarkb:matrix.org | the most recent one was at 18:14 | 18:33 |
| @clarkb:matrix.org | maybe you're right and this is just really slow lp? | 18:33 |
| @fungicide:matrix.org | `hook[patchset-created] exited with error status: 124` | 18:33 |
| @clarkb:matrix.org | its possible that it is slow lp + a python3.14 incompatibiltiy that isn't tripped until we do network processing | 18:33 |
| @fungicide:matrix.org | those don't seem to come with python tracebacks | 18:33 |
| @clarkb:matrix.org | fungi: we run the hooks under timeout | 18:34 |
| @clarkb:matrix.org | I think the rc 124 with no tracback is indicative of hitting the timout | 18:34 |
| @fungicide:matrix.org | `124 if COMMAND times out, and --preserve-status is not specified` | 18:34 |
| @fungicide:matrix.org | from the timeout(1) manpage | 18:35 |
| @fungicide:matrix.org | so yes, seems to back up the "slow lp" theory | 18:35 |
| @clarkb:matrix.org | ok and we have 3 patchset created commands in the hook each with a separate timeout | 18:35 |
| @clarkb:matrix.org | so we're waiting ~half an hour for each of these | 18:36 |
| @clarkb:matrix.org | this is unlikely to be a new issue I guess we just monitor and determine later if python3.14 is potentially a problem but for now unlikely to be our fault? | 18:36 |
| @fungicide:matrix.org | we saw a slew of similar timeout results between 2026-09-22 and 2026-10-01 but not again until today after the restart | 18:37 |
| @fungicide:matrix.org | or i guess that might have started even longer ago, 2026-09-22 is as far back as we have log retention | 18:37 |
| @clarkb:matrix.org | ok I think I'm happy enough with that to know it isn't an emergency. I really need to catch up on normal morning activities now if you think this is ok to monitor for a bit as is | 18:38 |
| @fungicide:matrix.org | but whatever the cause, it stopped after 2026-10-01T06:29:25.712Z and started up again at 2026-10-23T17:34:17.658Z | 18:39 |
| @clarkb:matrix.org | strace may be the next debugging step | 18:39 |
| @clarkb:matrix.org | since that should show us what is slow without tracebacks | 18:39 |
| @fungicide:matrix.org | 17:12 was roughly when we started gerrit up, so approximately 20 minutes before the first timeout was logged | 18:40 |
| @clarkb:matrix.org | ya it is possible this is coincidence. It is also possible we've introduced a performance change with the switch to python3.14 | 18:41 |
| @fungicide:matrix.org | strace seems to indicate a socket polling loop for a connection between 2604:e100:1:0:f816:3eff:fe31:926a (review03.opendev.org) and 2620:2d:4000:1009::f3 (launchpad-net.ps5-frontend-0.canonical.com) | 18:42 |
| @clarkb:matrix.org | talking out loud here: I wonder if we're getting caught in a bot filter trap | 18:44 |
| @fungicide:matrix.org | always possible | 18:45 |
| @clarkb:matrix.org | alternatively maybe we're inefficient with our session maangement and that causes us to make more connections than necessary which makes it more likely we get on a slow frontend/backend combo | 18:45 |
| @clarkb:matrix.org | because ya it doesn't look like python is exploding and returning a traceback due to some incompatibiltiy | 18:45 |
| @clarkb:matrix.org | it looks like the process is running just very slowly | 18:46 |
| @clarkb:matrix.org | fungi: it looks like its looking up the name in dns, connecting, setting up ssl, doing a write then some reads then repeating | 18:48 |
| @clarkb:matrix.org | so maybe that is bot defense or maybe we have a bug that causes us to retry in a loop | 18:48 |
| @clarkb:matrix.org | update_blueprint in particular seems to be getting stuck | 18:50 |
| @clarkb:matrix.org | oh wait its probably both update blueprint and update bug since we have 20 mibutes between failkures in the gerrit log and they each have a 10 minute timeout | 18:52 |
| @clarkb:matrix.org | https://review.opendev.org/c/starlingx/root/+/995093 this is the change that should be timing out as I type | 18:54 |
| @clarkb:matrix.org | that commit message doesn't have blueprint info | 18:54 |
| @clarkb:matrix.org | so maybe the tight loop is in lpconn = launchpad.Launchpad.login_with() ? before we fetch the change and look for spec info | 18:55 |
| @clarkb:matrix.org | Looks like launchpadlib updated on the 13th and we just deployed with that version here | 19:05 |
| @clarkb:matrix.org | I suspect that may be hte source of whatever issue there is if it is on our end and not slowness in lp | 19:05 |
| @clarkb:matrix.org | the next change it is chewing on also doesn't seem to have a blueprint noted in its commit message | 19:07 |
| @clarkb:matrix.org | so ya I'm thinking the bug is in the lp connection setup provided by launchpadlib. Possibly due to the changes in the latest release or possibly due to some interaction with pyhton3.14 I suppose | 19:08 |
| @clarkb:matrix.org | 2.2.0 claims support for python3.14. We are running 2.3.0 | 19:08 |
| @clarkb:matrix.org | https://git.launchpad.net/launchpadlib/tree/?h=2.3.0&id=e50fdbab9fd874ab542dcf78c152185e14523b55 is the code for 2.3.0 | 19:09 |
| @clarkb:matrix.org | fungi: I think it is somethign realted to ssl setup. If you look at the strace loop is appears to be doing a lookup launchpad.net in dns, connect to launchpad.net and read some data, then read our certifi python cert content and then it starts over | 19:18 |
| @clarkb:matrix.org | like maybe it is rejecting the ssl cert and instead of quitting it tries again for some reason? | 19:18 |
| @clarkb:matrix.org | I'm thinking we may need to try and reproduce this with some local lp credentials just using the portion of jeepyb that does the lp connection | 19:19 |
| @clarkb:matrix.org | can even run it in the gerrit image locally with a different credential file just toe nsure all the deps are the same | 19:19 |
| @clarkb:matrix.org | I need to take a break though | 19:22 |
| @fungicide:matrix.org | yeah, i don't think it's urgent, if we determine it looks like we're hitting some sort of botguard i can raise it in the lp matrix room | 19:24 |
| @clarkb:matrix.org | fungi: something that just occurred to me is maybe if we send it sigterm/sigint type stuff out of band with timeout (I forget what it does by default) we might be able to generate a tracebak in the logs that way | 19:56 |
| @clarkb:matrix.org | fungi: I don't know if yo uwant to poke at that I'm goign to try and reproduce locally | 19:56 |
| @fungicide:matrix.org | i suppose i can see if that dumps anything useful into the error log when i do that, sure | 19:57 |
| @fungicide:matrix.org | sigint to the python child process did not terminate the script | 19:59 |
| @fungicide:matrix.org | `exited with errorstatus: 135` and `output: Bus error` | 20:00 |
| @fungicide:matrix.org | oh, that's because i sent it sigbus not sigint | 20:02 |
| @fungicide:matrix.org | anyway, no traceback was captured in the error log | 20:03 |
| @fungicide:matrix.org | `File "/usr/local/lib/python3.14/site-packages/launchpadlib/credentials.py", line 804, in wait_for_end_user_authorization` | 20:06 |
| @clarkb:matrix.org | ack. I can kinda sorta reproduce the slowness using login_anonymously in the container image but it evenutally succeeds | 20:06 |
| @fungicide:matrix.org | so maybe we need to refresh the token? | 20:06 |
| @clarkb:matrix.org | fungi: where did that traceback come from? | 20:06 |
| @fungicide:matrix.org | i did a sigint on another one | 20:07 |
| @fungicide:matrix.org | it was sitting in `time.sleep(access_token_poll_time)` | 20:07 |
| @clarkb:matrix.org | 2.3.0 did add new support for the fido key stuff. I wonder if the underlying details about tokens have changed or maybe their storage? | 20:09 |
| @clarkb:matrix.org | ok so it appears to be failing to authenticate. Refreshing the token seems like a good next step in that case particular since we know from release notes that there have been changes around that | 20:10 |
| @clarkb:matrix.org | then from my testing locally I know that anonymous access is slow so I think it may also be slow | 20:11 |
| @clarkb:matrix.org | I'm only just now getting to eat breakfast. So not sure if you're able to figure out the token stuff | 20:11 |
| @clarkb:matrix.org | https://git.launchpad.net/launchpadlib/tree/src/launchpadlib/credentials.py?h=2.3.0&id=e50fdbab9fd874ab542dcf78c152185e14523b55#n692 doesn't have many more clues | 20:12 |
| @clarkb:matrix.org | actually https://git.launchpad.net/launchpadlib/tree/src/launchpadlib/credentials.py?h=2.3.0&id=e50fdbab9fd874ab542dcf78c152185e14523b55#n804 this is where it is stalled out | 20:13 |
| @clarkb:matrix.org | https://git.launchpad.net/launchpadlib/tree/src/launchpadlib/credentials.py?h=2.3.0&id=e50fdbab9fd874ab542dcf78c152185e14523b55#n58 it will wait 15 minutes | 20:14 |
| @clarkb:matrix.org | also possible that authorization is that much slower than anonymous fetches | 20:15 |
| @fungicide:matrix.org | currently prepping dinner and doing paperwork, but can try to track down our documentation for regenerating a lp api token in a bit | 20:15 |
| @clarkb:matrix.org | ack that would be great thanks. I really need to eat something and not be hunched over a laptop for a bit | 20:15 |
| @fungicide:matrix.org | yes, do that | 20:17 |
| @clarkb:matrix.org | I think launchpadlib will set up an interactive oauth process to make a new token if the old token doesn't work or if there isn't a token. I'm beginnig to suspect that auth is failing and its saying "please go regenerate your token" and we have no way of doing that so we sit there while it polls and then their timeuot is longer than our timeout and we end up where we have ended up | 20:18 |
| @clarkb:matrix.org | ok I'm going to go eat now | 20:18 |
| -@gerrit:opendev.org- Monty Taylor https://matrix.to/#/@mordred:inaugust.com proposed: | 20:19 | |
| - [zuul/zuul-jobs] 1012107: Add roles and jobs for using the Just task runner https://review.opendev.org/c/zuul/zuul-jobs/+/1012107 | ||
| - [zuul/zuul-jobs] 1012108: Add support for rustup from the distro https://review.opendev.org/c/zuul/zuul-jobs/+/1012108 | ||
| @fungicide:matrix.org | i'm thinking https://ubuntu.com/docs/launchpad/user/how-to/launchpadlib/integrate-website/ is how we've done it in the past, but i'm hunting in old irc logs to try to get confirmation | 20:42 |
| @clarkb:matrix.org | just as a sanity check we are up to ~235 tasks from ~146 earlier today. I think that growth rate is not going to bankrupt the server resource wise, but something to keep in mind (we're growing tasks rather than catching up) | 21:02 |
| @clarkb:matrix.org | we might consider new images that set the timeout to a much lower value or just hack the image in place to either lower the timeout or comment out those commands from the hook script | 21:03 |
| @clarkb:matrix.org | but I suspect we'll be ok over the weekend if it lasts that long | 21:03 |
| @clarkb:matrix.org | I'm going to test etherpad 3.3.10 (held node is at 146.20.60.207) really quickly now so that I can get that flushed out of the queue hopefully | 21:07 |
| @clarkb:matrix.org | any objections to me approving that change if things look good on the held node? | 21:07 |
| @fungicide:matrix.org | oh for some reason i thought we'd already merged it | 21:08 |
| @clarkb:matrix.org | We upgraded to 3.3.9. They released 3.3.10 earlier today | 21:08 |
| @clarkb:matrix.org | I got a change up just after the gerrit restart. Its the treadmill we can't jump off of :) | 21:08 |
| @fungicide:matrix.org | ah, new one just a few hours ago, right | 21:08 |
| @clarkb:matrix.org | I think you can focus on your lp historical research as you do that much more better than I do | 21:10 |
| @clarkb:matrix.org | I'll focus on etherpad and maybe we can kill two birds concurrently with two different stones | 21:10 |
| @clarkb:matrix.org | my typical clarkb-test pad looks great. Formatting and lists and chat all work as expected. I think I'll go ahead and approve https://review.opendev.org/c/opendev/system-config/+/1012076/ unless there are objections in the next few minutes | 21:14 |
| @clarkb:matrix.org | fungi: I half wonder if we need toclear out the /home/gerrit2/.launchpadlib/cache/api.launchpad.net file. Its timestamp is older tahn I would expect. But I don't know what the consequences of that may be | 21:16 |
| @clarkb:matrix.org | (wondering if the old cache may somehow be incompatibile with new launchpadlib or launchpad apis) | 21:16 |
| @clarkb:matrix.org | https://review.opendev.org/c/opendev/system-config/+/1012076 has been approved. I'll keep an eye on that upgrade | 21:24 |
| @clarkb:matrix.org | fungi: there is alos these docs: https://documentation.ubuntu.com/launchpadlib/introduction.html#oauth-authentication | 21:28 |
| @clarkb:matrix.org | which is distinct to https://documentation.ubuntu.com/launchpadlib/hardware-tokens.html | 21:29 |
| @clarkb:matrix.org | fungi: I'm half tempted to exec into the running gerrit container and try the lpconn = login_with() call that update_blueprint runs and see what happens if I'm a bit more interactive | 21:30 |
| @clarkb:matrix.org | I think that may rule in or out a prompt to go through a new oauth dance | 21:31 |
| @clarkb:matrix.org | but maybe that isn't a good idea in production? | 21:31 |
| @clarkb:matrix.org | ``` | 21:35 |
| from launchpadlib import launchpad | ||
| from launchpadlib import uris | ||
| cache_dir = '~/.launchpadlib/cache' | ||
| creds = '~/.launchpadlib/creds' | ||
| lpconn = launchpad.Launchpad.login_with( | ||
| 'Gerrit User Sync', uris.LPNET_SERVICE_ROOT, GERRIT_CACHE_DIR, | ||
| credentials_file=GERRIT_CREDENTIALS, version='devel') | ||
| ``` | ||
| @clarkb:matrix.org | I think that would be what we want to run | 21:35 |
| @clarkb:matrix.org | oh wait two bugs | 21:36 |
| @clarkb:matrix.org | * ``` | 21:36 |
| from launchpadlib import launchpad | ||
| from launchpadlib import uris | ||
| cache_dir = '~/.launchpadlib/cache' | ||
| creds = '~/.launchpadlib/creds' | ||
| lpconn = launchpad.Launchpad.login_with( | ||
| 'Gerrit User Sync', uris.LPNET_SERVICE_ROOT, cache_dir, | ||
| credentials_file=creds, version='devel') | ||
| ``` | ||
| @clarkb:matrix.org | I have also discovered that that api.launchpad.net cache directory does container newer contents | 21:38 |
| @fungicide:matrix.org | oh maybe | 21:39 |
| @fungicide:matrix.org | i couldn't find any reference to the other integration functions in our irc logs, fwiw (that grep took a while to complete) | 21:39 |
| @fungicide:matrix.org | so is it in `~/.cache/api.launchpad.net/` now? | 21:40 |
| @clarkb:matrix.org | but also some of the root cached contents seem to be from ~17:03 and we restarted at ~17:12 | 21:40 |
| @clarkb:matrix.org | fungi: its /home/gerrit2/.launchpadlib/cache/api.launchpad.net/cache/stuff | 21:40 |
| @fungicide:matrix.org | aha | 21:40 |
| @clarkb:matrix.org | sorry I was maybe not clear before I don't think the location changed i just didn't realize how deep the tree went and the content is hidden in there and some of it is from just before we restarted | 21:41 |
| @clarkb:matrix.org | which makes me think old launchpadlib cached it and now new launchpadlib is trying to use it which may or may not be a problem | 21:41 |
| @clarkb:matrix.org | but theorizing maybe if we cached the info in the wrong format or something it could make things sad | 21:42 |
| @clarkb:matrix.org | I think the ~three options avaible ot us are to 1) just reissue the token and see what happens 2) try that little script above and see if we are prompted to do the oauth dance or 3) clear out/ move the cache and see if that helps | 21:42 |
| @clarkb:matrix.org | fungi: if I do an anonymous login the cached data for a couple of those paths does have different byte lenghts | 21:46 |
| @clarkb:matrix.org | not very different but slightly different | 21:46 |
| @fungicide:matrix.org | depending on what kind of token it is, it may not have a fixed length | 21:47 |
| @clarkb:matrix.org | 3226 vs 3218 and 2707580 vs 2707572 | 21:48 |
| @clarkb:matrix.org | I think these are caching the responses not the tokens | 21:48 |
| @clarkb:matrix.org | ya one is json and one is xml | 21:49 |
| @fungicide:matrix.org | right, i expect the credentials to be stored in `~/.launchpadlib/creds` instead anyway | 21:49 |
| @clarkb:matrix.org | but whether or not that means we've cached somethin gstale and broken for newer launchpadlib I can't say. It does lend some evidence ot the idea that the cache is stale and refreshing it may help though | 21:49 |
| @clarkb:matrix.org | anyway I'm game to try any of those three items or all of them etc if you think it is worth pursuing them | 21:50 |
| @fungicide:matrix.org | yeah, in theory blowing away the cache should be fine? it's supposedly just a cache | 21:51 |
| @fungicide:matrix.org | could move it aside at least and see if anything changes | 21:51 |
| @clarkb:matrix.org | ++ do you want me to do that? mv /home/gerrit2/.launchpadlib/cache /home/gerrit2/.launchpadlib/oldcache ? | 21:51 |
| @fungicide:matrix.org | yes, go for it | 21:51 |
| @fungicide:matrix.org | maybe we need to add a step to clear the lp cache when updating container images in the future, if this ends up helping | 21:52 |
| @clarkb:matrix.org | done | 21:52 |
| @clarkb:matrix.org | the cache dir has not been recreated yet. I'm guessing the running process has the old dir fd open and it won't create a new one until the current process fails and a new one starts | 21:53 |
| @clarkb:matrix.org | that should happen in a minute or two automatically | 21:54 |
| @clarkb:matrix.org | new process has created a new cache dir. Behavior doesn't seem to have cahnged so not a stale cache problem | 21:56 |
| @clarkb:matrix.org | thoughts on exec'ing into the container and running that little python script quoted above? | 21:57 |
| @fungicide:matrix.org | sorry, had to complete a survey that closed 30 seconds ago ;) | 22:00 |
| @fungicide:matrix.org | i agree, testing from within the container to confirm it's an issue with the data we have in there is probably the best next step | 22:01 |
| @clarkb:matrix.org | ok I'll work on doing thatn ow | 22:02 |
| @clarkb:matrix.org | confirmed that I get a prompt to do the authorization dance | 22:04 |
| @clarkb:matrix.org | it spits out a url to open | 22:04 |
| @clarkb:matrix.org | I went ahead and gave it a ^C since I think this now confirms that what we need is a new token and I'm not logged in to the account do the dance | 22:05 |
| @clarkb:matrix.org | I've exited my exec session. I think we should use a proper process to do that whatever that process may be and not my fabricobbled one that relies on random docker execs. But this does seem to confirm the problem so hopefully that helps us solve it | 22:07 |
| @clarkb:matrix.org | I guess what we need to do is do the dance, cross check the creds file contents and determine if that needs a format update or just var value updates in private vars. Make those edits and let the periodic daily runs put that in place? | 22:09 |
| @clarkb:matrix.org | I'm half hoping someone other than myself is ableto do all of that mostly because I've not done the lp dance beffore and am on the not ergonmic laptop setup. But let me know | 22:09 |
| @clarkb:matrix.org | also etherpad should upgrade in a few minutes so I'm going to pay attention to that for a few minutes | 22:10 |
| @fungicide:matrix.org | from my notes, it looks like the last time i went through this dance was 2026-01-14 after we rotated all the zuul secret encryption keys | 22:15 |
| @fungicide:matrix.org | i distilled https://documentation.ubuntu.com/launchpad/user/how-to/launchpadlib/using-launchpadlib/index.html#authenticated-access-for-website-integration down to a handful of steps | 22:15 |
| @fungicide:matrix.org | `from launchpadlib.credentials import Credentials` | 22:15 |
| @fungicide:matrix.org | `credentials = Credentials("Gerrit Hooks")` | 22:15 |
| @fungicide:matrix.org | `print(request_token_info = credentials.get_request_token(web_root="production"))` | 22:16 |
| @fungicide:matrix.org | [plug that into a browser that's already logged into the account we're using and select the access level we want] | 22:16 |
| @fungicide:matrix.org | `credentials.exchange_request_token_for_access_token(web_root="production")` | 22:16 |
| @fungicide:matrix.org | `print(credentials.consumer.key, credentials.access_token.secret, credentials.access_token.key)` | 22:16 |
| @fungicide:matrix.org | and that returns the three bits of data that go into our private hostvars | 22:17 |
| @clarkb:matrix.org | I'm trying to dig into the lazr source now to find if the format of the file changed or something like that | 22:17 |
| @jim:acmegating.com | ohai i am back at a terminal, anything i can do? | 22:17 |
| @fungicide:matrix.org | probably not unless you want to help dig into what might have changed in launchpadlib. i'm going to work on setting up a venv and generating new creds to see if swapping them out works | 22:19 |
| @clarkb:matrix.org | corvus: tldr is after updating the gerrit image to python3.14 and launchpadlib 2.3.0 it seems to not like our current lp credentials contents | 22:19 |
| @jim:acmegating.com | happen to know the old version of lplib? | 22:20 |
| @clarkb:matrix.org | corvus: this causes the gerrit hooks to timeout after 20 minutes and we have a slowly growing backlog of those hooks in the gerrit tasks queue. Manually running the lp connect code spits out a url to do the oauth token dance and we seem to be stuck on that in the scripts causing the timeouts | 22:20 |
| @clarkb:matrix.org | corvus: I don't. We last upgraded gerrit to update to the latest 3.13 release we can cross check that against lplib releases maybe | 22:20 |
| @jim:acmegating.com | ack | 22:20 |
| @jim:acmegating.com | pretty sure launchpadlib==2.1.0 is what was in the old image | 22:23 |
| @clarkb:matrix.org | https://git.launchpad.net/lazr.restfulclient/tree/src/lazr/restfulclient/authorize/oauth.py#n163 this code doesn't seem to have chagned | 22:23 |
| @clarkb:matrix.org | so it must be on the launchpadlib side or even in lp itself? | 22:23 |
| @jim:acmegating.com | but somehow triggered by this update, right? | 22:23 |
| @clarkb:matrix.org | anyway if someone is able to work through issuing a new token I suspect that is our next step | 22:23 |
| @clarkb:matrix.org | corvus: yup | 22:24 |
| @jim:acmegating.com | is fungi doing that? | 22:24 |
| @fungicide:matrix.org | yes | 22:24 |
| @clarkb:matrix.org | thanks! etherpad change should merge momentaily so I'm switching gears to keep an eye on that | 22:25 |
| -@gerrit:opendev.org- Zuul merged on behalf of Clark Boylan: [opendev/system-config] 1012076: Upgrade etherpad to 3.3.10 https://review.opendev.org/c/opendev/system-config/+/1012076 | 22:25 | |
| @clarkb:matrix.org | corvus: launchpad lib runs a busy loop query for 15 minutes while it waits for you to do the lp oauth stuff in your browser. That makes for a very confusing strace | 22:26 |
| @clarkb:matrix.org | but I think we were able to run this down eventually | 22:26 |
| @jim:acmegating.com | there's some changes where it decides whether to re-use a cached cred; not sure if that's the issue, but it smells like it could be; continuing to dig. that does support your theory: something like a file format changed (or maybe now it stores more metadata) and to fix we either reverse-engineer the difference or get a new token (and presume it stores it with the needed info) | 22:28 |
| @fungicide:matrix.org | now that i have a private browser window logged in as hudson-openstack, it looks like i did it twice on 2026-01-14: "Application name: Gerrit Hooks" and "Application name: Release Jobs" | 22:28 |
| @jim:acmegating.com | this is the fishy looking commit: https://git.launchpad.net/launchpadlib/commit/?id=b9e2de593f12823b4150059b66e46663c4e1c758 | 22:30 |
| @clarkb:matrix.org | etherpad is up and reports being healthy | 22:31 |
| @clarkb:matrix.org | https://etherpad.opendev.org/p/gerrit-upgrade-3.14 does load for me and looks about right | 22:31 |
| @jim:acmegating.com | + Cached credentials are only reused when they clearly belong to | 22:32 |
| + the consumer we're authorizing as: | ||
| + | ||
| + * the cached consumer key matches the one we're logging in with | ||
| + (the same named consumer, or the same system-wide consumer on | ||
| + this host), or | ||
| + * both the cached and the requested consumer are system-wide. | ||
| + System-wide consumers are keyed by hostname. | ||
| @jim:acmegating.com | * ``` | 22:32 |
| + | ||
| + Cached credentials are only reused when they clearly belong to | ||
| + the consumer we're authorizing as: | ||
| + | ||
| + * the cached consumer key matches the one we're logging in with | ||
| + (the same named consumer, or the same system-wide consumer on | ||
| + this host), or | ||
| + * both the cached and the requested consumer are system-wide. | ||
| + System-wide consumers are keyed by hostname. | ||
| ``` | ||
| @jim:acmegating.com | that looks relevant | 22:32 |
| @clarkb:matrix.org | we don't set the "Gerrit Hooks" string in the creds file | 22:33 |
| @clarkb:matrix.org | maybe that causes it to not match things up unless that is encoded in the key somehow and our old token doesn't carry that info? | 22:33 |
| @clarkb:matrix.org | https://git.launchpad.net/lazr.restfulclient/tree/src/lazr/restfulclient/authorize/oauth.py#n163 doesn't seem to load that unless consumer key and consumer secret contain the info/ | 22:34 |
| @clarkb:matrix.org | ah yup consumer_key is the value there | 22:35 |
| @clarkb:matrix.org | we call it `'Gerrit User Sync'` in jeepyb | 22:35 |
| @clarkb:matrix.org | so maybe we just need to change that value unless part of that avlue is encoded in the cryoptographic material | 22:36 |
| @fungicide:matrix.org | i now have a fresh `consumer.key`/`access_token.secret`/`access_token.key` we can try swapping in | 22:36 |
| @clarkb:matrix.org | fungi: I think the consumer key value may need to be Gerrit User Sync to match the strings in jeepyb based on what corvus quoted above | 22:37 |
| @clarkb:matrix.org | * fungi: I think the consumer key value may need to be `'Gerrit User Sync'` to match the strings in jeepyb based on what corvus quoted above | 22:37 |
| @fungicide:matrix.org | i wonder then how this impacts the credential being used for release jobs | 22:37 |
| @clarkb:matrix.org | if you look at the login_with calls in jeepyb they all use that string | 22:37 |
| @jim:acmegating.com | fungi: what version of launchpadlib does the release job use? | 22:38 |
| @fungicide:matrix.org | great question, i'll find out | 22:38 |
| @clarkb:matrix.org | note we need at least 2.2.0 for python3.14 support. 2.3.0 is the latest | 22:38 |
| @clarkb:matrix.org | corvus: do you know if that change was on 2.2.0 as well (thoug hreally just setting up the config and code to match is probably best rather than downgrading) | 22:38 |
| @fungicide:matrix.org | looks like it uses the latest available per https://opendev.org/openstack/project-config/src/branch/master/roles/copy-release-tools-scripts/files/release-tools/requirements.txt#L2 | 22:38 |
| @clarkb:matrix.org | fungi: those jobs use a different credential though right? Maybe their login_with calls match the strings? Or maybe it doesn't use the high level login with and skips psat these checks? | 22:39 |
| @clarkb:matrix.org | anyway I wonder if we can just change the string in the current creats to Gerrit User Sync and it will start magically working | 22:39 |
| @fungicide:matrix.org | https://opendev.org/openstack/project-config/src/branch/master/roles/copy-release-tools-scripts/files/release-tools/launchpad_add_comment_set_status.py#L64 | 22:39 |
| @fungicide:matrix.org | doesn't seem to match | 22:40 |
| @clarkb:matrix.org | unless the new token invalidated the old one | 22:40 |
| @fungicide:matrix.org | there are currently two "Application name: Gerrit Hooks" tokens authorized, so doesn't appear that it invalidated anything existing | 22:40 |
| @fungicide:matrix.org | i'll have to generate new credentials for "Application name: Gerrit User Sync" and replace them in the creds file if we want to do that | 22:41 |
| @clarkb:matrix.org | oh except we can't easily switch jeepyb to Gerrit Hooks | 22:41 |
| @clarkb:matrix.org | we can change Gerrit Hooks in the creds file to Gerrit User Sync though | 22:42 |
| @clarkb:matrix.org | but again not sure if that gets encoded in the cryptographic material | 22:42 |
| @fungicide:matrix.org | also we haven't done a gerrit user sync since... 2012? then again this account isn't used by hudson any more so incentive to rename things for better accuracy is pretty low | 22:42 |
| @clarkb:matrix.org | I'm thinking we just change the creds file in place in prod really quick and see if it gets happier | 22:42 |
| @fungicide:matrix.org | well, the application name is supplied in the `Credentials()` class object initialization, and appears in the list of authorized applications on the launchpad website | 22:43 |
| @clarkb:matrix.org | and if not then we issue another token with app name Gerrit User Sync and then update the creds file with that. Which I think will fix this. Then we can decide what things should be called long term when it isn't friday? | 22:43 |
| @clarkb:matrix.org | fungi: ack so we probably need a new token called Gerrit User Sync then? | 22:43 |
| @fungicide:matrix.org | but yeah, i can try swapping this out, just wondering why it hasn't broken openstack release jobs if this is the problem | 22:44 |
| @clarkb:matrix.org | maybe theirs match up? | 22:44 |
| @clarkb:matrix.org | also 2.3.0 was released 10 days ago. Have releases been made since the 13th? | 22:44 |
| @fungicide:matrix.org | since they do `login_with(application_name='openstack-releasing', ...)` but launchpad has the credential for that with "Application name: Release Jobs" | 22:45 |
| @fungicide:matrix.org | yes, plenty | 22:45 |
| @clarkb:matrix.org | maybe it is only checking the values client side. So load consumer key from the creds file and check against application name if match then use token | 22:45 |
| @fungicide:matrix.org | lemme see if i can find a recent job run | 22:45 |
| @clarkb:matrix.org | if that is the case then simply updating our creds file from Gerrit Hooks to Gerrit User Sync should work | 22:45 |
| @fungicide:matrix.org | i'm quickly running out of runway for my evening though and wasn't expecting to go so deep down this rabbit hole, i'll see what i can find it's just turning into a series of dominoes | 22:46 |
| @clarkb:matrix.org | if it were me I'd ignore relases for now. Maybe drop a note to the release team that it is something to look at since it isn't breaking them apparently | 22:47 |
| @clarkb:matrix.org | there can be a few explanationfor that (maybe the lib is pinned somehow and we don't know) (maybe the creds file loading is all client side and the app name server side doesn't matter ) etc | 22:47 |
| @fungicide:matrix.org | well, my point is this has been working for release jobs since long after launchpadlib updated, and the job doesn't use a matching application name so i'm not sure that's the underlying problem either | 22:48 |
| @clarkb:matrix.org | have we confirmed the value in their config file doesn't match what is in the script though? THats what I'm saying. The validation may not care on the server side only on the library client side | 22:48 |
| @fungicide:matrix.org | i'm trying to find out | 22:49 |
| @fungicide:matrix.org | https://zuul.opendev.org/t/openstack/build/7783a79a30d8482e94e80c18bd45e9b4/log/job-output.txt#666-667 is an example that succeeded | 22:50 |
| @fungicide:matrix.org | it produced this comment (yesterday): https://bugs.launchpad.net/python-openstackclient/+bug/2150856/comments/11 | 22:51 |
| @clarkb:matrix.org | `consumer_key: 'System-wide: Ubuntu (review.openstack.org)'` is in the zuul secret | 22:51 |
| @clarkb:matrix.org | (which I think just makes this more confusing not less) | 22:52 |
| @fungicide:matrix.org | https://zuul.opendev.org/t/openstack/build/7783a79a30d8482e94e80c18bd45e9b4/console#1/0/28/ubuntu-noble so we're installing it from distro package | 22:53 |
| @clarkb:matrix.org | aha | 22:53 |
| @fungicide:matrix.org | unfortunately packages.ubuntu.com is broken again so i'll have to track this down the hard way | 22:54 |
| @clarkb:matrix.org | 2.3.0 is only 10 days old so highly unlikely noble is running that version | 22:54 |
| @jim:acmegating.com | Version: 1.11.0-6 in noble | 22:54 |
| @fungicide:matrix.org | python3-launchpadlib/noble,now 1.11.0-6 | 22:54 |
| @fungicide:matrix.org | so won't hit this regression until a much newer ubuntu or we switch to pip installing the lib | 22:55 |
| @fungicide:matrix.org | okay, i'm satisfied with the reason the release jobs didn't break (yet) | 22:55 |
| @fungicide:matrix.org | so that goes onto the back burner, it doesn't invalidate our suspicions as to the cause | 22:56 |
| @fungicide:matrix.org | i'll create a new triplet with "Gerrit User Sync" and we can test that | 22:57 |
| @clarkb:matrix.org | cool thanks | 22:57 |
| @fungicide:matrix.org | should i edit them straight into ~gerrit2/.launchpadlib/creds? | 22:58 |
| @clarkb:matrix.org | ++ then we can kill the running python process to force the next one to run and reload the creds | 22:59 |
| @clarkb:matrix.org | and if that looks happier we can update private vars and then let periodic jobs noop apply them from there | 22:59 |
| @fungicide:matrix.org | okay, updated | 23:00 |
| @clarkb:matrix.org | were you doing kill -INT $PID before to get the traceback? I think thats basically what we want here to speed up the process refresh to load the new info | 23:00 |
| @fungicide:matrix.org | killing process 2571344 | 23:00 |
| @clarkb:matrix.org | ack | 23:00 |
| @fungicide:matrix.org | i see it restarted a new process, so in theory is using the new creds | 23:01 |
| @clarkb:matrix.org | ya it should open the creds file anew each process. But the strace behavior hasn't changed so this maybe wan't it | 23:02 |
| @clarkb:matrix.org | I'm wondering if we need to set consumer_name on login_with which the docstring warns about | 23:02 |
| @clarkb:matrix.org | at this point I'm thinking maybe we just disable the hooks via commenting out the calls to jeepyb or something and pick it up monday | 23:02 |
| @fungicide:matrix.org | i also wonder if we should just pin back launchpadlib in jeepyb temporarily | 23:02 |
| @clarkb:matrix.org | we can pin it to 2.2.0 but no earlier on python3.14 | 23:03 |
| @fungicide:matrix.org | oh good point | 23:03 |
| @clarkb:matrix.org | corvus: was this update you found in 2.2.0 or 2.3.0? | 23:03 |
| @jim:acmegating.com | 220 | 23:03 |
| @jim:acmegating.com | it's the last commit before that release | 23:03 |
| @fungicide:matrix.org | argh | 23:03 |
| @fungicide:matrix.org | oh well | 23:04 |
| @jim:acmegating.com | where are the hooks where this is used? i'm wondering if we can try the name change real quick to see if that's it? | 23:04 |
| @fungicide:matrix.org | https://opendev.org/opendev/jeepyb/src/branch/master/jeepyb/cmd/update_bug.py#L325 and a couple of similar spots | 23:05 |
| @clarkb:matrix.org | corvus: its in jeepyb/jeepyb/cmbd/update_bug and update_blueprint | 23:05 |
| @jim:acmegating.com | okay, so the cowboy version of this is "edit the installed jeepyb in the running gerrit container"? | 23:05 |
| @clarkb:matrix.org | corvus: yes | 23:05 |
| @clarkb:matrix.org | ``` | 23:05 |
| + :param consumer_name: See `RequestTokenAuthorizationEngine`. | ||
| + If application_name is provided, consumer_name and | ||
| + allow_access_levels are ignored in favor of desktop-wide | ||
| + integration. | ||
| ``` | ||
| @clarkb:matrix.org | I see ^ that in the commit before 2.2.0 | 23:06 |
| @clarkb:matrix.org | basically seems like maybe the name needs to be host level if we don't set consumer_name and do set application_name (we set application name to Gerrit User Sync but don't set consumer name) | 23:06 |
| @fungicide:matrix.org | oh, another difference i spot just looking at that, it's setting `version='devel'` but i created the credentials with `web_root="production"` | 23:06 |
| @fungicide:matrix.org | i wonder if those have to match too | 23:06 |
| @clarkb:matrix.org | fungi: devel is the api versin | 23:06 |
| @clarkb:matrix.org | but maybe that has an impact? | 23:06 |
| @fungicide:matrix.org | yeah, no idea if they're related in any way | 23:07 |
| @fungicide:matrix.org | the docs don't go into much detail | 23:07 |
| @fungicide:matrix.org | they just say to set `web_root="production"` in the credentials methods | 23:07 |
| @fungicide:matrix.org | "...tells launchpadlib which Launchpad instance to run against. Here, we’re using production, which is mapped to the web service root on the production Launchpad server..." | 23:09 |
| @fungicide:matrix.org | okay, so presumably unrelated | 23:09 |
| @jim:acmegating.com | i think a cowboy edit to production is do-able if we want to try that. i'm happy to do it. or happy to stand down. | 23:09 |
| @clarkb:matrix.org | corvus: you want to change the application_name to something else or add consumer_name? | 23:09 |
| @clarkb:matrix.org | corvus: I'm game for you to try I just want to understand the intended edit | 23:09 |
| @fungicide:matrix.org | "staging" is the alternative to "production" for `web_root` | 23:09 |
| @jim:acmegating.com | heh i was going to ask you, i haven't paged all this in yet. | 23:10 |
| @fungicide:matrix.org | should i swap our original creds back in first, presumably? | 23:10 |
| @jim:acmegating.com | based on https://opendev.org/opendev/jeepyb/src/branch/master/jeepyb/cmd/update_bug.py#L325 | 23:10 |
| @jim:acmegating.com | that means application_name='Gerrit User Sync' right? | 23:10 |
| @clarkb:matrix.org | corvus: yes application anme is the first kwarg | 23:11 |
| @clarkb:matrix.org | so not setting the explicit kwarg should map arg 1 to application_name | 23:11 |
| @fungicide:matrix.org | i put the old creds back in place for now | 23:11 |
| @fungicide:matrix.org | the new alternative creds are in `~gerrit2/.launchpadlib/creds.test_2026-10-23` | 23:12 |
| @clarkb:matrix.org | corvus: I think the two edits to check are adding consumer_name to match the creds file consumer key and if that doesn't work keep that edit but remove application_name | 23:13 |
| @jim:acmegating.com | launchpadlib creds are owned by root? | 23:13 |
| @clarkb:matrix.org | no should be 0600 gerrit2:gerrit2 | 23:13 |
| @jim:acmegating.com | -rw------- 1 root root 187 Oct 23 23:11 creds | 23:14 |
| @fungicide:matrix.org | ah, that may be my fault | 23:14 |
| @clarkb:matrix.org | fungi: is it possible when you edited the file it was set to root:root or was that only due to the revert? | 23:14 |
| @fungicide:matrix.org | hold on | 23:14 |
| @jim:acmegating.com | once the perms are fixed, i'm going to try a quick python script test in the container to see if i can repro without the cowboy edit | 23:15 |
| @clarkb:matrix.org | corvus: ack | 23:15 |
| @fungicide:matrix.org | okay, owned by gerrit2 now, sorry. and no when i tested swapping to new creds the file would still have been owned by gerrit2 | 23:15 |
| @fungicide:matrix.org | i only broke it moments ago by moving a backup copy of the original i had created as root back into place | 23:16 |
| @clarkb:matrix.org | got it. Just wanted to double check. corvus I think you're clear to do your testing | 23:16 |
| @fungicide:matrix.org | because i didn't preserve permissions on copy | 23:16 |
| @fungicide:matrix.org | yes, should be all set | 23:16 |
| @clarkb:matrix.org | as a side note while we did update to python3.14 and we wanted to do that here and we need 2.2.0 or newer for that the next gerrit image update would've upgraded launchpadlib and we would've been in this position with or owthout the python update | 23:17 |
| @fungicide:matrix.org | yes, i concur | 23:18 |
| @fungicide:matrix.org | (though we at least would have been able to pin back to older launchpadlib in that case) | 23:18 |
| @jim:acmegating.com | ```python | 23:18 |
| lpconn = launchpad.Launchpad.login_with( | ||
| service_root=uris.LPNET_SERVICE_ROOT, | ||
| launchpadlib_dir=GERRIT_CACHE_DIR, | ||
| credentials_file=GERRIT_CREDENTIALS, | ||
| version='devel', | ||
| consumer_name='Gerrit Hooks') | ||
| ``` | ||
| @jim:acmegating.com | that worked | 23:18 |
| @clarkb:matrix.org | corvus: did keeping the appliaction name not work or was that not tested? | 23:19 |
| @jim:acmegating.com | (all other combos i tried did not; they had the interactive url prompt) | 23:19 |
| @jim:acmegating.com | right, i did test application name, could not get to work with it | 23:19 |
| @clarkb:matrix.org | cool in that case do you want ot update update_blueprint.py and udpate_bug.py with that edit (removal of application name adn addition of consumer_name) ? then we can update jeepyb to match on monday? | 23:20 |
| @jim:acmegating.com | yep i'll do that | 23:20 |
| @clarkb:matrix.org | * cool in that case do you want ot cowboy update update_blueprint.py and udpate_bug.py with that edit (removal of application name adn addition of consumer_name) ? then we can update jeepyb to match on monday? | 23:20 |
| @clarkb:matrix.org | and then we should also cleanup the unneeded tokens | 23:20 |
| @fungicide:matrix.org | interestingly, the launchpad webui calls it the "application name" | 23:20 |
| @fungicide:matrix.org | i can go ahead and remove the two newer tokens i created | 23:21 |
| @clarkb:matrix.org | what a journey :) | 23:21 |
| @fungicide:matrix.org | okay, both revoked, the only current authorizations are the ones i created back in january | 23:22 |
| @fungicide:matrix.org | i also deleted the creds.test_2026-10-23 file from the server, for avoidance of future confusion | 23:22 |
| @fungicide:matrix.org | i guess we'll want to keep this in mind for https://opendev.org/openstack/project-config/src/branch/master/roles/copy-release-tools-scripts/files/release-tools/launchpad_add_comment_set_status.py#L63-L67 and see if older launchpadlib will allow us to set it now for forward compatibility | 23:24 |
| @clarkb:matrix.org | fungi: before you call it a day may be worth a note to the openstack relaese team that figuring this out is in the future at some point for them as well. That way we don't forget | 23:24 |
| @fungicide:matrix.org | yes, well i'm probably the only member of openstack's release team awake at this hour anyway | 23:25 |
| @jim:acmegating.com | cowboy edit done | 23:25 |
| @jim:acmegating.com | someone want to kill the proc and see if it works? | 23:25 |
| @fungicide:matrix.org | doing now | 23:25 |
| @fungicide:matrix.org | sent a sigint to 2578829 | 23:26 |
| @fungicide:matrix.org | 2580539 is the new child process | 23:26 |
| @clarkb:matrix.org | the python processes are cycling rapidly now | 23:26 |
| @fungicide:matrix.org | yes, hopefully a good thing? | 23:27 |
| @clarkb:matrix.org | 285 tasks queued now | 23:27 |
| @jim:acmegating.com | hopefully that's because it's fixed and not because i made a syntax error? :) | 23:27 |
| @clarkb:matrix.org | that number should fall rather than grow | 23:27 |
| @fungicide:matrix.org | right ;) | 23:27 |
| @clarkb:matrix.org | I'm not seeing the error_log log things at a rate that indicates those processes are failing | 23:27 |
| -@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [opendev/jeepyb] 1012141: Update login process for new launchpadlib https://review.opendev.org/c/opendev/jeepyb/+/1012141 | 23:28 | |
| @clarkb:matrix.org | 283 tasks | 23:28 |
| @jim:acmegating.com | i just want you all to know i used vim to keep the container delta small | 23:29 |
| @clarkb:matrix.org | corvus: join us on the dark side | 23:29 |
| @clarkb:matrix.org | now down to 274 tasks | 23:29 |
| @clarkb:matrix.org | I think this is having the expected result | 23:29 |
| @fungicide:matrix.org | yay, thanks! | 23:30 |
| @clarkb:matrix.org | and now 253 | 23:31 |
| @clarkb:matrix.org | so ya I suspect we can pick this back up again monday and get jeepyb sorted out properly then | 23:31 |
| @jim:acmegating.com | \o/ | 23:31 |
| @clarkb:matrix.org | what a week! thank you everyone for all the help! I'll be popping out to start the chipper shortly | 23:32 |
| @clarkb:matrix.org | assuming there isn't anything else you think I should followup on first. I thin kgerrit (jeepyb really) is happier now and etherpad seems to work | 23:32 |
| @clarkb:matrix.org | heh my keys just unloaded whcih is a clear signal that the day should be over | 23:34 |
| @clarkb:matrix.org | (they are loaded with a timeout) | 23:34 |
| @fungicide:matrix.org | yep, mine as well. thanks again everyone! | 23:37 |
| @fungicide:matrix.org | just to follow up, proof the fix is definitely working now: https://bugs.launchpad.net/ironic/+bug/2166507/comments/40 | 23:57 |
| @fungicide:matrix.org | i saw notifications for a slew of them | 23:57 |
Generated by irclog2html.py 4.1.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!