python / buildmaster-config

Configuration for buildbot.python.org
https://buildbot.python.org/all/#/
30 stars 55 forks source link

invalid login from unknown user 'gps-arm64-debian' #502

Closed vstinner closed 1 month ago

vstinner commented 1 month ago

The "gps-arm64-debian" builder was removed by commit 7bc844ede3c962258ad68c886d6df1907035c51b. But it still tries to connect time to time:

2024-07-14 08:49:23+0000 [Broker,10859,34.27.63.177] invalid login from unknown user 'gps-arm64-debian'
2024-07-14 08:49:23+0000 [Broker,10859,34.27.63.177] Peer will receive following PB traceback:
2024-07-14 08:49:23+0000 [Broker,10859,34.27.63.177] Unhandled Error
    Traceback (most recent call last):
      File "/srv/buildbot/venv/lib/python3.9/site-packages/twisted/cred/portal.py", line 144, in login
        return maybeDeferred(
      File "/srv/buildbot/venv/lib/python3.9/site-packages/twisted/internet/defer.py", line 212, in maybeDeferred
        result = f(*args, **kwargs)
      File "/srv/buildbot/venv/lib/python3.9/site-packages/twisted/internet/defer.py", line 2260, in unwindGenerator
        return _cancellableInlineCallbacks(gen)
      File "/srv/buildbot/venv/lib/python3.9/site-packages/twisted/internet/defer.py", line 2172, in _cancellableInlineCallbacks
        _inlineCallbacks(None, gen, status, _copy_context())
    --- <exception caught here> ---
      File "/srv/buildbot/venv/lib/python3.9/site-packages/twisted/internet/defer.py", line 2003, in _inlineCallbacks
        result = context.run(gen.send, result)
      File "/srv/buildbot/venv/lib/python3.9/site-packages/buildbot/worker/protocols/manager/pb.py", line 83, in requestAvatarId
        raise error.UnauthorizedLogin()
    twisted.cred.error.UnauthorizedLogin: 

cc @gpshead

vstinner commented 1 month ago

There are 3 "unknown users":

$ grep 'invalid login from unknown user' master/twistd.log|sed 's!.*] !!g'|sort -u
invalid login from unknown user 'gps-arm64-debian'
invalid login from unknown user 'gps-clang-ubsan'
invalid login from unknown user 'gps-debian-profile-opt'
gpshead commented 1 month ago

That means those virtual machines hosted by my former employer are still running.

I think Thomas Wouters (cc'd) has access to them via the "CPython Buildbots" project on his cloud.google.com console on his corp account and can shut them down and delete them.

-gps

On Sun, Jul 14, 2024 at 1:53 AM Victor Stinner @.***> wrote:

There are 3 "unknown users":

$ grep 'invalid login from unknown user' master/twistd.log|sed 's!.*] !!g'|sort -u invalid login from unknown user 'gps-arm64-debian' invalid login from unknown user 'gps-clang-ubsan' invalid login from unknown user 'gps-debian-profile-opt'

— Reply to this email directly, view it on GitHub https://github.com/python/buildmaster-config/issues/502#issuecomment-2227270604, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAQXC6MKOI2WEM6K6BAVUDZMI375AVCNFSM6AAAAABK3ACRU2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXGI3TANRQGQ . You are receiving this because you were mentioned.Message ID: @.***>

zware commented 1 month ago

Theoretically, I've fixed this by re-adding the workers and then doing a 'Force Shutdown' from https://buildbot.python.org/#/workers/106 (also 107 and 108), then removing them again. @Yhg1s may still want to actually shut them down, but they should stop trying to reconnect unless they get automatically restarted by some of their own configuration.

Yhg1s commented 2 weeks ago

On Sun, Jul 28, 2024 at 12:00 AM Zachary Ware @.***> wrote:

Theoretically, I've fixed this by re-adding the workers and then doing a 'Force Shutdown' from https://buildbot.python.org/#/workers/106 (also 107 and 108), then removing them again. @Yhg1s https://github.com/Yhg1s may still want to actually shut them down, but they should stop trying to reconnect unless they get automatically restarted by some of their own configuration.

I think I finally managed to shut these down, so :fingers crossed: they should no longer be a problem.

— Reply to this email directly, view it on GitHub https://github.com/python/buildmaster-config/issues/502#issuecomment-2254264658, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6EJOGHDS22E32NKHEQ7G3ZOQKBLAVCNFSM6AAAAABK3ACRU2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGI3DINRVHA . You are receiving this because you were mentioned.Message ID: @.***>

-- Thomas Wouters @.***>