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

Argument list too long in "Install errata by search query - Katello Ansible Default" when applying multiple errata

XMLWordPrintable

    • Sprint 144, Sprint 145
    • Important
    • None

      When I apply multiple errata to a single Host via Ansible using Web UI, it generates a yum command with all advisories in the system:

      TASK [shell] ******************************************************************* fatal: [vm-0038.service.int.rabe.ch]: FAILED! => {"changed": false, "cmd": "yum -y update-minimal --advisory=FEDORA-EPEL-2019-ed30228d6b --advisory=ALBA-2020:5097 (more --advisory args omitted for brevity)", "msg": "[Errno 7] Argument list too long: '/bin/sh'", "rc": 7, "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

      It should only generate a command for the applicable and installable advisories.

              Unassigned Unassigned
              satellite-jira-automation@redhat.com Satellite Jira-Automation
              Quinn James Quinn James
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: