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

Known Issue: containers.podman is required for this collection, but not a dependency #135

Open
myllynen opened this issue Oct 25, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@myllynen
Copy link

When doing "ansible-galaxy collection install infra.ee_utilities" the required containers.podman collection is not installed as a dependency because it is not listed as such in galaxy.yml.

@myllynen myllynen added bug Something isn't working new labels Oct 25, 2023
@sean-m-sullivan
Copy link
Contributor

This is a known issue atm. If we include it in galaxy.yml, it would install normally. However if someone tries to pull the collection from Console.redhat.com, Because containers.podman is not in the validated repository, it fails, Keeping this open to document it, but it requires fixes on automation hub/console.redhat backend.

@djdanielsson djdanielsson removed the new label Dec 1, 2023
@sean-m-sullivan sean-m-sullivan changed the title Missing dependencies for the collection Known Issue: containers.podman is a required for this collection, but not a dependency Dec 7, 2023
@sean-m-sullivan sean-m-sullivan changed the title Known Issue: containers.podman is a required for this collection, but not a dependency Known Issue: containers.podman is required for this collection, but not a dependency Dec 7, 2023
@extravio
Copy link

extravio commented May 24, 2024

In Ansible Hub, we can synchronize collections that have dependencies in different remotes by specifying a source in the requirements.yml file.
example:

collections:
  - name: network.base
    source: https://console.redhat.com/api/automation-hub/content/validated/

  - name: network.interfaces
    source: https://console.redhat.com/api/automation-hub/content/validated/

  - name: ansible.utils
    source: https://console.redhat.com/api/automation-hub/content/published/

  - name: ansible.netcommon
    source: https://console.redhat.com/api/automation-hub/content/published/

see: How to sync Validated Ansible Collections from console.redhat.com to Private Automation Hub using a requirements.yml file?

However, specifying the following did not work for us:

collections:
  - name: containers.podman
    source: https://galaxy.ansible.com/api/
  - name: infra.ee_utilities
    source: https://console.redhat.com/api/automation-hub/content/validated/ 

Is there something you can change at your end that would prevent Automation Hub from trying to pull containers.podman from console.redhat and use the source specified in the requirements.yml file? @sean-m-sullivan

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

4 participants