Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-15982

Support Satellite Ansible Collection running on Python 3.11

XMLWordPrintable

    • Moderate

      Description of problem:
      Ansible is switching to Python 3.11 in RHEL 8.8:
      https://pkgs.devel.redhat.com/cgit/rpms/ansible-core/commit/?h=rhel-8.8.0&id=a32f090acd62b5091b9d3fdd5a5dd591992e0606

      We have several places that depend on being called with the same Python interpreter as Ansible or to be able to import certain libs when run by Ansible, which means we need to adopt that to support Ansible on Python 3.11

      From the top of my head, the following components are affected:

      • satellite-clone (the binary) imports things from ansible, so it needs to be executed by the same python or the import fails
      • the collection depends on PyYAML and requests and these need to be of the right python too
      • (6.12 and older): we need a matching python3X-psutil so that the ancient ansible-runner doesn't choke and can execute ansible roles via smart proxy

      Version-Release number of selected component (if applicable):
      6.11-6.13

      How reproducible:

      Steps to Reproduce:
      1.
      2.
      3.

      Actual results:

      Expected results:

      Additional info:

            egolov@redhat.com Evgeni Golov
            jira-bugzilla-migration RH Bugzilla Integration
            Radek Mynar Radek Mynar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: