Red Hat Bugzilla – 1773648 – [RFE] Do not run 'satellite-installer --upgrade' when running 'satellite-maintain packages install' when installing packages from baseOS repo
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.
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...
...
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.
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.
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.
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... ...