Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 507374 - Gerrit seems broken (permission issues?)
Summary: Gerrit seems broken (permission issues?)
Status: RESOLVED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Gerrit (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Eclipse Webmaster CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-10 15:16 EST by Marc-André Laperle CLA
Modified: 2016-11-15 05:02 EST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc-André Laperle CLA 2016-11-10 15:16:25 EST
Hi,

I noticed pushing to Gerrit rejects pushes, for example:


! [remote rejected] HEAD -> refs/for/master (Unable to create changes: REJECTED_OTHER_REASON lock error: Creating directories for /home/data/git/tracecompass/org.eclipse.tracecompass.git/refs/changes/36/84836 failed)
error: failed to push some refs to 'ssh://mlaperle@git.eclipse.org:29418/tracecompass/org.eclipse.tracecompass'

Are there permission issues on the server?

Also rebasing with the button gives "

Unable to create new object: /home/data/git/tracecompass/org.eclipse.tracecompass.git/objects/18/867fa4d5d9e328be40de00a660a871302aff8a
Comment 1 Denis Roy CLA 2016-11-10 15:29:32 EST
Gerrit was missing group-write permissions, probably a recent change to allow Hudson to tag builds?

Anyhow, it should be fixed now.
Comment 2 Matthew Khouzam CLA 2016-11-10 15:35:45 EST
It looks fixed for me now thanks Marc-Andre and Denis!
Comment 3 Denis Roy CLA 2016-11-10 15:51:13 EST
Let's go with "fixed"
Comment 4 Ernesto Posse CLA 2016-11-10 16:12:10 EST
(In reply to Denis Roy from comment #3)
> Let's go with "fixed"

I'm still getting the same issue:

Repository https://git.eclipse.org/r/papyrus-rt/org.eclipse.papyrus-rt

Unable to create changes: REJECTED_OTHER_REASON lock error: Creating directories for /home/data/git/papyrus-rt/org.eclipse.papyrus-rt.git/refs/changes/43/84843 failed
Processing changes: refs: 2
Processing changes: refs: 2, done    


Is the fix something that takes time to "propagate"?

Thanks
Comment 5 Denis Roy CLA 2016-11-10 16:16:10 EST
Same issue, different repo.  Fixed
Comment 6 Ernesto Posse CLA 2016-11-10 16:25:39 EST
(In reply to Denis Roy from comment #5)
> Same issue, different repo.  Fixed

Great! Works for me now. Thanks!
Comment 7 Lorenzo Bettini CLA 2016-11-11 04:30:10 EST
same problem for parsley:

Unable to create changes: REJECTED_OTHER_REASON lock error: Creating directories for /home/data/git/emf-parsley/org.eclipse.emf-parsley.git/refs/changes/58/84858 failed
Processing changes: refs: 2
Processing changes: refs: 2, done
Comment 8 Alexandra Buzila CLA 2016-11-11 06:10:23 EST
Similar problem for ECP:

To ssh://abuzila@git.eclipse.org:29418/emfclient/org.eclipse.emf.ecp.core
 ! [remote rejected] HEAD -> refs/for/develop (Unable to create changes: )
error: failed to push some refs to 'ssh://abuzila@git.eclipse.org:29418/emfclient/org.eclipse.emf.ecp.core'
Comment 9 Jonas Helming CLA 2016-11-11 06:13:10 EST
same same
Comment 10 Eclipse Webmaster CLA 2016-11-11 11:06:53 EST
These should all be resolved now.

-M.
Comment 11 Matthias Villiger CLA 2016-11-14 10:12:23 EST
I still have this issue for the Scout repo:

Unable to create changes: REJECTED_OTHER_REASON lock error: Creating directories for /home/data/git/scout/org.eclipse.scout.sdk.git/refs/changes/85/84985 failed
Comment 12 Eclipse Webmaster CLA 2016-11-14 13:12:24 EST
Sigh apparently 'recursive' didn't recurse as far as I thought it would.

Fixed.

-M
Comment 13 Matthias Villiger CLA 2016-11-15 05:02:36 EST
Thanks! It is working again.