Uploaded image for project: 'Automation Hub'
  1. Automation Hub
  2. AAH-2744

Error resolving dependencies when using core 2.14.7

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Backend
    • None

      Problem Description:

      https://forum.ansible.com/t/resolving-dependencies-installing-collections/1277 

       
      utoddl[Todd Lewis|https://forum.ansible.com/u/utoddl]
      1
      8h
       
      I was building a new release of a collection on Saturday with the following in galaxy.yml:

      dependencies:ansible.utils: '>=2.6.1'
      That built just fine, but when updating projects that use this new release (ansible-galaxy collection install -r collections/requirements.yml -p ./collections/ --force-with-deps), then ansible-galaxy complained that it couldn’t resolve the dependency on ansible.utils. (Sorry, I don’t have the exact wording.) I fought it for a couple of hours trying different things, and finally worked around the issue by removing the dependency thus:

      dependencies: {}
      After that, updates of the projects which use the new release of my collection worked.
      Clearly this is not an acceptable work-around. I though it was something I had broken, but seeing the flurry of issues with galaxy-ng it’s probably related and should be reported.

      Edit: This was all with “ansible [core 2.14.7]”.

      Our production is toast since the galaxy_ng switch.

      {{Starting galaxy collection install process
      Process install dependency map
      ERROR! Failed to resolve the requested dependencies map. Could not satisfy the following requirements:

      • kubernetes.core:2.2.0 (direct request)}}

      Edit: Here’s another example from Saturday September 30 around 5:16:21 PM EDT.

      {{ERROR! Failed to resolve the requested dependencies map. Could not satisfy the following requirements:

      • ansible.utils:>=2.6.1 (dependency of mw.cc:1.0.2)}}

      This was the one I mentioned in the original post where we had to remove the dependencies in the galaxy.yml to get projects to update with it.

              drodowic@redhat.com Daniel Rodowicz
              rochacbruno@redhat.com Bruno Rocha
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: