[Openstack] Usename change in gerrit

Jeremy Stanley fungi at yuggoth.org
Tue May 31 15:16:35 UTC 2016

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

More information about the Openstack mailing list