Permission denied (publickey) for create new commit in starlingx project

Bug #1891127 reported by Ionut Nechita
6
This bug affects 1 person
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://opendev.org/starlingx/test

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://review.opendev.org/#/q/project:starlingx/test
# > ssh public key added in gerrit on settings
cd ~/test
git remote add gerrit ssh://<email address hidden>/starlingx/test.git
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:starlingx/test status:open"
-----------------------
<email address hidden>: Permission denied (publickey).

Test Activity
-------------
Other

Workaround
----------
-

Tags: git
Revision history for this message
Ghada Khalil (gkhalil) wrote :

@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.

tags: added: stx.tools
tags: removed: stx.tools
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Suggest you contact <email address hidden> or <email address hidden> for help

Changed in starlingx:
importance: Undecided → Low
status: New → Triaged
assignee: nobody → Ionut Nechita (ionut-n2001)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.