Issue:
The jobrunner06 in Beta is not being restarted and it doesn't pick the new code properly after code releases.
Context:
I was testing something new in /extensions/WikimediaCustomizations/ and I was getting all the time this error:
No such service: WikimediaCustomizations.PageviewTrendingRelativeStore
Which is the new service that is supposed to be there. I checked the code in the jobrunner06 and the code is there.
so, I triggered the code manually with a curl:
curl -i -H 'Host: en.wikipedia.beta.wmcloud.org' -H 'Content-Type: application/json' --data-binary @event.json http://deployment-jobrunner06.deployment-prep.eqiad1.wikimedia.cloud:9006/rpc/RunSingleJob.php
And it fails with the above error, with 500.
But if I do the same curl to the jobrunner05 it works properly and it returns 200.
With some debugging help from Claude, it turns out that the log https://beta-update.wmcloud.org/202609171400.log shows 6 runners, but only 5 are being restarted. (Running '/usr/local/sbin/restart-php-fpm-all' on 5 host(s))
Ahmon Dancy helped on Slack and found that https://horizon.wikimedia.org/project/puppet/ on deployment-prep projects shows:
jobrunner:
hosts:
- deployment-jobrunner05.deployment-prep.eqiad1.wikimedia.cloudSo it looks like the jobrunner06 is not being restarted after code changes. This can lead to issues where new code is not taken by the application.
The main question is: Is this an error or designed like this for any reason?