Permission denied (publickey) for create new commit in starlingx project
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Triaged
|
Low
|
Ionut Nechita |
Bug Description
Brief Description
-----------------
Hi,
I tried to create a commit in git in a repository of yours, and I failed.
starlingx/test
https:/
Severity
--------
Minor
Steps to Reproduce
------------------
ssh-keygen -t rsa -C "<email address hidden>"
eval $(ssh-agent -s)
ssh-add ~/.ssh/id_rsa
# add ssh key to settings https:/
# > ssh public key added in gerrit on settings
cd ~/test
git remote add gerrit ssh://<email address hidden>
pip install git-review
git review -l
git review -s
Expected Behavior
------------------
git review working
Actual Behavior
----------------
<email address hidden>: Permission denied (publickey).
Reproducibility
---------------
100% reproducible
System Configuration
-------
Debian/Ubuntu OS Host
Branch/Pull Time/Commit
-------
Master
Last Pass
---------
-
Timestamp/Logs
--------------
# git review -l
Problem running 'git remote update gerrit'
Fetching gerrit
<email address hidden>: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
error: Could not fetch gerrit
Cannot fetch review information from gerrit
The following command failed with exit code 255
"ssh -x <email address hidden> gerrit query --format=JSON project:
-------
<email address hidden>: Permission denied (publickey).
Test Activity
-------------
Other
Workaround
----------
-
@Ionut, this is likely a specific issue with your setup. The best option is to reach out to other members in the test team to help you.