Hide Forgot
Description of problem: Install Errata - Katello SSH Default Job template contains incorrect syntax Job Template contains: # Action yum -y update --advisories=RHSA-2016:1626 Job Template should contain: # Action yum -y update --advisory=RHSA-2016:1626 Version-Release number of selected component (if applicable): Satellite 6.2.2 How reproducible: Every time Steps to Reproduce: 1. Choose Content Host 2. Select Errata 3. Select Install via Remote Execution 4. Schedule Actual results: Action fails with 1: Loaded plugins: package_upload, product-id, search-disabled-repos, security, 2: : subscription-manager 3: Command line error: no such option: --advisories Expected results: yum update executes successfully with supplied advisory Additional info:
Should also note the syntax for multiple advisories is incorrect as well template: # Action yum -y update --advisories=RHSA-2016:1406,RHSA-2016:0855 from man yum-security yum -y update --advisory RHSA-2016:1406 --advisory RHSA-2016:0855
Created redmine issue http://projects.theforeman.org/issues/16800 from this bug
Upstream bug assigned to mhulan
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/16800 has been resolved.
*** Bug 1347479 has been marked as a duplicate of this bug. ***
Verified in Satellite 6.2.8 Snap 2 I was able to successfully install a desired errata against a remote system using the pre-defined job template. See attached screenshot for verification.
Created attachment 1255072 [details] verification screenshot
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:0447