|Summary:||Unable to fetch from git|
|Product:||[Community] GlusterFS||Reporter:||Vijay Bellur <vbellur>|
|Status:||CLOSED WONTFIX||QA Contact:|
|Version:||mainline||CC:||bugs, gluster-infra, nigelb|
|Fixed In Version:||Doc Type:||If docs needed, set a value|
|Doc Text:||Story Points:||---|
|Last Closed:||2017-09-29 19:38:45 UTC||Type:||Bug|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
|Cloudforms Team:||---||Target Upstream Version:|
Description Vijay Bellur 2017-09-28 22:08:06 UTC
Description of problem: git pull on my glusterfs / gluster-block repos fail with the following error: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Here's output of `git remote -v` origin ssh://email@example.com/glusterfs.git (fetch) origin ssh://firstname.lastname@example.org/glusterfs.git (push) public email@example.com:gluster/glusterfs.git (fetch) public firstname.lastname@example.org:gluster/glusterfs.git (push) Additional info: Been noticing this problem since the beginning of this week. Tried deleting and adding the same dsa key in r.g.o but that doesn't seem to help.
Comment 1 Nigel Babu 2017-09-29 17:54:13 UTC
The gerrit logs actually say wrong key. I don't know what's going on here. We haven't touched anything from the server end. Here are the options: * Verify that the public key completely matches the private key. `ssh-keygen -y -e -f /path/to/private/key` will print out the public key. Makes sure it matches what's on bugzilla. * Try generating an entirely new key and attempt to login to review.gluster.org with that. * As a workaround, attempt using the HTTPS protocol temporary for push and pulls. You'll need to generate an HTTP password here: https://review.gluster.org/#/settings/http-password
Comment 2 Vijay Bellur 2017-09-29 19:38:45 UTC
Thank you, Nigel! It is probably related to my dsa key. I setup a new rsa public key and that's working well now. Perhaps, gerrit no longer supports dsa auth?