Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1333181

Summary: Remote Execution using update for errata install instead of update-minimal
Product: Red Hat Satellite Reporter: Justin Sherrill <jsherril>
Component: Remote ExecutionAssignee: Adam Ruzicka <aruzicka>
Status: CLOSED ERRATA QA Contact: Ivan Necas <inecas>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: aperotti, aruzicka, bbuckingham, bkearney, egolov, inecas, jcallaha
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 16:51:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1353215, 1399395    
Attachments:
Description Flags
verification screenshot none

Description Justin Sherrill 2016-05-04 21:13:23 UTC
Description of problem:

Currently errata installation via REX is using 'yum update --advisories'.  

This command will update to newer packages than what was specified in the errata if newer ones are available.

For example, if a client has 'foo-1.0' installed and errata A has 'foo-2.0', but there also exists foo-3.0 in the repo, performing an errata install with REX will cause yum to pull in foo-3.0 even though foo-2.0 is in the Errata.

Yum provides an update-minimal command which provides this functionality.

Version-Release number of selected component (if applicable):
6.2.0 Beta

How reproducible:
Always

Steps to Reproduce:
1.  Using rex try to apply an errata to a client where there is a newer version of one of the packages in the errata available via the email

Actual results:
Newer package is installed that is not in the errata

Expected results:
Older version of package that is in the errata

Additional info:

Satellite 5 & 6 have used similar behavior to update-minimal for many years

in RHEL 7.0 and 7.1 there is a known bug:  https://bugzilla.redhat.com/show_bug.cgi?id=1192239

Which should be fixed in 7.2  Unsure if this complicates the matter.

Comment 2 Adam Ruzicka 2016-11-29 08:34:49 UTC
Created redmine issue http://projects.theforeman.org/issues/17513 from this bug

Comment 7 Satellite Program 2017-01-17 15:18:24 UTC
Upstream bug assigned to aruzicka

Comment 8 Satellite Program 2017-01-17 15:18:27 UTC
Upstream bug assigned to aruzicka

Comment 9 Satellite Program 2017-01-17 17:18:21 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/17513 has been resolved.

Comment 10 Ivan Necas 2017-08-16 12:55:30 UTC
Version Tested: Satellite-6.3 Snap 11

The install errata template now uses 'update-minimal' as the command. See attachment

Comment 11 Ivan Necas 2017-08-16 12:55:59 UTC
Created attachment 1314113 [details]
verification screenshot

Comment 12 Satellite Program 2018-02-21 16:51:07 UTC
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/RHSA-2018:0336