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

meta_dependency_check bug: One of awx.awx or ansible.controller must be installed #917

Closed
przemkalit opened this issue Sep 27, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@przemkalit
Copy link
Contributor

Summary

I've notice that meta_dependency_check is breaking usage of the collection. This is the output using the command of this role:

ansible-galaxy collection verify ansible.controller
ERROR! Error when getting collection version metadata for ansible.controller:4.5.6 from default (https://galaxy.ansible.com/api/) (HTTP Code: 404, Message: Not found. Code: not_found)

Issue Type

  • Bug Report

Ansible, Collection, Controller details

ansible-galaxy collection list

# /home/runner/.ansible/collections/ansible_collections
Collection                     Version
------------------------------ -------
ansible.controller             4.5.7  
infra.controller_configuration 2.10.3 
  • ansible installation EE

OS / ENVIRONMENT

RH9

Desired Behavior

Collection ansible.controller is properly identified.

Actual Behavior

Collection cannot be used due the error:

One of awx.awx or ansible.controller must be installed

STEPS TO REPRODUCE

  1. Download collections to Private Automation Hub.
  2. Execute playbook that use collection.
@przemkalit przemkalit added bug Something isn't working new New issue, this should be removed once reviewed labels Sep 27, 2024
@ffirg
Copy link

ffirg commented Sep 27, 2024

I was testing this with ansible.controller 4.6.0 yesterday, which is required for AAP 2.5 support and that is affected by this bug as well.

@ffirg
Copy link

ffirg commented Sep 27, 2024

Also note that awx.awx will no longer work with AAP 2.5 so it might be a good idea to make this clearer in the output at the same time

@djdanielsson djdanielsson removed the new New issue, this should be removed once reviewed label Sep 27, 2024
@djdanielsson
Copy link
Collaborator

I will look into this, thanks for reporting it.

@przemkalit
Copy link
Contributor Author

Okay, FYI we discovered on our side that we were missing a configuration file for ansible-galaxy inside the EE, but I think the collection should allow to use offline mode for this verification.

@przemkalit
Copy link
Contributor Author

@djdanielsson We would like to request possibility to disable certificate checks during the verification of the collection.

@djdanielsson
Copy link
Collaborator

That should be managed by ansible.cfg

@przemkalit
Copy link
Contributor Author

Ah, yes I am blind GALAXY_IGNORE_CERTS, thanks.

@djdanielsson
Copy link
Collaborator

seems like this ended up not being an issue so closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants