Project sync fails with error Failed to download remote objects and refs: From https://github.com/<org>/<repo>\n...! in Red Hat Ansible Automation Platform UI.
Issue
-
When launching a job template or starting a manual project update in Ansible Automation Platform, the project synchronization fails.
-
The job template launch fails with a 400 Bad Request or the following error in the user interface:
{"playbook":["Missing a revision to run due to failed project update."]} Reviewing the standard output (stdout) of the associated project sync job shows the following Git fetch failure: TASK [Update project using git] ************************************************ fatal: [localhost]: FAILED! => {"changed": false, "cmd": ["/usr/bin/git", "fetch", "--tags", "origin"], "msg": "Failed to download remote objects and refs: From https://github.com/<org>/<repo>\n...! [rejected] 1.0.0 -> 1.0.0 (would clobber existing tag)"}
-
Environment
- Red Hat® Ansible Automation Platform 2.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.