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 1773648

Summary: [RFE] Do not run 'satellite-installer --upgrade' when running 'satellite-maintain packages install' when installing packages from baseOS repo
Product: Red Hat Satellite Reporter: Mike McCune <mmccune>
Component: Satellite MaintainAssignee: Anurag Patel <apatel>
Status: CLOSED WONTFIX QA Contact: Jameer Pathan <jpathan>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.7.0CC: apatel, dsynk, garimasingh7456, inecas, jpathan, kgaikwad, mbacovsk, mvanderw, sokeeffe, wpinheir
Target Milestone: UnspecifiedKeywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-19 21:34:42 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:

Description Mike McCune 2019-11-18 16:03:45 UTC
We can skip the time and cost of running the upgrade routine when installing packages from *non* Satellite repos via 'satellite-maintain packages install', eg the baseOS repos.

This will eliminate the required outages for simple package installs and speed up installation of said packages, eg, this type of package install should not run the upgrade:


# satellite-maintain packages install zsh
...
Resolving Dependencies
--> Running transaction check
---> Package zsh.x86_64 0:5.0.2-33.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================
 Package                                              
==========================================================
Installing:
 zsh                                                    

Transaction Summary
==========================================================
Install  1 Package

Total download size: 2.4 M
Installed size: 5.6 M
Downloading packages:
zsh-5.0.2-33.el7.x86_64.rpm
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : zsh-5.0.2-33.el7.x86_64                                                                                                                                                                                                                                                                                    1/1 
  Verifying  : zsh-5.0.2-33.el7.x86_64                                                                                                                                                                                                                                                                                    1/1 

Installed:
  zsh.x86_64 0:5.0.2-33.el7                                                                                                                                                                                                                                                                                                   

Complete!
                                                    [OK]
--------------------------------------------------------------------------------
Running satellite-installer --upgrade --disable-system-checks: 
  foreman-tail | tee upgrade-$(date +%Y-%m-%d-%H%M).log
Upgrade Step: stop_services...
...

Comment 3 Mike McCune 2019-11-18 18:18:34 UTC
relevant docs bug:

https://bugzilla.redhat.com/show_bug.cgi?id=1772371

Comment 4 maria121 2019-12-25 18:03:15 UTC Comment hidden (spam)
Comment 5 Sean O'Keeffe 2020-05-01 09:11:56 UTC
Just to note, f-m cannot rely on purely the 'action' as yum in RHEL 7 will also install an update if available, for example `yum install foo` will also update foo if there is an update available.

Comment 6 Mike McCune 2020-12-09 22:18:18 UTC
Upon review of our valid but aging backlog the Satellite Team has concluded that this Bugzilla does not meet the criteria for a resolution in the near term, and are planning to close in approximately a month. If you have any concerns about this, please contact your Red Hat Account team.  Thank you.

Comment 7 Mike McCune 2021-01-19 21:27:40 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact your Red Hat Account Team. Thank you.