-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Speed up installation of patches #133
Comments
Also you can try to get rid of unneeded transactions, I see that you're already trying to look at dependencies, but you're failing to recognize them example:
You are failing to notice that cryptsetup has cryptsetup-lib as dependency Also it seems you try to install it twice, even though the first command succeeded:
and that means a couple of lines further down in the logs you try to install cryptsetup-lib even though it was already installed as part of cryptsetup installation:
Even though this whole path is unnecessary because you should notice that it was installed as a dependent package already you also here run yum multiple times, even though the first command already tells you that the version you're trying to install is already installed. Greetings |
And just as a simple speed comparison:
Both VMs same hardware B4ms, same region, same VNet etc. and I update all packages that are in rhui (without reboot)
Less than 9 Minutes Update Extension: |
Thanks for the detailed feedback. There are two things here:
|
Hi, the general speed is currently more on the "unacceptable" side of things. Something that could take less than twenty minutes takes 7 hours :) During a "normal" update window this is not that important, I rarely see more than a couple of packages. But every 6 months there is a minor version update for rhel8, that includes hundreds of packages. So whatever is making updating hundreds of packages really slow needs to be addressed. I only looked at the log output -- but it felt like there are sleeps between the yum operations, maybe for telemetry? Or is that just because log output gets written after yum operation concludes? |
Any updates here @kjohn-msft ? with rhel 8.6 just released that means that you'll have a lot of servers that need updates with hundreds of packages. |
Hi @kjohn-msft ! |
@jmapro I gave up, I now do OS Updates with AWX and Ansible ... :) Cut down my usual maintenance duration to like 5 Minutes, and even a minor upgrade (like rhel 8.8 -> 8.9) will only take like 20 minutes. This used to take like 3-4 hours with the azure update management ... :) |
Facing the same issue on Ubuntu 22.04 and |
Currently you are doing a lot of yum/dnf transactions because you try to update all packages individually. While this makes sense if you conditionally patch servers, we usually update all packages during maintenance windows. An unconditional
yum update
/dnf update
could speed up the update process a lot.I would very much like the option to just update all packages, maybe with a fallback to individual packages or
yum update --skip-broken
/dnf update --nobest
in case of dependency errors.Greetings
Klaas
The text was updated successfully, but these errors were encountered: