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

c.r.c redhat.* collections fail to install with ansible-galaxy

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • crc-2023-01-10
    • crc-2023-01-10
    • Backend
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Critical

      Description

      <what is happening>

      <specify cloud and/or on-premise using labels "crc-automation-hub" and/or "private-automation-hub>

      With console.redhat.com, attempting to install 'redhat' collections like 'redhat.rhel_idm' fails. The error is of the form:

       

      ERROR! Failed to resolve the requested dependencies map. Could not satisfy the following requirements:
      * redhat.rhel_idm:* (direct request)

       

       

      The list of collections that fail include at least:

      redhat.satellite

      redhat.rhel_idm

      redhat.jws

      redhat.satellite_operations

       

      Example invocation with ansible 2.14.1 freshly installed from pip

       

      (ansible-latest) [localhost:F35:~]$ ansible-galaxy collection install redhat.rhel_idm
      Starting galaxy collection install process
      Process install dependency map
      ERROR! Failed to resolve the requested dependencies map. Could not satisfy the following requirements:
      * redhat.rhel_idm:* (direct request)
      
      

       

       

      The ansible --version info:

       

      (ansible-latest) [localhost:F35:~]$ ansible-galaxy --version
      ansible-galaxy [core 2.14.1]
        config file = None
        configured module search path = ['/home/adrian/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
        ansible python module location = /home/adrian/venvs/ansible-latest/lib64/python3.10/site-packages/ansible
        ansible collection location = /home/adrian/.ansible/collections:/usr/share/ansible/collections
        executable location = /home/adrian/venvs/ansible-latest/bin/ansible-galaxy
        python version = 3.10.8 (main, Nov 14 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-3)] (/home/adrian/venvs/ansible-latest/bin/python)
        jinja version = 3.1.2
        libyaml = True 

       

       

      Feels like this should be a high priority bug. Not a blocker per se, so maybe CRITICAL

       

      Dependency Versions

      Whatever is on console.redhat.com as of 2023-01-25

       

      {"available_versions": {"v3":"v3/","pulp v3":"pulp/api/v3/"},
      "server_version":"4.7.0dev",
      "galaxy_ng_version":"4.7.0dev",
      "galaxy_ng_commit":"origin/master:8051977",
      "galaxy_importer_version":"0.4.6",
      "pulp_core_version":"3.21.3",
      "pulp_ansible_version":"0.16.0",
      "pulp_container_version":"2.14.1"} 

       

      Steps to Reproduce

      <list explicit steps to reproduce>

      <how reproducible: always, under certain conditions, intermittent, seen only once, etc>

      To reproduce:

       

      1. ansible-galaxy collection install redhat.rhel_idm

      Seems very reproducible.

      Actual Behavior

      (ansible-latest) [localhost:F35:~]$ ansible-galaxy collection install redhat.rhel_idm
      Starting galaxy collection install process
      Process install dependency map
      ERROR! Failed to resolve the requested dependencies map. Could not satisfy the following requirements:
      * redhat.rhel_idm:* (direct request)
      
      

       

      Expected Behavior

      collection should be installed

              Unassigned Unassigned
              rh-ee-alikins Adrian Likins (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: