Page MenuHomePhabricator

BituComponent
ActivePublic

Details

Description

Identity management service to centralize account creation/settings, access groups for Wikimedia Developer accounts.

See https://wikitech.wikimedia.org/wiki/IDM

As of 2023, stewarded by Infrastructure-Foundations

Recent Activity

Mon, Aug 19

joanna_borun removed a project from T372345: Find or create .deb package for mwclient 0.11.0 (or mwclient 0.10.0 with writeapi dependency removed): Infrastructure-Foundations.
Mon, Aug 19, 2:31 PM · Cloud-VPS, Bitu
joanna_borun removed a project from T371977: Removal of writeapi from siteinfo output breaks all mwclient-based bots, including stashbot (Server Admin Log): Infrastructure-Foundations.
Mon, Aug 19, 2:26 PM · Bitu, MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), Cloud-VPS, Striker, Tool-schedule-deployment, Tool-gitlab-account-approval, Tool-phab-ban, Stashbot, MediaWiki-Action-API
gerritbot added a comment to T359820: Developer Account Blocking: Migrate the one-stop Developer (un)Blocking from Wikitech to Bitu.

Change #1060092 merged by jenkins-bot:

[operations/software/bitu@master] Wikimedia: New management command for blocking users in systems.

https://gerrit.wikimedia.org/r/1060092

Mon, Aug 19, 9:56 AM · Patch-For-Review, Infrastructure-Foundations, Bitu
SLyngshede-WMF closed T372581: Can't activate my new key using the idm.wikimedia.org (bitu) interface as Resolved.

Thank you for reporting. I think I have some idea as to why the key updated failed, so I'll try to add a test case and see if we can replicate the problem and get it fixed.

Mon, Aug 19, 7:42 AM · Infrastructure-Foundations, Bitu
Meno25 added a comment to T372581: Can't activate my new key using the idm.wikimedia.org (bitu) interface.

@Meno25 I manually updated your SSH key to the eddsa-key-20240812, the old key has been removed. I've also deleted the cached copies found in Bitu (idm.wikimedia.org). The new key "should" import correctly next time you access the SSH key section there.

Please test if you can login to Toolforge.

Mon, Aug 19, 7:37 AM · Infrastructure-Foundations, Bitu
SLyngshede-WMF added a comment to T372581: Can't activate my new key using the idm.wikimedia.org (bitu) interface.

@Meno25 I manually updated your SSH key to the eddsa-key-20240812, the old key has been removed. I've also deleted the cached copies found in Bitu (idm.wikimedia.org). The new key "should" import correctly next time you access the SSH key section there.

Mon, Aug 19, 7:27 AM · Infrastructure-Foundations, Bitu
JJMC89 removed a project from T372581: Can't activate my new key using the idm.wikimedia.org (bitu) interface: Cloud-VPS.
Mon, Aug 19, 7:08 AM · Infrastructure-Foundations, Bitu
Meno25 added a comment to T372581: Can't activate my new key using the idm.wikimedia.org (bitu) interface.

Hi, could you do a quick test for me? We had another user with a similar issue, but have yet to receive feedback regarding the fix.

On https://idm-test.wikimedia.org there's a version where the SSH key management have been reworked to handle an issue that seems really similar to yours. Could you try to login there and see if you can activate your key?

Mon, Aug 19, 7:05 AM · Infrastructure-Foundations, Bitu
SLyngshede-WMF changed the status of T372581: Can't activate my new key using the idm.wikimedia.org (bitu) interface from Open to In Progress.

Hi, could you do a quick test for me? We had another user with a similar issue, but have yet to receive feedback regarding the fix.

Mon, Aug 19, 6:44 AM · Infrastructure-Foundations, Bitu
SLyngshede-WMF added a comment to T372581: Can't activate my new key using the idm.wikimedia.org (bitu) interface.

Thank you for a very good bug report, it's appreciated

Mon, Aug 19, 6:44 AM · Infrastructure-Foundations, Bitu
SLyngshede-WMF claimed T372247: Bitu captcha reload button reloads entire web page.
Mon, Aug 19, 6:17 AM · Bitu, Infrastructure-Foundations
Meno25 added a project to T372581: Can't activate my new key using the idm.wikimedia.org (bitu) interface: Cloud-VPS.
Mon, Aug 19, 5:47 AM · Infrastructure-Foundations, Bitu

Sun, Aug 18

Aklapper renamed T365936: operations/software/bitu shows zh-hans "文档" instead of zh-hant "文件" with Accept-Language zh-Hant-TW (fixed in Django 4) from operations/software/bitu shows zh-hans "文档" instead of zh-hant "文件" with Accept-Language zh-Hant-TW to operations/software/bitu shows zh-hans "文档" instead of zh-hant "文件" with Accept-Language zh-Hant-TW (fixed in Django 4).
Sun, Aug 18, 2:56 PM · Upstream, Infrastructure-Foundations, Bitu

Sat, Aug 17

taavi claimed T372345: Find or create .deb package for mwclient 0.11.0 (or mwclient 0.10.0 with writeapi dependency removed).

I've uploaded 0.11.0 to Debian unstable.

Sat, Aug 17, 5:31 AM · Cloud-VPS, Bitu

Thu, Aug 15

JJMC89 removed a project from T372581: Can't activate my new key using the idm.wikimedia.org (bitu) interface: Toolforge.
Thu, Aug 15, 5:31 PM · Infrastructure-Foundations, Bitu
Meno25 created T372581: Can't activate my new key using the idm.wikimedia.org (bitu) interface.
Thu, Aug 15, 5:30 PM · Infrastructure-Foundations, Bitu

Mon, Aug 12

bd808 created T372345: Find or create .deb package for mwclient 0.11.0 (or mwclient 0.10.0 with writeapi dependency removed).
Mon, Aug 12, 8:00 PM · Cloud-VPS, Bitu
AdamWill added a comment to T371977: Removal of writeapi from siteinfo output breaks all mwclient-based bots, including stashbot (Server Admin Log).

mwclient 0.11.0 is now released with this fixed on that side. It also comes with four years of other changes, so please test carefully before deploying :)

Mon, Aug 12, 5:49 PM · Bitu, MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), Cloud-VPS, Striker, Tool-schedule-deployment, Tool-gitlab-account-approval, Tool-phab-ban, Stashbot, MediaWiki-Action-API
Tgr added a comment to T371977: Removal of writeapi from siteinfo output breaks all mwclient-based bots, including stashbot (Server Admin Log).

To the comment on breaking-or-not siteinfo, please note that the AWB break (now fixed) was due to the flag removed from userinfo. That may come to the same thing; I don't know the internals.

Mon, Aug 12, 9:21 AM · Bitu, MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), Cloud-VPS, Striker, Tool-schedule-deployment, Tool-gitlab-account-approval, Tool-phab-ban, Stashbot, MediaWiki-Action-API
Tgr created T372247: Bitu captcha reload button reloads entire web page.
Mon, Aug 12, 8:37 AM · Bitu, Infrastructure-Foundations

Sat, Aug 10

taavi added a comment to T371977: Removal of writeapi from siteinfo output breaks all mwclient-based bots, including stashbot (Server Admin Log).

In "fun" news, the wmfkeystoneauth and Bitu usage of mwclient is via the python3-mwclient Debian package, so it looks like we will probably need to build and host a .deb for the updated library when it is available.

If we’re going to be reinstating the writeapi removal in production soon-ish, I would guess that other users of the Debian package would also want a fixed version of the library so they don’t get an error when talking to Wikimedia wikis? (Easier said than done, of course. And I don’t know how many third-party users the Debian package actually has – I couldn’t find any other packages depending on it, at least, though that might just be me operating apt wrong.)

Sat, Aug 10, 7:17 AM · Bitu, MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), Cloud-VPS, Striker, Tool-schedule-deployment, Tool-gitlab-account-approval, Tool-phab-ban, Stashbot, MediaWiki-Action-API

Fri, Aug 9

DavidBrooks added a comment to T371977: Removal of writeapi from siteinfo output breaks all mwclient-based bots, including stashbot (Server Admin Log).

To the comment on breaking-or-not siteinfo, please note that the AWB break (now fixed) was due to the flag removed from userinfo. That may come to the same thing; I don't know the internals.

Fri, Aug 9, 6:23 PM · Bitu, MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), Cloud-VPS, Striker, Tool-schedule-deployment, Tool-gitlab-account-approval, Tool-phab-ban, Stashbot, MediaWiki-Action-API
Tgr added a subtask for T371977: Removal of writeapi from siteinfo output breaks all mwclient-based bots, including stashbot (Server Admin Log): T294397: Drop writeapi MediaWiki right.
Fri, Aug 9, 1:16 PM · Bitu, MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), Cloud-VPS, Striker, Tool-schedule-deployment, Tool-gitlab-account-approval, Tool-phab-ban, Stashbot, MediaWiki-Action-API
Tgr removed a parent task for T371977: Removal of writeapi from siteinfo output breaks all mwclient-based bots, including stashbot (Server Admin Log): T294397: Drop writeapi MediaWiki right.
Fri, Aug 9, 1:16 PM · Bitu, MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), Cloud-VPS, Striker, Tool-schedule-deployment, Tool-gitlab-account-approval, Tool-phab-ban, Stashbot, MediaWiki-Action-API
AdamWill added a comment to T371977: Removal of writeapi from siteinfo output breaks all mwclient-based bots, including stashbot (Server Admin Log).

mwclient-side fix is merged and I intend to do a new mwclient release tomorrow, if nothing else comes up, and none of the other maintainers can think of a reason why not.

Fri, Aug 9, 1:12 PM · Bitu, MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), Cloud-VPS, Striker, Tool-schedule-deployment, Tool-gitlab-account-approval, Tool-phab-ban, Stashbot, MediaWiki-Action-API
Tgr added a comment to T371977: Removal of writeapi from siteinfo output breaks all mwclient-based bots, including stashbot (Server Admin Log).

I specifically amended https://gerrit.wikimedia.org/r/c/mediawiki/core/+/392542, which removed the "writeapi" feature to not break the stable API for "siteinfo", by leaving this behind as constant and non-deprecated boolean field.

Fri, Aug 9, 1:00 PM · Bitu, MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), Cloud-VPS, Striker, Tool-schedule-deployment, Tool-gitlab-account-approval, Tool-phab-ban, Stashbot, MediaWiki-Action-API

Thu, Aug 8

bd808 changed the subtype of T371977: Removal of writeapi from siteinfo output breaks all mwclient-based bots, including stashbot (Server Admin Log) from "Task" to "Bug Report".
Thu, Aug 8, 8:36 PM · Bitu, MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), Cloud-VPS, Striker, Tool-schedule-deployment, Tool-gitlab-account-approval, Tool-phab-ban, Stashbot, MediaWiki-Action-API
DavidBrooks added a comment to T371977: Removal of writeapi from siteinfo output breaks all mwclient-based bots, including stashbot (Server Admin Log).

The AWB breakage is specifically: format=xml&action=query with a body &meta=userinfo&uiprop=blockinfo%7chasmsg%7cgroups%7crights returns a rights element that no longer includes <r>writeapi</r> (English Wikipedia)

Thu, Aug 8, 6:16 PM · Bitu, MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), Cloud-VPS, Striker, Tool-schedule-deployment, Tool-gitlab-account-approval, Tool-phab-ban, Stashbot, MediaWiki-Action-API
bd808 moved T371977: Removal of writeapi from siteinfo output breaks all mwclient-based bots, including stashbot (Server Admin Log) from Backlog to Tracking bugs on the Tool-schedule-deployment board.
Thu, Aug 8, 4:32 PM · Bitu, MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), Cloud-VPS, Striker, Tool-schedule-deployment, Tool-gitlab-account-approval, Tool-phab-ban, Stashbot, MediaWiki-Action-API
Xover added a comment to T371977: Removal of writeapi from siteinfo output breaks all mwclient-based bots, including stashbot (Server Admin Log).

however, AutoWikiBrowser (AWB) also checks writeapi.

Eh… looking closer, it seems to check the writeapi right, not the siteinfo response member. So it’s not gonna be directly broken in the same way, I guess. Let’s untag them again.

Thu, Aug 8, 11:26 AM · Bitu, MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), Cloud-VPS, Striker, Tool-schedule-deployment, Tool-gitlab-account-approval, Tool-phab-ban, Stashbot, MediaWiki-Action-API

Wed, Aug 7

Krinkle added a comment to T371977: Removal of writeapi from siteinfo output breaks all mwclient-based bots, including stashbot (Server Admin Log).

"I told you so".

Wed, Aug 7, 10:39 PM · Bitu, MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), Cloud-VPS, Striker, Tool-schedule-deployment, Tool-gitlab-account-approval, Tool-phab-ban, Stashbot, MediaWiki-Action-API
bd808 added a comment to T371977: Removal of writeapi from siteinfo output breaks all mwclient-based bots, including stashbot (Server Admin Log).

If we’re going to be reinstating the writeapi removal in production soon-ish, I would guess that other users of the Debian package would also want a fixed version of the library so they don’t get an error when talking to Wikimedia wikis? (Easier said than done, of course. And I don’t know how many third-party users the Debian package actually has – I couldn’t find any other packages depending on it, at least, though that might just be me operating apt wrong.)

Wed, Aug 7, 9:05 PM · Bitu, MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), Cloud-VPS, Striker, Tool-schedule-deployment, Tool-gitlab-account-approval, Tool-phab-ban, Stashbot, MediaWiki-Action-API
LucasWerkmeister added a comment to T371977: Removal of writeapi from siteinfo output breaks all mwclient-based bots, including stashbot (Server Admin Log).

In "fun" news, the wmfkeystoneauth and Bitu usage of mwclient is via the python3-mwclient Debian package, so it looks like we will probably need to build and host a .deb for the updated library when it is available.

Wed, Aug 7, 9:00 PM · Bitu, MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), Cloud-VPS, Striker, Tool-schedule-deployment, Tool-gitlab-account-approval, Tool-phab-ban, Stashbot, MediaWiki-Action-API
LucasWerkmeister lowered the priority of T371977: Removal of writeapi from siteinfo output breaks all mwclient-based bots, including stashbot (Server Admin Log) from Unbreak Now! to Needs Triage.
Wed, Aug 7, 8:18 PM · Bitu, MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), Cloud-VPS, Striker, Tool-schedule-deployment, Tool-gitlab-account-approval, Tool-phab-ban, Stashbot, MediaWiki-Action-API
LucasWerkmeister added a comment to T371977: Removal of writeapi from siteinfo output breaks all mwclient-based bots, including stashbot (Server Admin Log).

Change #1060468 had a related patch set uploaded (by BryanDavis; author: Lucas Werkmeister)

I'll deploy the above shortly.

Wed, Aug 7, 8:17 PM · Bitu, MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), Cloud-VPS, Striker, Tool-schedule-deployment, Tool-gitlab-account-approval, Tool-phab-ban, Stashbot, MediaWiki-Action-API
bd808 added a project to T371977: Removal of writeapi from siteinfo output breaks all mwclient-based bots, including stashbot (Server Admin Log): Bitu.

the OpenStack lifecycle hooks that create Nova Resource namespace pages on wikitech.wikimedia.org when we create a new Cloud-VPS project.

Wed, Aug 7, 8:14 PM · Bitu, MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), Cloud-VPS, Striker, Tool-schedule-deployment, Tool-gitlab-account-approval, Tool-phab-ban, Stashbot, MediaWiki-Action-API
gerritbot added a project to T371930: Update basedn in CAS: Patch-For-Review.
Wed, Aug 7, 9:03 AM · Patch-For-Review, Infrastructure-Foundations, CAS-SSO, Bitu, Beta-Cluster-Infrastructure, Continuous-Integration-Infrastructure, cloud-services-team
gerritbot added a comment to T371930: Update basedn in CAS.

Change #1060396 had a related patch set uploaded (by Slyngshede; author: Slyngshede):

[operations/puppet@production] P:idp More precise base_dn for user lookup

https://gerrit.wikimedia.org/r/1060396

Wed, Aug 7, 9:03 AM · Patch-For-Review, Infrastructure-Foundations, CAS-SSO, Bitu, Beta-Cluster-Infrastructure, Continuous-Integration-Infrastructure, cloud-services-team
SLyngshede-WMF triaged T371930: Update basedn in CAS as Medium priority.

We've tested modifying the basedn on test and @hashar confirms that login is now working.

Wed, Aug 7, 8:51 AM · Patch-For-Review, Infrastructure-Foundations, CAS-SSO, Bitu, Beta-Cluster-Infrastructure, Continuous-Integration-Infrastructure, cloud-services-team
hashar added a parent task for T371956: Add support for ecdsa-sha2-nistp256 : T177826: Upgrade CI Jenkins ssh key to ecdsa .
Wed, Aug 7, 8:50 AM · Infrastructure-Foundations, Bitu
SLyngshede-WMF triaged T371956: Add support for ecdsa-sha2-nistp256 as Medium priority.
Wed, Aug 7, 8:47 AM · Infrastructure-Foundations, Bitu
SLyngshede-WMF created T371956: Add support for ecdsa-sha2-nistp256 .
Wed, Aug 7, 8:47 AM · Infrastructure-Foundations, Bitu
SLyngshede-WMF renamed T371930: Update basedn in CAS from Wikitech system account and SUL for Jenkins agents? to Update basedn in CAS.
Wed, Aug 7, 8:45 AM · Patch-For-Review, Infrastructure-Foundations, CAS-SSO, Bitu, Beta-Cluster-Infrastructure, Continuous-Integration-Infrastructure, cloud-services-team
SLyngshede-WMF added a comment to T371930: Update basedn in CAS.

While I don't have the password, I've tested authenticating as jenkin-deploy on idp-test2004, and CAS now sees the user and rejects due to invalid password.

Wed, Aug 7, 7:15 AM · Patch-For-Review, Infrastructure-Foundations, CAS-SSO, Bitu, Beta-Cluster-Infrastructure, Continuous-Integration-Infrastructure, cloud-services-team
SLyngshede-WMF added a comment to T371930: Update basedn in CAS.

CAS uses the following to lookup the user:

Wed, Aug 7, 7:06 AM · Patch-For-Review, Infrastructure-Foundations, CAS-SSO, Bitu, Beta-Cluster-Infrastructure, Continuous-Integration-Infrastructure, cloud-services-team
SLyngshede-WMF added a comment to T371930: Update basedn in CAS.
2024-08-06 20:10:04,149 WARN [org.apereo.cas.util.function.FunctionUtils] - <Found 2 DNs for [org.ldaptive.auth.User@975024821::identifier=jenkins-deploy, context=null] : [uid=jenkins-deploy,ou=people,dc=wikimedia,dc=org, cn=jenkins-deploy,ou=sudoers,cn=integration,ou=projects,dc=wikimedia,dc=org]
2024-08-06 20:10:04,151 WARN [org.apereo.cas.util.LdapUtils] - <Found 2 DNs for [org.ldaptive.auth.User@975024821::identifier=jenkins-deploy, context=null] : [uid=jenkins-deploy,ou=people,dc=wikimedia,dc=org, cn=jenkins-deploy,ou=sudoers,cn=integration,ou=projects,dc=wikimedia,dc=org]
2024-08-06 20:10:04,151 ERROR [org.apereo.cas.authentication.DefaultAuthenticationManager] - <Authentication has failed. Credentials may be incorrect or CAS cannot find authentication handler that supports [RememberMeUsernamePasswordCredential(super=UsernamePasswordCredential(username=jenkins-deploy, source=null, customFields={}), rememberMe=false)] of type [RememberMeUsernamePasswordCredential]. Examine the configuration to ensure a method of authentication is defined and analyze CAS logs at DEBUG level to trace the authentication event.>
Wed, Aug 7, 7:03 AM · Patch-For-Review, Infrastructure-Foundations, CAS-SSO, Bitu, Beta-Cluster-Infrastructure, Continuous-Integration-Infrastructure, cloud-services-team

Tue, Aug 6

Dzahn added a comment to T371930: Update basedn in CAS.

Given that users are always supposed to use different keys for prod vs cloud, should the system user also use different keys?

Tue, Aug 6, 8:41 PM · Patch-For-Review, Infrastructure-Foundations, CAS-SSO, Bitu, Beta-Cluster-Infrastructure, Continuous-Integration-Infrastructure, cloud-services-team
bd808 added projects to T371930: Update basedn in CAS: Bitu, CAS-SSO.

Here is the developer account record:

$ ldap uid=jenkins-deploy
dn: uid=jenkins-deploy,ou=people,dc=wikimedia,dc=org
uid: jenkins-deploy
cn: Jenkins-deploy
loginShell: /bin/bash
sn: Jenkins-deploy
homeDirectory: /mnt/home/jenkins-deploy
uidNumber: 2947
gidNumber: 500
displayName: Jenkins Slave
objectClass: person
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: ldapPublicKey
objectClass: shadowAccount
objectClass: posixAccount
objectClass: top
sshPublicKey: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJCRyjVoIXXNgbxnPyOCALNbttc/Z4WX9X+YbudFa/h1 jenkins-deploy@toolforge
sshPublicKey:: c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBQkl3QUFBUUVBNFFHYzFacy9TNHM3em5FWXc3UmlmVHVaNHk0aVl2WGw1anA1dEpBOWtHVUd6emZMMGRjNFpFRWhwdSs0Qy9UaXhaSlhxdjBONnlrZTY3Y004aGZkWG5MT1ZKYzRuL1owMnVZSFFwUkRlTEFKVUFsR2xiR1pOdnpzT0x3MzlkR0YwdTNZbXdEbTZyajg1UlN2R3F6OEV4YnZybmVDVkpTYVlsSVJ2T0VLdzBlMEZZczhZYzdhcUZSVjYwTTZmR3pXVmFDM2xRalNuRUZNTkdkU2lMcDNWbC9HQjRHZ3ZSSnBiTkVOUnJUUzNUZTlCUHRQQUdoSlZQbGlUZmxWWXZVTENqWVZ0UEVidmFia1crdlp6bmxjVkhBWkpWVFRnbXFwRFpFSHFwNGJ6eU84ckJOaE1jN0JqVVZ5TlZOQzVGQ2srRDJMYWdtSXJpWXhqaXJYRE5yV2x3PT0gamVua2luc0BnYWxsaXVtCg==
mail: [email protected]
Tue, Aug 6, 8:17 PM · Patch-For-Review, Infrastructure-Foundations, CAS-SSO, Bitu, Beta-Cluster-Infrastructure, Continuous-Integration-Infrastructure, cloud-services-team
gerritbot added a project to T359820: Developer Account Blocking: Migrate the one-stop Developer (un)Blocking from Wikitech to Bitu: Patch-For-Review.
Tue, Aug 6, 11:25 AM · Patch-For-Review, Infrastructure-Foundations, Bitu
gerritbot added a comment to T359820: Developer Account Blocking: Migrate the one-stop Developer (un)Blocking from Wikitech to Bitu.

Change #1060092 had a related patch set uploaded (by Slyngshede; author: Slyngshede):

[operations/software/bitu@master] Wikimedia: New management command for blocking users in systems.

https://gerrit.wikimedia.org/r/1060092

Tue, Aug 6, 11:25 AM · Patch-For-Review, Infrastructure-Foundations, Bitu