Thursday, 2026-08-06

@mnaser:matrix.orgwhen i curl i get anubis'd .. 00:00
@mnaser:matrix.orgbut when i look at the source though00:00
@mnaser:matrix.org```00:00
<script id="anubis_challenge" type="application/json">{"rules":{"algorithm":"fast","difficulty":4},"challenge":{"issuedAt":"2026-08-05T23:59:41.969945208Z","metadata":{"User-Agent":"curl/8.5.0","X-Real-Ip":"38.108.68.97"},"id":"019fd45e-5d91-7e4b-b3a0-6c361d0d5a57","method":"fast","randomData":"971f1e363fb16533d4f514f57763ac810552f4e484bb3fc9a46aa4aa9e7e986b1f0e1468f7efab761111d63dfe4efd1576aafc7f0cf60186e5c4ea3622fba07a","policyRuleHash":"ac980f49c4d35fab","difficulty":4,"spent":false}}
</script>
```
@mnaser:matrix.orgX-Real-Ip .. thats one of our vexxhost ips.. i suspect thats an haproxy ip00:00
@clarkb:matrix.orgyes we have haproxy in front of 6 gitea backends00:01
@clarkb:matrix.orgyou shouldn't be getting anubis with curl or git (I don't)00:01
@mnaser:matrix.orgshouldn't x-real-ip be my ip address rather than the anubis one?00:01
@mnaser:matrix.orgor something on the remote side so to speak00:01
@mnaser:matrix.orgthat X-Real-Ip is the IP address of gitea-lb03.opendev.org00:02
@clarkb:matrix.organubis is behind the haproxy so I think it is seeing the haproxy ip as we don't have PROXY protocol enabled00:03
@clarkb:matrix.org(that is in the works but there is no other l3/l4 method for telling the backend that there is a client further back)00:03
@mnaser:matrix.orgim hitting gitea14.opendev.org from the env that is failing, let me try to pin request locally00:04
@mnaser:matrix.orgunless that's not possible anymore00:05
@clarkb:matrix.orgit isn't00:05
@clarkb:matrix.orgwe had to block direct access due to all of the crawling (it was better to get crawled once per botnet rather than 7 x per botnet)00:06
@clarkb:matrix.organd yes I'm looking at the logs on gitea14 to try and figure it out too00:06
@mnaser:matrix.orgfailing system => User-Agent: curl/8.5.000:06
my system => User-Agent: curl/8.21.0
@clarkb:matrix.orgI see it in the logs for both your git and curl (I think you must've manually run curl?)00:10
@mnaser:matrix.orgyes i've been trying to prod at it from the CI node with git and curl too00:10
@clarkb:matrix.organd it does say issue challenge. So maybe something about the upgrade today got us some new dynamic rules that we weren't expecting00:10
@clarkb:matrix.orgour actual config is straightforward and dead simple and basically if it is a browser user agent you get a challenge other wise you're good00:10
@mnaser:matrix.orgi wonder if its doing something based on ip range now00:11
@clarkb:matrix.orgif it was I would expect all of our requests to fail due to the proxy00:11
@clarkb:matrix.orgso I don't think it is that00:11
@mnaser:matrix.orgchanging my user agent locally is still working00:11
@mnaser:matrix.orgah right cause it doesnt know the right ip00:11
@mnaser:matrix.orgClark: i found this commit -- https://github.com/TecharoHQ/anubis/pull/1521/changes -- diggin deeper since thats doc change only00:15
@clarkb:matrix.orgI think that is the documentation for having haproxy as a proper http proxy in our case we have apache in that role00:16
@clarkb:matrix.orgI'm thinking it may be something with how they load the ruleset configs? like maybe there is some default handling I see the weight is pretty high on those requests so I'm wondering if there is a default if weight is too high handle it.00:17
@mnaser:matrix.orgis there a list of ips.. maybe i have a bad ip00:17
@clarkb:matrix.orgno again because there is only one ip00:18
@clarkb:matrix.orgwe can't make that work currently00:18
@mnaser:matrix.orgah right!  yes sorry, keep forgetting that00:18
@clarkb:matrix.org(anubis can do that but we can't)00:18
@clarkb:matrix.orghttps://opendev.org/opendev/system-config/src/branch/master/playbooks/roles/gitea/files/anubis_botPolicy.yaml this is the policy we think we're using00:19
@mnaser:matrix.orgdoes anubis not mention why something was challenged?00:19
@clarkb:matrix.orgno00:21
@clarkb:matrix.orgit logs a challenge uid and the weight and the request but not the rule that triggered it00:22
@clarkb:matrix.orgI'm beginning to wonder if the udpated container image is simply not loading our config and using some default config00:22
@mnaser:matrix.orgClark:  i think it does because00:23
```
curl -v -H "User-Agent: curl/8.5.0" -H "CF-Worker: hey" https://opendev.org/openstack/hacking/info/refs | head
```
now i dont know if thats a general default rule, but it is one we denyt
@clarkb:matrix.orgoh are you using cloud flare?00:25
@clarkb:matrix.orgthen yes we will deny you00:25
@mnaser:matrix.orgno i am not!  but it was to tes the rule00:25
@clarkb:matrix.orgoh yes blocking cloudflare is pretty universal aiui00:25
@clarkb:matrix.orgthey are a huge source of abuse00:25
@mnaser:matrix.orgi am getting a challenge otherwise when attempting to curl from my failing node00:25
@mnaser:matrix.orgright yeah i was just trying to sus out if the config is applied or not but it seeems that is not a strong enouh signal00:25
@clarkb:matrix.orglooks like the healthchecks are failing and running it manually I get `failed to fetch metrics: parse "http://localhost[::1]:15000/healthz": invalid IP-literal` We don't put that url into our config so it really does seem like there is at least some config mangling happening00:28
@clarkb:matrix.org`METRICS_BIND: "[::1]:15000"` is the config value it should be using00:28
@clarkb:matrix.orgif POLICY_FNAME is unset then the default policy is used according to the docs00:31
@clarkb:matrix.orgnow to figure out if that is set on the process00:31
@clarkb:matrix.org/proc/$PID/environ says it is set00:32
@clarkb:matrix.orgthe .ko.yaml file hasn't changed in a meaningful way. But I'm also not seeing anywhere obvious that handles POLICY_FNAME00:35
@mnaser:matrix.orgClark: my fellow clanker has potentially root caused this00:35
@mnaser:matrix.orghttps://github.com/TecharoHQ/anubis/commit/1d700a037087a2a8695d9f7916f356be15f0a8e300:36
@mnaser:matrix.orgit seems they added something relying on ip addresses and i wonder if the instance of 13 got triggered some how00:36
@mnaser:matrix.org"OpenDev’s policy omits a honeypot setting, and 1.26 defaults it to enabled."00:37
@clarkb:matrix.orgI think it was enabled in 1.25 too, but that chagne is new in 1.2600:38
@clarkb:matrix.orgwe could try disabling it I guess?00:38
@mnaser:matrix.orghttps://github.com/TecharoHQ/anubis/blob/main/data/clients/git.yaml00:38
we can apparently use this to which is a git allowlist
@clarkb:matrix.orgyou think that since we dno't have an explicit allow its filtering through into some default handling path?00:39
@clarkb:matrix.orgI'm not sue I understand why that chagne would affect this fwiw00:39
@mnaser:matrix.orgwell because it went from using user agent to do its honeypot classification to cidr's00:40
@mnaser:matrix.organd well, we all share the same cidr00:40
@clarkb:matrix.orgright but that should cause every single requset to hit this problem00:40
@clarkb:matrix.orgbut git and curl work fine for me from my local machine00:40
@clarkb:matrix.orgoh you know what it is00:41
@clarkb:matrix.orgits the weight00:41
@mnaser:matrix.orgmaybe that is what is happening in gitea13 only?00:41
@clarkb:matrix.orgmnaser: https://github.com/TecharoHQ/anubis/commit/1d700a037087a2a8695d9f7916f356be15f0a8e3#diff-36d3505065293db7ad1cfadc666dd4e150944a2d66dcb35acc6bca45ad8512dcL10700:41
@clarkb:matrix.orgthat checks if the weight is >=2500:41
@clarkb:matrix.orgyour weights were all 30. I'm guessing most of us are skimming under that threshold but your particular set of user agents are not00:41
@clarkb:matrix.orgmost of us == those of us not having the problem. The weight is an aggregate score accumulating a number of factors aiui00:42
@clarkb:matrix.orgso ya maybe the correct thing for now is to disable the honeypot00:42
@mnaser:matrix.orgeither that or the git allow maybe?  but you know best :)00:42
@clarkb:matrix.orgthe git allow is probably also good. But won't cover curl for example00:44
@mnaser:matrix.orgah correct, in my case i dont care, curl was my test vector, git is what i care about (pre-commit) but your call00:44
@clarkb:matrix.orgyup I think its good belts and suspenders but to fix the general issue for now I think we disable the honeypot. I'll work on changes that do both00:45
@clarkb:matrix.orgactually maybe one change to reduce the total number of restarts involved00:45
-@gerrit:opendev.org- Clark Boylan proposed: [opendev/system-config] 999912: Disable the anubis honeypot https://review.opendev.org/c/opendev/system-config/+/99991200:54
@clarkb:matrix.orgok that bundles up a few of these things to avoid unnecessary restarts00:54
@clarkb:matrix.orgI only modified the anubis config for gitea. I suspect that it is actually less of a problem for lists and wiki as they don't have an haproxy and don't use git clients00:55
@clarkb:matrix.orgI need to eat dinner now. Hopefully CI comes back happy on that and we can land it over night or something00:55
@mnaser:matrix.orgthank you for troubleshooting!00:56
@clarkb:matrix.organd thank you for helping to debug. The ip address and additional info was helpful to track downt he likely cause00:56
@mnaser:matrix.orgnp00:56
@tkajinam:matrix.orgI'm wondering if anyone has seen this01:01
```
$ git clone https://opendev.org/openstack/heat
Cloning into 'heat'...
fatal: https://opendev.org/openstack/heat/info/refs not valid: could not determine hash algorithm; is this a git repository?
$ git clone https://github.com/openstack/heat
Cloning into 'heat'...
remote: Enumerating objects: 146335, done.
...
@mnaser:matrix.orglol, yep.  fix in flight - https://review.opendev.org/c/opendev/system-config/+/99991201:02
@mnaser:matrix.orgsee chat log above ^ :)01:02
@clarkb:matrix.orgits the discussion just above your message01:02
@tkajinam:matrix.orgoops sorry it now loads01:02
@clarkb:matrix.orgI really need to pop out now though. I think if that proposed change does not work then the next step is reverting back to 1.25.001:03
@clarkb:matrix.orginfra-root ^ fyi for whoever is able to pick this up next01:03
@mnaser:matrix.orgouch fyi i just noticed ci jobs upstream re failing this too01:52
@abelur:matrix.orgMorning all, could someone take a look at approving https://review.opendev.org/c/opendev/system-config/+/983318 (haproxy02:36
PROXY protocol with gitea)? it's Clark's change I picked up. PS11 is green with a +2 from Michal, but no workflow+1 - I think the +2 landed
just before zuul reported verified. TIA
@abelur:matrix.orgClark:  - I've replied on 999195 with a sketch for converting iptables to nftables gradually instead of all at once (new inventory group,02:38
opt-in per tier, ~15 changes). would appreciate a sanity check on the approach before I respin and continue on the approach. Appreciate if you can look into this whenever possible.
@abelur:matrix.org* Clark:  - I've replied on 999195 with a sketch for converting iptables to nftables gradually instead of all at once (new inventory group, opt-in per tier, ~15 changes). would appreciate a sanity check on the approach before I respin and continue on the approach whenever possible.02:42
@harbott.osism.tech:regio.chatFYI I've approved https://review.opendev.org/c/opendev/system-config/+/999912 now and will watch when it deploys06:07
@harbott.osism.tech:regio.chatfor 983318 I think it would be better if clarkb has another look at it first06:23
-@gerrit:opendev.org- Zuul merged on behalf of Dr. Jens Harbott: [openstack/project-config] 995781: Fix config errors for zuul-base-jobs https://review.opendev.org/c/openstack/project-config/+/99578106:36
@harbott.osism.tech:regio.chathmm, the gate job seems stuck for more than half an hour according to the console log :(07:30
@harbott.osism.tech:regio.chatlooks like the anubis container doesn't feel well. the docker log doesn't show anything obvious to me, though. trying to debug further07:35
```
170eb962a76c ghcr.io/techarohq/anubis:v1.26.2 "/ko-app/anubis" 42 minutes ago Up 42 minutes (unhealthy) gitea-docker_anubis_1
```
-@gerrit:opendev.org- Zuul merged on behalf of Clark Boylan: [opendev/system-config] 999912: Disable the anubis honeypot https://review.opendev.org/c/opendev/system-config/+/99991207:48
@harbott.osism.tech:regio.chatseems it passed anyway, well then, let's see how the deployment goes. the issue sure affects a lot of our CI, too08:07
@harbott.osism.tech:regio.chatlooks like the bad status was there before, like currently on gitea10: `Up 14 hours (unhealthy)`08:12
@harbott.osism.tech:regio.chatit looks like the change deployed, but didn't trigger any restarts. I'm not sure on the procedure for that, it there a script to go over all giteas and take them out of rotation?08:17
@gthiemonge:matrix.orglooks like you're already working on issues with anubis, i wanted to report a few issues related to anubis blocking pip08:49
@harbott.osism.tech:regio.chatI did docker compose up -d on gitea10, will need to afk for a bit now08:58
@harbott.osism.tech:regio.chatI'm doing only `docker-compose up -d anubis` on the other servers now trying to minimize the impact, but it also seems like this is urgent affecting a lot of ppl09:35
@harbott.osism.tech:regio.chathmm, looks like the problem is not yet fixed, like https://zuul.opendev.org/t/openstack/build/1c0ac6576f4a4074a870f5cbfd2c5457 still seems to be hitting some issue (not 100% sure whether the same thing, though)10:07
@owenjones:matrix.orgAlso still hitting it with git pulls10:08
@harbott.osism.tech:regio.chatyes, this one is more explicit, too https://zuul.opendev.org/t/openstack/build/0cc5a680f1864fe19a68c7a278cb6e4e10:10
@harbott.osism.tech:regio.chatI wonder whether we should revert the anubis bump until we can get a better grip on this10:24
@harbott.osism.tech:regio.chatit would also be interesting if someone can confirm whether the container was already unhealthy before the bump10:25
@mnasiadka:matrix.orgJens Harbott: I think https://review.opendev.org/c/opendev/system-config/+/983318 could help - we end up having LB address as x_real_ip and that's causing issues12:22
@mnasiadka:matrix.orgOr maybe it would only improve our logging12:27
-@gerrit:opendev.org- Michal Nasiadka proposed: [opendev/system-config] 999965: gitea: Fix healthcheck port https://review.opendev.org/c/opendev/system-config/+/99996512:38
@mnasiadka:matrix.org^^ that will fix the healthchecks12:39
@fungicide:matrix.orgmnasiadka: 999912 moved it into a metrics.bind setting in botPolicy.yaml, are you saying that won't work? do we need to remove it again there too, or do we need it set in both places?14:03
@mnasiadka:matrix.orgfungi: anubis —healthcheck does not read config, just env var - don’t ask me why…14:07
@fungicide:matrix.orgoh gotcha. i was just wondering if there's any point in keeping it set in botPolicy.yaml in that case, but i guess it's worth a shot14:09
@mnasiadka:matrix.orgWell, default was 9090 or something like that, it’s listening mow on 15000 because of yaml, but not using it for checks14:15
@fungicide:matrix.orgi see, so the env setting was used both by anubis service to decide what port to listen on and by the check cli to decide what port to connect to, but the service optionally also uses the bot policy to decide its listening port?14:20
@clarkb:matrix.orgThe docs say the env option is deprecated and you should use the yaml which is why I moved it. But I guess the check command hasn't been updated yet14:43
@clarkb:matrix.orgIs the issue with blocking requests from UAs without explicit challenge rules still happening?14:44
@clarkb:matrix.orgAs a side note I do not consider it to be critical to fix this because our own CI jobs are affected. Those should be using zuul cached git checkouts instead. But clearly fixing this for everyone else is a good idea 14:45
@clarkb:matrix.orgBut the updated ruleset explicitly allows git so is that not fixed with the change?14:45
@clarkb:matrix.org> <@harbott.osism.tech:regio.chat> it would also be interesting if someone can confirm whether the container was already unhealthy before the bump14:47
No I think 1.26 broke the interpretation of the existing metric bind config so it tried to connect to http://localhost[::1]:15000 which is invalid. I think it worked on 1.25
@clarkb:matrix.orgIs it the case that git is working now, but other non js capable clients like pip and requests etc are still failing?14:51
@harbott.osism.tech:regio.chatto me this looks like a git binary invocation that is still failing: https://zuul.opendev.org/t/openstack/build/0cc5a680f1864fe19a68c7a278cb6e4e14:56
```
[ERROR]: Failed to clone a Git repository from `https://opendev.org/openstack/ansible-collection-kolla`: Command '['/usr/bin/git', 'clone', 'https://opendev.org/openstack/ansible-collection-kolla', '/home/zuul/.ansible/tmp/ansible-local-3414lmhi5_8t/tmpse98o48q/ansible-collection-kollacepngx6g']' returned non-zero exit status 128.
```
@clarkb:matrix.orgOk so it's like we're back to wondering if our custom config is being completely ignored and we're using the default14:59
@clarkb:matrix.orgApparently if you start anubis with debug level logging it may tell you about config problems. Maybe we need to do that to see if it is falling back for some reason15:00
@clarkb:matrix.orgI've pulled gitea09 out of the load balancer and will restart anubis there with debug logging and the metrics bind fix15:10
@clarkb:matrix.org`"loading policy file","fname":"/data/cfg/botPolicy.yaml"`15:11
@fungicide:matrix.orgthat's what we set as $POLICY_FNAME in the env and map as a volume into the container, at least15:13
@clarkb:matrix.orgyup and our config is very straightforward and should explicitly allow git clients15:14
@clarkb:matrix.orgbut that is why we zeroed in on the honeypot last night because it appears to have weight based handling for things regardless of the bot config15:15
@clarkb:matrix.orgbut disabling the honeypot hasn't made things better15:15
@clarkb:matrix.orgI'm going to put gitea09 in the rotation now and see if debug logging helps with requests coming in15:16
@clarkb:matrix.orgwith debug logging I can see it say `"check_result":{"name":"default/allow","rule":"ALLOW"` for git clients which matches my understanding of our ruleset15:20
@gtema:matrix.orgare you guys now playing with anubis configuration? I get random failures in jobs with cryptic errors during pip installing packages from opendev: "raise InvalidMarker(\npip._vendor.packaging.markers.InvalidMarker: Invalid marker: 're not a bot!</title><link rel=\"stylesheet\" href=\"/.within.website/x/xess/xess.min.css?cachebuster=v1.26.2\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><meta name=\"robots\" content=\"noindex,nofollow\"><style>', parse error at 're not a'\n","15:22
@clarkb:matrix.orgpart of me wonders if fixing the metrics bind config fixes config in geneal and we stop falling back15:22
@fungicide:matrix.orggtema: after an upgrade from 1.25 to 1.26 some behavior changed and we're trying to iron them out15:23
@gtema:matrix.orgok, thanks for explanation15:23
@clarkb:matrix.orggtema: yes, but that is due to the errors you're seeing not causing them15:27
@clarkb:matrix.orgor at least not causing them any worse. We upgrade anubis yesterday and it appears to have started acting in ways that are not aligned iwth the expected config15:27
@clarkb:matrix.orgwe're trying to sort that out15:27
@gtema:matrix.orggood, looking forward, since landing changes in some repos is now literally impossible. Thanks for taking care15:28
@fungicide:matrix.orgjust a reminder that you can configure zuul to provide you with git checkouts, and that will even make depends-on between repositories viable. doing a pip install of a repository over the network is not as efficient15:29
@clarkb:matrix.orgright this shouldn't be preventing you from merging any code within our systems15:30
@clarkb:matrix.orgits definitely a problem but if it is causing that problem your jobs are argbuably buggy15:31
@gtema:matrix.organd even the pep8 job is failing which is using pre-commit to install hacking, but that is a completely different style 15:32
@clarkb:matrix.orgyes and I've said for tyaers that pre commit should be deleted for this very reason15:32
@gtema:matrix.orgfungi, I even do it this way, but it still fails every time on different place15:32
@clarkb:matrix.orgits entire installation system is bad/broken/confusing/terrible15:33
@clarkb:matrix.organd completely undermines CI systems like ours15:33
@fungicide:matrix.orgshouldn't precommit should be installing releases of hacking from pypi, not via git?15:34
@gtema:matrix.orgamen - I am extraordinary frustrated myself from the setup we have in some areas and how much unnecessary effort is required to do a simple thing15:34
@gtema:matrix.orgfungi: at least in keystone it is now: ```  - repo: https://opendev.org/openstack/hacking```15:34
@clarkb:matrix.orglooks like gitea14 was not updated overnight15:35
@fungicide:matrix.orgi wonder why it was configured to do that15:35
@clarkb:matrix.organubis is still 21 hours old there15:35
@clarkb:matrix.orgfungi: gtema beacuse pre commit does not know how to install from pip without jumping through a bunch of undocumented hoops15:35
@clarkb:matrix.orgits the design of the tool15:35
@clarkb:matrix.orgso now I'm wondering if the errors we've seen overnight are due to clients hitting gitea1415:35
@clarkb:matrix.orgI'm going to fix the metrics by hand there and restart anubis on gitea14. At that point metrics and config will be updated/fixed on all the backends15:36
@fungicide:matrix.orgoh, because we rolled out a newer configuration but anubis didn't get restarted?15:36
@clarkb:matrix.orgso far in monitoring logs after doing that I haven't seen any obvious errors from git/curl/pip etc `tail -f /var/log/containers/docker-anubis.log | grep -v Mozilla`15:36
@clarkb:matrix.orgfungi: yes Jens Harbott manually restarted things but maybe missed this one15:36
@clarkb:matrix.orgThat is done. I think my operating assumption now is that our updates (possibly includign the fix for the metrics bind) do improve things, but due to incomplete rollout we were still getting some errors15:38
@clarkb:matrix.orgwe should monitor now for any new errors after 15:38UTC15:38
@fungicide:matrix.orgwho has/had a viable reproducer for pip install or git fetch failures? can we get them to retry and confirm it's clear now?15:38
@gtema:matrix.orgI started recheck in one of the changes (https://review.opendev.org/c/openstack/codegenerator/+/999979) that was struggling a lot15:40
@clarkb:matrix.orgload balancer reports all 6 up for http and https15:40
@fungicide:matrix.orgfwiw, postorius/hyperkitty on the lists01 sites seem to be working fine with newer anubis so far15:46
@fungicide:matrix.orgbut it's also not behind haproxy or anything complicated15:47
@clarkb:matrix.orgyes I think it is still likely that this is an annoying interaction between being behind the single IP load balancer and the honeypot15:47
@clarkb:matrix.orgthose two don't have the load balancer so the honeypot is probably fine for them15:47
-@gerrit:opendev.org- Roja Eswaran proposed: [openstack/diskimage-builder] 999989: debootstrap: add DIB_MMDEBSTRAP_EXTRA_ARGS support https://review.opendev.org/c/openstack/diskimage-builder/+/99998915:49
@mnasiadka:matrix.orgClark: shouldn't we think about merging the PROXY protocol patch? It would at least give us more visibility into the real ip and we could reenable honeypot?16:01
@fungicide:matrix.orgyes, i think that's next in line once we have the other config change deployed16:03
@clarkb:matrix.orgI want to recheck it and look at its logs as soon as the metrics fix is in. This way we can confirm (or not) that anubis 1.26 with the running config sees the upstream client IP properly16:04
@clarkb:matrix.orgwe should have a change to fix the metrics/healthcheck for lists too16:06
-@gerrit:opendev.org- Zuul merged on behalf of Michal Nasiadka: [opendev/system-config] 999965: gitea: Fix healthcheck port https://review.opendev.org/c/opendev/system-config/+/99996516:07
@clarkb:matrix.orghttps://review.opendev.org/c/opendev/system-config/+/983318 has been rechecked16:08
@clarkb:matrix.orgupstream gerrit confirms that we should create stable branches for the zuul-results-summary plugin and suggests I can do that myself somehow. So I'll look at that I guess16:09
@mnasiadka:matrix.orgNice that Anubis has a metrics endpoint, we can scrape it with Prometheus in the future16:10
@clarkb:matrix.orghttps://gerrit.googlesource.com/plugins/zuul-results-summary/ stable-3.13 and stable-3.14 exist now. I'll push an update to our gerrit 3.13.8 upgrade change now16:13
-@gerrit:opendev.org- Clark Boylan proposed: [opendev/system-config] 994938: Update Gerrit images to 3.13.8 and 3.14.2 https://review.opendev.org/c/opendev/system-config/+/99493816:16
@clarkb:matrix.orgbased on my skimming of zuul job failures and anubis log greps I think things are looking happier so far16:19
@clarkb:matrix.orgI see two denials due to requests coming from cloudflare workers that are expected. I don't see any other non browser requets getting logged/challenged yet16:19
@gtema:matrix.orgI can confirm, my change which was heavily failing above is happy16:19
@clarkb:matrix.orgpip is complaining about short reads from the mirrors (which should be unrelated no anubis involved there)16:22
@fungicide:matrix.orgyes, our "mirrors" (caching proxies) for pypi aren't using anubis in any way16:23
@mnasiadka:matrix.orgDuring the day I had multiple cases of some weird Anubis loop, where it wanted me to attest I'm a human for every URL I was going through one by one (and once it didn't even show a progress bar) - but hopefully with the PROXY change we can easier debug such problems16:23
@fungicide:matrix.orgi've gotten the missing progress bar before too, i think it's an incomplete load or the browser fails to connect back to fetch something16:24
@fungicide:matrix.orga refresh has always fixed it for me when i do hit that16:24
@clarkb:matrix.organd unclear if that is an upstream pypi problem or something on our end. Not sure I'll dig into that right now given the other stuff I'm looking at16:25
@clarkb:matrix.orgthe anubis situation continues to look stable and happy. I'm going to pop out now and do morning things that I skipped earlier. I'll followup on the PROXY protocol change once its recheck is done and make sure that gerrit image builds look happy after my stable branch creation and update to the change to use the stable branch for the plugin.16:41
@fungicide:matrix.orgthanks!16:42
@clarkb:matrix.orgsomneone else may want to look at the pip short reads if they persist16:43
@clarkb:matrix.orghttps://status.python.org/ indicates things are operating normally but does show some spikes in CDN file error rate (maybe related?)16:44
@mnaser:matrix.orgyes just another note for the stuck / missing progresss bar fixed by a refresh here :)16:44
@clarkb:matrix.orgI haev a meeting but I notice that the pip short reads look like they may be coming from our whl cache and not the pypi mirror17:59
@clarkb:matrix.orgfor example https://zuul.opendev.org/t/openstack/build/546b5bd404f7477c94ffd949a74d8448 appears to say it is downloading a docker wheel which does not exist on pypi: https://pypi.org/project/docker/6.1.3/#files17:59
@clarkb:matrix.orgso maybe there is a problem with afs in general or with a specific mirror node?17:59
@clarkb:matrix.org`[Thu Aug  6 13:45:41 2026] afs: disk cache read error in CacheItems slot ......` and `[Thu Aug  6 13:45:41 2026] afs: Error while alloc'ing cache slot for file ....` so ya something with that mirror I think18:03
@clarkb:matrix.orgthat is from dmesg -T18:03
@fungicide:matrix.orgwhich server?18:05
@clarkb:matrix.org* that is from dmesg -T on mirror.dfw.rax18:05
@clarkb:matrix.orgsorry I've been having matrix issues with half my messages not going thourhg. I edited my previous message to indicate that was mirror.dfw.rax which is where my example link aboev failed18:06
@fungicide:matrix.orgoh neat, i just happened to have picked that one to look at dmesg on too18:07
@fungicide:matrix.orgso looks like it might be a local problem with the cache on that one server, i don't see similar errors on other mirrors18:10
@fungicide:matrix.orgmight be worth rebooting that server to see if the i/o error clears18:13
@clarkb:matrix.orgshould we disable the region in opendev/zuul-providers first?18:14
@fungicide:matrix.orgthough there weren't similar errors for `/dev/xvdb1` which is the underlying block device serving as a pv18:14
@clarkb:matrix.orga reboot will definitely be noticed by jobs18:14
@clarkb:matrix.orgwhereas its unclear if this is a 100% failure state right now with the cache errors18:14
@fungicide:matrix.orgyeah, we can pause this region. does zuul-launcher have that option via cli/rpc or was that only in nodepool?18:15
@clarkb:matrix.orgI think I've only ever done it via config updates18:15
@clarkb:matrix.orgwhich apply immediately now unlike nodepool which needed to have a deployment pass18:16
@fungicide:matrix.orgthat's a good point18:16
@fungicide:matrix.orgjust set `instances: 0` for now, or is there a pause feature for the config we haven't used yet? not finding one in zuul docs if it exists18:19
@clarkb:matrix.orgyes just set the limit to 0. Ie60d558cc1ee9bfd0f18b54ed8fd32053a014aa4 is an example18:19
-@gerrit:opendev.org- Jeremy Stanley https://matrix.to/#/@fungicide:matrix.org proposed: [opendev/zuul-providers] 1000022: Temporarily disable rax-dfw https://review.opendev.org/c/opendev/zuul-providers/+/100002218:20
-@gerrit:opendev.org- Zuul merged on behalf of Jeremy Stanley https://matrix.to/#/@fungicide:matrix.org: [opendev/zuul-providers] 1000022: Temporarily disable rax-dfw https://review.opendev.org/c/opendev/zuul-providers/+/100002218:25
@clarkb:matrix.orglooking at https://zuul.opendev.org/t/openstack/build/ea9e6228e92c4cf6a05e5e68d24d8cb8/log/gitea99.opendev.org/containers/docker-anubis.log I think the real ip there is properly being recorded with PROXY protocl in place (the first set of requests are from some random crawler on the internet and the last few are from our tests which originate from 127.0.0.1)18:33
@fungicide:matrix.orgso apache gets it from haproxy via proxy protocol (outside tls encryption), then apache terminates the encryption and conveys the information via x-forwarded-for to anubis i guess?18:37
@clarkb:matrix.orgyes I think so18:48
@clarkb:matrix.orgok I +1'd https://review.opendev.org/c/opendev/system-config/+/983318 and didn't +2 it because I wrote some of the original change. Though at this point Anil Belur figured most of it out. I did leave a comment about some deployment impact concerns we should be aware of for others who review it18:54
@clarkb:matrix.orgI think the gerrit image builds are working now too18:54
@clarkb:matrix.orgso I think fixing rax dfw's mirror is item 0, then we can consider if we want to proceed with gerrit upgrades or deploying proxy protocol support to gitea's load balancer setup. Then I haev a bunch of changes I've promised people I would review so need to go look at those after lunch19:00
@clarkb:matrix.orgfungi: were you going to reboot mirror.dfw.rax?19:09
@clarkb:matrix.orgok lunch now. I'll check back in a bit19:11
@fungicide:matrix.orgi was going to wait until jobs there had trailed off... checking now19:12
@clarkb:matrix.orgoh ya I guess we could still have jobs running on nodes from there19:12
@clarkb:matrix.orgits only the new launches we stopped19:12
@fungicide:matrix.orghttps://grafana.opendev.org/d/fd44466e7f/zuul-launcher3a-rackspace?orgId=1&from=now-24h&to=now&timezone=utc&var-region=$__all shows it trailing off19:13
@fungicide:matrix.orgdown to 1719:14
@fungicide:matrix.orgrather 1419:14
@fungicide:matrix.orgthey're probably mostly past the point where they would be fetching things from the mirror, but i'll give it a little longer19:14
@fungicide:matrix.orgcorvus: i don't suppose you recall what led to our gerrit change #1 being created about 10 months after change 1000?19:46
@fungicide:matrix.orgsome brief configuration error? gerrit bug?19:46
@fungicide:matrix.orgoh! the date in gerrit is wrong19:47
@fungicide:matrix.orgthe actual git commit was created 2011-07-1819:47
@fungicide:matrix.orggrafana says we're down to 3 nodes in use for rax-dfw so i'll go ahead and reboot the mirror server there now20:00
@fungicide:matrix.orgunrelated, looks like the gerrit upgrade change is working again20:02
@fungicide:matrix.orgokay, mirror03.dfw.rax is online again if anyone wants to retry the previously failing path20:03
-@gerrit:opendev.org- Jeremy Stanley https://matrix.to/#/@fungicide:matrix.org proposed: [opendev/zuul-providers] 1000037: Revert "Temporarily disable rax-dfw" https://review.opendev.org/c/opendev/zuul-providers/+/100003720:04
@clarkb:matrix.orgfungi: I'm not sure we had an easy reproducer because pip doesn't actually tell you what specific request short read20:06
@clarkb:matrix.orgbut I was able to download a wheel from the mirror cache just now and I think it worked20:06
@clarkb:matrix.orgI +2'd the restoration change and if we can't come up with a better test I guess we let zuul find out20:07
@fungicide:matrix.orgwfm, thanks!20:07
@clarkb:matrix.orgyup I created stable-3.13 and stable-3.14 branches on the plugin after davido confirmed that was the correct solution. Then updated the change to pull those versions in our builds20:09
@clarkb:matrix.orgfungi: should I go ahead and approve 1000037 then?20:13
@fungicide:matrix.orgyeah, sounds good to me20:21
@clarkb:matrix.orgAnil Belur: responded on the nftables change. I think your plan sounds good to me and I tried to answer your questions. Let me know if there are other questions or concerns20:22
@fungicide:matrix.orgi'm going to have to adjust my gertty config to accommodate an extra digit in the change number column now20:22
-@gerrit:opendev.org- Zuul merged on behalf of Jeremy Stanley https://matrix.to/#/@fungicide:matrix.org: [opendev/zuul-providers] 1000037: Revert "Temporarily disable rax-dfw" https://review.opendev.org/c/opendev/zuul-providers/+/100003720:22
@clarkb:matrix.orgfwiw I continue to see happy anubis logs20:25
@fungicide:matrix.orgi ended up shimming anubis onto one of my aging servers that hosts some gitweb, a moinmoin wiki, roundcube webmail...20:28
@fungicide:matrix.orgthough i went with v1.27.0-pre3 since it's not critical20:29
@fungicide:matrix.orgworked pretty well, the main catch was i had to fiddle with uwsgi processes that were expecting to see they were served via https and weren't any longer due to the additional vhost layer/proxy20:30
@clarkb:matrix.orgfungi: https://zuul.opendev.org/t/openstack/build/d52be960b0b34ee1ab20bc5cf0bebb3f I don't think the reboot fixed the mirror20:38
@clarkb:matrix.orghowever dmesg doesn't report new cache errors20:38
@fungicide:matrix.orgpossible those were unrelated20:39
@fungicide:matrix.orgthough is it only failing in rax-dfw?20:39
@clarkb:matrix.org`AH00052: child pid 1890 exit signal Segmentation fault (11)`20:39
@clarkb:matrix.orgyes the problem is specific to that mirror20:40
@fungicide:matrix.orgmaybe we need to flush the cache there somehow20:40
@clarkb:matrix.org`(28)No space left on device:`20:40
@fungicide:matrix.orgd'oh!20:40
@clarkb:matrix.orgI think the issue is the apache cache not the openafs cache20:40
@clarkb:matrix.orgits full (so pruning isn't going quickly enough?) and that leads to segfaults maybe when the apache process tries to write and it cannot?20:41
@fungicide:matrix.org/dev/mapper/main-apache2  126G  126G   16K 100% /var/cache/apache220:41
@clarkb:matrix.orgthe htcacheclean runs hourly starting at X:0020:42
@fungicide:matrix.orgyeah, it's been going for about 40 minutes20:42
@clarkb:matrix.orgso maybe we take the at server back out of service and see how much disk it frees when it run in ~18 minutes?20:42
@clarkb:matrix.orgfungi: no thats a different one20:42
@clarkb:matrix.orgthat one is for the default cache not the one we set up for mirror caching20:42
@fungicide:matrix.orgah!20:42
@clarkb:matrix.orgthe one for mirror caching can be seen via crontab -l and isn't running yet20:42
@fungicide:matrix.orgyeah i guess i rebooted it right at the top of the hour and that got missed20:43
@fungicide:matrix.orgso it's probably an hour behind now20:43
@clarkb:matrix.orgya though this seems likely the original issue too20:44
@fungicide:matrix.orgquite likely, yes20:44
@clarkb:matrix.orgsince the behavior hasn't changed on the client side. But could be two different problems i suppose20:44
@fungicide:matrix.orgi can manuallt start a more aggressive htcacheclean in a root screen session20:44
@clarkb:matrix.org++20:44
@clarkb:matrix.orgdo you want me to propose a change ot take the region back out of service? or leave it in in hopes the cleanup gives us room?20:45
@fungicide:matrix.orgi'm hoping starting htcacheclean now frees up enough to get it to stop erroring20:45
@clarkb:matrix.orgack20:45
@fungicide:matrix.orgi have it running set to a target of 30000M instead of 60000M20:46
@clarkb:matrix.orgwe're up to 60k of free disk now too :P20:46
@clarkb:matrix.orgwe might be too far behind for this to catch up while things are running seems to bounce around between 8k and 100k or so free20:47
@clarkb:matrix.orgI'll give it a few minutes. If we're still under 1M free space I'll push a change to disable the region again20:50
@fungicide:matrix.orgyeah, i'm good with that20:51
@fungicide:matrix.orgonce htcacheclean falls behind, it becomes sisyphean20:52
-@gerrit:opendev.org- Clark Boylan proposed: [opendev/zuul-providers] 1000040: Disable rax-dfw again due to continued mirror issues https://review.opendev.org/c/opendev/zuul-providers/+/100004020:55
@clarkb:matrix.org52k at last check so I pushed ^20:55
@clarkb:matrix.orgfungi: do you want to approve that or should I just hit the button?20:55
@fungicide:matrix.orgdone20:55
-@gerrit:opendev.org- Zuul merged on behalf of Clark Boylan: [opendev/zuul-providers] 1000040: Disable rax-dfw again due to continued mirror issues https://review.opendev.org/c/opendev/zuul-providers/+/100004020:56
@clarkb:matrix.orgEric Ball: left a note on https://review.opendev.org/c/opendev/system-config/+/996553 I think it would be good to split that change up into multiple changes so that we don't update everything all at once and potentially have a bunch of broken services at the same time21:04
@clarkb:matrix.orgmy comment on that change has a suggested break down21:05
@clarkb:matrix.orgfungi: we have 88GB free on that server now and I think your htcacheclean run completed. Should we rerun it one more time to see if it is near steady state?21:07
@clarkb:matrix.orgthen we can probably reenable the server21:07
@fungicide:matrix.orgyeah, it looks done21:07
@fungicide:matrix.orgi'm going to rerun it again quickly though21:07
@fungicide:matrix.orgit was running while things were still being added21:08
@fungicide:matrix.orgonce this run gets it down to 30gb of cached data we can merge the revert21:08
@fungicide:matrix.organd then keep an eye on it for a bit to see how fast it grows21:09
@clarkb:matrix.org++21:09
@fungicide:matrix.organd in theory the 22z cronjob will knock it back down if it gets above 60gb21:09
@fungicide:matrix.orgokay it completed and got utilization down to 34gb according to `df -h` which i guess is as good as it gets21:13
@fungicide:matrix.orgis there a revert up already?21:13
@clarkb:matrix.orgno revert yet21:15
-@gerrit:opendev.org- Clark Boylan proposed: [opendev/zuul-providers] 1000044: Revert "Disable rax-dfw again due to continued mirror issues" https://review.opendev.org/c/opendev/zuul-providers/+/100004421:15
@clarkb:matrix.orgthere just pushed one21:15
-@gerrit:opendev.org- Zuul merged on behalf of Clark Boylan: [opendev/zuul-providers] 1000044: Revert "Disable rax-dfw again due to continued mirror issues" https://review.opendev.org/c/opendev/zuul-providers/+/100004421:18
@clarkb:matrix.orgup to 52GB disk used21:39
@fungicide:matrix.orgyeah, i've got `watch -n60 df -h /var/cache/apache2` running in a terminal21:41
@fungicide:matrix.orgcurious to see if it self-corrects at the top of the hour or starts to get behind again21:41
@clarkb:matrix.orglooks like cache cleaning should start with about 79Gb of cache disk used21:59
@clarkb:matrix.orgmaybe even 80GB21:59
@fungicide:matrix.orgyeah, it's up to 82 now22:01
@clarkb:matrix.orgI think htcacheclean does a data gathering sweep then a cleanup sweep though so probably can't say much about its ability to keep up until its done?22:02
@fungicide:matrix.orgright22:02
@fungicide:matrix.orgalready up to 84gb used22:02
@clarkb:matrix.orglooks like it is done running and we're at 69GB22:09
@clarkb:matrix.orgI wonder how close to the limit that puts us at 2300 UTC22:10
@clarkb:matrix.orgit is possible we may need to run the cleanup more often?22:10
@fungicide:matrix.orgmaybe. we're up to 75gb used again already22:14
@fungicide:matrix.orgon a positive note, it seems like it's probably an accumulation of a few large files rather than numerous small ones, so htcacheclean is completing relatively quickly22:14
@fungicide:matrix.orgthe real problem is when we get into situations where it takes htcacheclean so long to complete that it can never catch up22:15
@clarkb:matrix.orgfungi: looks like it is full right now22:55
@clarkb:matrix.orgso it iddn't make it the hour22:55
@clarkb:matrix.orgit is curious that other mirrors don't seem to hae the same issue. Maybe that is just chance/luck?22:56
@clarkb:matrix.orgbut I guess we should disable the region again then maybe run the cron job more aggressively?22:56
-@gerrit:opendev.org- Clark Boylan proposed: [opendev/system-config] 1000055: Run apache cache cleanups more often https://review.opendev.org/c/opendev/system-config/+/100005522:59
@fungicide:matrix.orgit's probably somewhat relative to the region quota23:00
-@gerrit:opendev.org- Clark Boylan proposed: [opendev/zuul-providers] 1000057: Reapply "Disable rax-dfw again due to continued mirror issues" https://review.opendev.org/c/opendev/zuul-providers/+/100005723:00
@clarkb:matrix.orgfirst change is the run it more often idea and second one disables the region until it is under control23:01
@clarkb:matrix.orgfungi: I wonder too if someone is running a job that causes us to cache several 30GB objects too23:05
@clarkb:matrix.organyway I will approve 1000057 shortly if I don't hear any other feedback23:05
-@gerrit:opendev.org- Zuul merged on behalf of Clark Boylan: [opendev/zuul-providers] 1000057: Reapply "Disable rax-dfw again due to continued mirror issues" https://review.opendev.org/c/opendev/zuul-providers/+/100005723:07
@fungicide:matrix.orgi need to step away for the evening, but will check on this again first thing tomorrow before my meetings23:10
@clarkb:matrix.orgthanks. I too am running out of steam after what felt like an early start today (it wasn't that early; I'll blame jetlag)23:12

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