Page MenuHomePhabricator

Gerrit: Cannot assign user name "vladi2016" to account XXXX; name already in use.
Closed, ResolvedPublic

Description

I have account Vladis13 on https://wikitech.wikimedia.org and did login there. And I have shell account vladi2016 on`tools.wmflabs.org`.
But I can't sign in https://gerrit.wikimedia.org/r/login as Vladis13, it shows the error: Cannot assign user name "vladi2016" to account 7045; name already in use.
(Also this digit like 7045 incrementing on each trying.)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 13 2019, 12:13 AM
Aklapper changed the visibility from "Custom Policy" to "Public (No Login Required)".
Restricted Application added a project: Security. · View Herald TranscriptApr 13 2019, 9:51 AM
Aklapper edited projects, added Gerrit, LDAP; removed Security.Apr 13 2019, 9:52 AM

Nothing secret here hence making this task public.

Aklapper renamed this task from Problem with login Gerrit to Cannot log into Gerrit: "Cannot assign user name to account; name already in use.".Apr 13 2019, 9:52 AM

Same problem to me Aldnonymous / Aldnonymous4@gmail.com can't log in with return msg "name already in use."

hashar added a parent task: Restricted Task.Apr 19 2019, 8:32 AM
hashar renamed this task from Cannot log into Gerrit: "Cannot assign user name to account; name already in use." to Gerrit: Cannot assign user name "vladi2016" to account XXXX; name already in use..

In short: this is a known issue we are encountering with Gerrit due to a migration that has been fully completed. There is a way to fix it on the server but I lost track of how to achieve that, but I made some others aware of it.

When we upgrade Gerrit to version 2.16, we will be able to fix all affected accounts once for good :)

It will be great.
How long to wait for fix of login?

We do not know yet. Please be patient.

I do have the same problem, waiting for a fix now.

Dzahn added a subscriber: Dzahn.Mon, May 6, 11:37 PM
TK-999 added a subscriber: TK-999.Mon, May 6, 11:39 PM

For reference, it seems the Gerrit 2.16 upgrade rollout is being tracked in T200739

thcipriani closed this task as Resolved.Tue, May 7, 4:55 PM
thcipriani claimed this task.
thcipriani added a subscriber: thcipriani.

Updated your account in the DB, please reopen if that does not resolve your issue.

TK-999 added a comment.Tue, May 7, 5:55 PM

Thank you! It's working fine now :)

MisterSynergy reopened this task as Open.Wed, May 8, 6:19 AM

As there are other users who cannot sign in to gerrit, I think we should not close this task just because one account was manually updated. Mine is still not working.

Paladox closed this task as Resolved.EditedWed, May 8, 7:22 AM
Paladox added a subscriber: Paladox.

Please file a separate task (as this task was for a specific user) :)

Dzahn added a comment.Wed, May 8, 2:35 PM

@MisterSynergy The generic task for this problem is T216605.

Thanks, but T216605 is access restricted and I cannot see any of its content. I feel pretty lost with this problem.