My guess is that you are seeing this because your jobs
are now running
on a new set of Cloud VPS instances (the Toolforge Buster grid engine
exec nodes) and these new instances have IP addresses that the wikis
have not seen you use before.
I see there are 10 exec nodes for Buster (tools-sgeexec-10-<n>) and my cron jobs
have been already running on every and each of them, producing around 40 login
notifications from a single wiki in the last 24 hours.
OAuth gets around this. If you login with OAuth,
those emails don’t happen at all.
The bot framework I use (wiki-java) does not support OAuth yet. I'm looking forward to
migrating to k8s soon, though. Perhaps this is not an issue on kubernetes nodes?
PB
Maximilian Doerr wrote:
> OAuth gets around this. If you login with OAuth, those emails don’t happen at all.
>
> Cyberpower678
> English Wikipedia Administrator
> English Wikipedia Interface Administrator
>
> > On Feb 16, 2022, at 11:49, Bryan Davis <bd808(a)wikimedia.org>
wrote:
> >
> > On Wed, Feb 16, 2022 at 5:43 AM Peter Bowman
<bwmn.peter(a)gmail.com> wrote:
> >>
> >> Hello. Yesterday, I started scheduling my cron jobs on the grid with the
> `--release buster` option (previously was defaulting to Stretch). I have gotten
dozens of
> "Someone (probably you) recently logged in to your account from a new
device"
> notifications since then. Can I do anything to stop this other than disable those
> notifications altogether?
> >
>
My guess is that you are seeing this because your jobs
are now running
> > on a new set of Cloud VPS instances (the Toolforge Buster grid engine
> > exec nodes) and these new instances have IP addresses that the wikis
> > have not seen you use before. I would expect the alerts to stop once
> > your jobs have been scheduled and executed from each of the available
> > Buster exec nodes.
> >
> > I am not aware of any way to preemptively tell MediaWiki something
> > like "I expect my account to connect from this range of IPs", but
> > maybe someone else knows a trick?
> >
> > Bryan
> > --
> > Bryan Davis Technical Engagement Wikimedia Foundation
> > Principal Software Engineer Boise, ID USA
> > [[m:User:BDavis_(WMF)]] irc: bd808
> > _______________________________________________
> > Cloud mailing list --
cloud(a)lists.wikimedia.org
> > List information:
>
https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/