Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing role fails with no message #3030

Closed
zeitounator opened this issue Oct 26, 2022 · 2 comments
Closed

Importing role fails with no message #3030

zeitounator opened this issue Oct 26, 2022 · 2 comments

Comments

@zeitounator
Copy link

Bug Report

SUMMARY

Importing role fails without any meaningful message

STEPS TO REPRODUCE

Click on the import button (or trigger import from API from CI) for the following galaxy role: https://galaxy.ansible.com/ansible-ThoTeam/nexus3-oss

EXPECTED RESULTS

The role is imported from github and updated on galaxy

ACTUAL RESULTS

The import task fails. There are no meaningful messages in the import task logs, only

No task messages available
@zeitounator
Copy link
Author

It turns out this was a simple issue related to branch renaming (master -> main) although the error messages No task messages available is a bit sparse to fully understand the issue...

Closing as a duplicate of #2535

@zeitounator
Copy link
Author

zeitounator commented Nov 28, 2022

For someone who would come across this issue...

Situation:

  • branch master was renamed (to main) and removed from the github repo
  • imports are failing in galaxy with no meaningful message

How I fixed:

  • added galaxy_info: {github_branch: main} in meta/main.yml and pushed to main
  • recreated the master branch from main from the github UI (for some reason, creating that branch and pushing it from the git command line did not make it appear, probably related to previous renaming...)
  • launched import manually from galaxy UI and check it succeeded
  • removed the master branch again from the remote github and local repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant