[Openstack] Usename change in gerrit

Zhang Yujun zhangyujun+zte at gmail.com
Tue May 31 23:03:30 UTC 2016

Hi, we may not change the username. But you can change registered email
address and then create a new account with correct username.

You shall need some tricky to change the Email, i.e. add a new one and
remove the old one.

This works for me.

On Tue, May 31, 2016 at 11:26 PM Jeremy Stanley <fungi at yuggoth.org> wrote:

> On 2016-05-31 09:49:19 +0000 (+0000), Dobroslaw.Zybort at ts.fujitsu.com
> wrote:
> > when I was setting username in gerrit I made small mistake (I ate on
> letter).
> >
> > Is it possible to fix that?
> Not really, no. Gerrit removed the ability to change usernames many
> years ago, and it currently assumes usernames are immutable (since
> it has features which depend on the username not changing once set).
> Modifying a username requires an administrator to directly edit a
> field in its SQL database backend. However, Gerrit only uses the
> username for API access, and for that you can mostly ignore the
> problem by configuring your ~/.ssh/config file with something like:
>     Host openstack-gerrit
>         HostName review.openstack.org
>         User myGerritUsername
> Hope that helps!
> --
> Jeremy Stanley
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160531/6b318ae1/attachment.html>

More information about the Openstack mailing list