Project

General

Custom queries

Profile

Actions

Bug #38163

closed

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

Added by Lucas Bickel about 1 month ago. Updated 29 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Errata Management
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

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.

Actions #1

Updated by The Foreman Bot about 1 month ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/11290 added
Actions #2

Updated by The Foreman Bot about 1 month ago

  • Fixed in Releases Katello 4.16.0 added
Actions #3

Updated by Anonymous about 1 month ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Chris Roberts 29 days ago

  • Category set to Errata Management
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF