Page MenuHomePhabricator

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


I have account Vladis13 on and did login there. And I have shell account vladi2016 on``.
But I can't sign in 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: acl*security. · View Herald TranscriptApr 13 2019, 9:51 AM
Aklapper edited projects, added Gerrit, LDAP; removed acl*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 / can't log in with return msg "name already in use."

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..Apr 19 2019, 8:32 AM

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.May 6 2019, 11:37 PM
TK-999 added a subscriber: TK-999.May 6 2019, 11:39 PM

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

thcipriani closed this task as Resolved.May 7 2019, 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.May 7 2019, 5:55 PM

Thank you! It's working fine now :)

MisterSynergy reopened this task as Open.May 8 2019, 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.EditedMay 8 2019, 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.May 8 2019, 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.