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

Satellite-clone not working if ansible-core 2.13 is installed

XMLWordPrintable

    • Important
    • Yes

      Description of problem:
      I have found out that satellite-clone is failing if ansible-core 2.13 is installed on target RHEL.
      This is happening because ansible-core 2.13 needs python 3.9 but satellite-clone is being run with python 3.8 which doesn't have the ansible python package installed.

      Version-Release number of selected component (if applicable):
      RHEL 8.6
      ansible-core-2.13.3-1.el8.x86_64
      satellite-clone-3.2.0-1.el8sat.noarch

      How reproducible:
      Every time

      Steps to Reproduce:
      1. Install and try running satellite-clone

      Actual results:

      1. satellite-clone -y
        Traceback (most recent call last):
        File "/usr/sbin/satellite-clone", line 98, in <module>
        main()
        File "/usr/sbin/satellite-clone", line 82, in main
        from ansible.cli.playbook import PlaybookCLI

      ModuleNotFoundError: No module named 'ansible'

      Expected results:
      Satellite clone shouldn't fail.

      Additional info:
      See Comment1

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

                Created:
                Updated:
                Resolved: