remote: ERROR: commit 3e6e275: email address test is not registered in your account, and you lack 'forge author' permission.

2,413 views
Skip to first unread message

testuseraws

unread,
Apr 13, 2020, 11:56:58 AM4/13/20
to Repo and Gerrit Discussion
Hello Gerrit Experts,

I'm trying to push All Projects back into the repo after adding a LFS file config and it fails with the following errors.
remote: ERROR: commit 3e6e275: email address test is not registered in your account, and you lack 'forge author' permission.

Steps followed:

git clone "ssh://test@ec2-18-224-32-196.us-east-2.compute.amazonaws.com:29418/All-Projects"
git fetch origin refs/meta/config
git checkout FETCH_HEAD
vi lfs.config
[lfs "^.*"] enabled = true maxObjectSize = 50m
git add .
git comit -m "nw file"

[gerrit@ip-172-31-10-71 All-Projects]$ git push origin HEAD:refs/meta/config
Enumerating objects: 4, done.
Counting objects: 100% (4/4), done.
Delta compression using up to 2 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 300 bytes | 300.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: Processing changes: refs: 1, done
remote: ERROR: commit 3e6e275: email address test is not registered in your account, and you lack 'forge author' permission.
remote: The following addresses are currently registered:
remote:   te...@yahoo.com
remote: To register an email address, visit:
remote: http://ec2-18-224-32-196.us-east-2.compute.amazonaws.com:8080/settings#EmailAddresses
remote:
remote:
To ssh://ec2-18-224-32-196.us-east-2.compute.amazonaws.com:29418/All-Projects
 ! [remote rejected] HEAD -> refs/meta/config (commit 3e6e275: invalid author)
error: failed to push some refs to 'ssh://te...@ec2-18-224-32-190.us-east-2.compute.amazonaws.com:29418/All-Projects'
[gerrit@ip-172-31-10-71 All-Projects]$

I have added the user test and is the defalt user and the e-mail address is alo registered.

I don't see an option to register this user with this address.

Can someone please suggest a way to fix this issue.

Thank you

Luca Milanesio

unread,
Apr 13, 2020, 12:05:50 PM4/13/20
to testuseraws, Luca Milanesio, Repo and Gerrit Discussion
Hi Test user AWS (I guess you don’t want disclose your name?),
Answers inline.
You need to have the “forge author” permission to push commits authored by other people.

See the documentation at:


I have added the user test and is the defalt user and the e-mail address is alo registered.

I don't see an option to register this user with this address.

Can someone please suggest a way to fix this issue.

Thank you

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/833645bf-0292-4f01-8946-bc4821ad6908%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages