Skip to content

Registered public key rejected by gerrit

Summary

I am no longer able to connect to repositories through gerrit, even though my public key has not changed.

Steps to reproduce

Any attempt to pull, push, or even clone repositories I have access to is rejected, including the gerrit directed cloning of the SimRel repo when executed verbatim:

git clone "ssh://nitind@git.eclipse.org:29418/simrel/org.eclipse.simrel.build" && scp -p -P 29418 nitind@git.eclipse.org:hooks/commit-msg "org.eclipse.simrel.build/.git/hooks/"
Cloning into 'org.eclipse.simrel.build'...
nitind@git.eclipse.org: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

What is the current bug behavior?

Pulling the servertools repository or cloning the simrel repo both yield:

nitind@git.eclipse.org: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

This happens even after I re-register the public key for my login. I am able to push to a clone on github with the same key and CLI.

What is the expected correct behavior?

Normal operation. Being able to fetch and clone correctly.

Relevant logs and/or screenshots

nitin@MacBook-Pro ~/git/webtools.servertools % git stash ; git pull --rebase ; git stash pop
Saved working directory and index state WIP on master: 27bd76f52 [564110] Make it easier to find the server configuration files
nitind@git.eclipse.org: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   tests/org.eclipse.jst.server.generic.tests/META-INF/MANIFEST.MF
	modified:   tests/org.eclipse.jst.server.generic.tests/pom.xml

no changes added to commit (use "git add" and/or "git commit -a")
Dropped refs/stash@{0} (ce6794c55d1e08cdcb53f117ed038f1b5d6455e2)
nitin@MacBook-Pro ~/git/webtools.servertools % git remote -v
origin	ssh://nitind@git.eclipse.org:29418/servertools/webtools.servertools.git (fetch)
origin	ssh://nitind@git.eclipse.org:29418/servertools/webtools.servertools.git (push)


nitin@MacBook-Pro ~/git/org.eclipse.simrel.build % git remote -v
origin	ssh://nitind@git.eclipse.org:29418/simrel/org.eclipse.simrel.build.git (fetch)
origin	ssh://nitind@git.eclipse.org:29418/simrel/org.eclipse.simrel.build.git (push)
nitin@MacBook-Pro ~/git/org.eclipse.simrel.build % git stash ; git pull --rebase ; git stash pop
Saved working directory and index state WIP on master: 30854767 Simrel update for Eclipse and Equinox 2022-12 M3
nitind@git.eclipse.org: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   webtools.aggrcon

no changes added to commit (use "git add" and/or "git commit -a")
Dropped refs/stash@{0} (81207d3cde78314335d0e59b6c8ade5d56793641)

Priority

  • Urgent
  • High
  • Medium
  • Low

Severity

  • Blocker
  • Major
  • Normal
  • Low

Impact

I am unable to submit changes for M3 for EPP+2 projects as scheduled.

Edited by Nitin Dahyabhai