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

Unexpected exception while installing oci-ansible-collection using ansible-galaxy #251

Closed
dineshsuthar786 opened this issue Oct 13, 2023 · 2 comments

Comments

@dineshsuthar786
Copy link
Member

Recently (this started happening a few days ago), we are getting API errors when installing oracle.oci ansible collection using ansible-galaxy:

[WARNING]: Skipping Galaxy server https://galaxy.ansible.com/api/. Got an
unexpected error when getting available versions of collection oracle.oci: */api/v3/plugin/ansible/content/published/collections/index/oracle/oci/versions/*
ERROR! Unexpected Exception, this is probably a bug: */api/v3/plugin/ansible/content/published/collections/index/oracle/oci/versions/*

Issue Type

Bug Report

Component Name

ansible-galaxy

Expected Results

I expected the oracle.oci ansible collection to be installed without errors.

Actual Results

Starting galaxy collection install process
Process install dependency map
[WARNING]: Skipping Galaxy server https://galaxy.ansible.com/api/. Got an unexpected error when getting available versions of collection oracle.oci:
'/api/v3/plugin/ansible/content/published/collections/index/oracle/oci/versions/'
ERROR! Unexpected Exception, this is probably a bug: '/api/v3/plugin/ansible/content/published/collections/index/oracle/oci/versions/'
to see the full traceback, use -vvv
@dineshsuthar786 dineshsuthar786 pinned this issue Oct 13, 2023
@dineshsuthar786
Copy link
Member Author

This issue is not related to oci-ansible-collection. This is generic ansible issue and is due to unsupported version of ansible-core. This issue has been resolved in the following versions of ansible-core:

v2.12.8
v2.13.3
v2.14.0 (and all newer versions)

You can read more about this issue here ansible/ansible#81830

@dineshsuthar786
Copy link
Member Author

Solution has been provided in above comment. Closing the issue.

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