Comments (5)
Tested also with GitLab, completely the same error message. From Linux again working fine.
from awx.
I seem to have the same issue. But every once in a while, a random retry succeeds.
from awx.
Hi @Gibonnn
I'm a little confused by your request and what you are trying to achieve.
Firstly, you cannot authenticate against repository with ssh unless you own the repository.
Otherwise, you must use the https protocol.
So unless you are a member of ansible/ansible.git it won't work for you.
Apologies if I have misunderstood your request.
[awx@localhost-live src]$ git clone [email protected]:ansible/ansible.git
Cloning into 'ansible'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
from awx.
Hi Dave,
sorry if my description or image was wrong. Let me start again.
I have a repo on Github that I own -
[email protected]:Gibonnn/ansible.git
I have added my public key to my Github account and my private key to the Credentials in AWX.
When I try to sync the procect, I get following output:
Identity added: /tmp/awx_99_cxecevxe/artifacts/99/ssh_key_data (admin@awx) PLAY [Update source tree if necessary] ***************************************** TASK [Delete project directory before update] ********************************** ok: [localhost] TASK [Update project using git] ************************************************ fatal: [localhost]: FAILED! => {"changed": false, "cmd": "/usr/bin/git ls-remote [email protected]:Gibonnn/ansible.git -h refs/heads/HEAD", "msg": "[email protected]: Permission denied (publickey,password).\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.", "rc": 128, "stderr": "[email protected]: Permission denied (publickey,password).\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\n", "stderr_lines": ["[email protected]: Permission denied (publickey,password).", "fatal: Could not read from remote repository.", "", "Please make sure you have the correct access rights", "and the repository exists."], "stdout": "", "stdout_lines": []} PLAY RECAP ********************************************************************* localhost : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
Note tha line 1 which says identity added. But also note the error message - Permission denied (publickey,password). It says publickey,password. It seems to me like AWX is not trying to push the private key to Github.
When I do the same from the Linux, works fine. I have no clue what might be wrong.
Thanks
from awx.
@Gibonnn Thanks for the follow-up.
Since you have 2 issues open around connectivity issues in relation to this "setup" and it "works as expected in Linux", it seems to me we're dealing with an environmental issue on this setup you are referencing.
GitHub has a help topic around this, which seems mundane, but only through a process of elimination are we going to be able to resolve this.
https://docs.github.com/en/authentication/troubleshooting-ssh/error-permission-denied-publickey
Using these instructions, can you follow the steps to debug on the host, and if using containers or other virtualized method, in that environment also.
from awx.
Related Issues (20)
- [podman-desktop] Error response from daemon: bad parameter: link is not supporte
- Add GCP Secret manager plugin
- Docker installation doesn't work HOT 1
- Job output not refreshing automatically in AWX 24.1.0 wit operator 2.14.0 HOT 5
- AWX-Operator's rediness and liveness probs are failing HOT 4
- Duplicate help text for token expiration settings in edit mode HOT 1
- ARM64 system - AWX image pull failing HOT 3
- Are `ghcr.io/ansible/awx_devel` Docker images supported? HOT 1
- Build of 24.2.0 image failed HOT 9
- AWX Job Output showing Pod Running HOT 1
- AWX Community Meeting Agenda - May 2024 HOT 2
- awx workflow_job_templates launch --wait command fails with ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) HOT 4
- Job failure as minikube logs rotate HOT 3
- GCP Job Template Runs HOT 1
- Correct documentation regarding scheduling HOT 1
- Task Pod In Separate Instance Group HOT 1
- Tags in OpenApi schema are missing
- Ansible awx.awx collection tasks altering configuration for a pre-existing inventory should be organization scope aware HOT 1
- Can't specify Limit while using awx.awx.inventory module
- New UI_Next "Page Not Found" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awx.