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

satellite-clone fails due to missing 'get_md5' parameter for the 'stat' module

XMLWordPrintable

    • No

      Description of problem:

      satellite-clone fails with "Unsupported parameters for (stat) module: get_md5". It looks like the parameter is used here: https://github.com/RedHatSatellite/satellite-clone/blob/master/roles/satellite-clone/tasks/backup_satellite_version_check.yml#L6

      Removing that line should fix the issue.

       

      Full Ansible traceback:

       

      TASK [satellite-clone : Check for metadata.yml file] *************************** fatal: [localhost]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (stat) module: get_md5. Supported parameters include: checksum_algorithm, follow, get_attributes, get_checksum, get_mime, path (attr, attributes, checksum, checksum_algo, dest, mime, mime-type, mime_type, name)."}

       

      How reproducible:

      100%

      Is this issue a regression from an earlier version:

      Yes. This was introduced with RHEL8.10 as it increased the ansible version to include this commit: https://github.com/ansible/ansible/commit/d955fb1590efaaf996d7a48746e15f71cc65f583

       

      Anything running RHEL8.10 will hit this issue on satellite-clone.

      Steps to Reproduce:

      1. Run satellite-clone with RHEL8.10

       

      Actual behavior:
      Fails due to using a non-existent parameter.

      Expected behavior:
      Pass successfully.

      Business Impact / Additional info:

       

            Unassigned Unassigned
            gsulliva Griffin Sullivan
            Griffin Sullivan Griffin Sullivan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: