Actions
Issue #1464
closedErrata installation will install all available kernel packages instead of installing only the latest version
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.6.0
Platform Release:
2.8.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
When doing an errata install on a managed host via gofer, all available kernel version get installed instead of only the latest.
From the bugzilla report, pulp/gofer "will try to install each and every kernel erratas separately on the host instead of installing the latest kernel version and thus causing the space constraints in /boot directory of the client system."
Updated by mhrivnak over 8 years ago
- Priority changed from High to Normal
- Platform Release set to 2.8.0
- Triaged changed from No to Yes
Updated by semyers over 8 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to semyers
Updated by semyers about 8 years ago
- Status changed from ASSIGNED to POST
https://github.com/pulp/pulp_rpm/pull/785
I did two errata install runs on identical boxes. The first was without this patch, the second was with this patch. Note that there is only one new kernel package in the patched version, instead of four (I installed 4 kernel errata to test).
unpatched:
--- /home/pulp/before 2016-01-28 15:02:30.157000000 -0500
+++ /home/pulp/after 2016-01-28 15:25:01.273000000 -0500
@@ -180,9 +180,13 @@
kbd-1.15.5-10.el7.x86_64
kbd-misc-1.15.5-10.el7.noarch
kernel-3.10.0-123.el7.x86_64
-kernel-headers-3.10.0-123.20.1.el7.x86_64
-kernel-tools-3.10.0-123.el7.x86_64
-kernel-tools-libs-3.10.0-123.el7.x86_64
+kernel-3.10.0-327.3.1.el7.x86_64
+kernel-3.10.0-327.4.4.el7.x86_64
+kernel-3.10.0-327.4.5.el7.x86_64
+kernel-3.10.0-327.el7.x86_64
+kernel-headers-3.10.0-327.4.5.el7.x86_64
+kernel-tools-3.10.0-327.4.5.el7.x86_64
+kernel-tools-libs-3.10.0-327.4.5.el7.x86_64
kexec-tools-2.0.4-32.el7.x86_64
keyutils-libs-1.5.8-3.el7.x86_64
kmod-20-5.el7.x86_64
patched:
--- /home/pulp/before 2016-01-28 16:45:30.500000000 -0500
+++ /home/pulp/after 2016-01-28 16:48:40.178000000 -0500
@@ -180,9 +180,10 @@
kbd-1.15.5-10.el7.x86_64
kbd-misc-1.15.5-10.el7.noarch
kernel-3.10.0-123.el7.x86_64
-kernel-headers-3.10.0-123.20.1.el7.x86_64
-kernel-tools-3.10.0-123.el7.x86_64
-kernel-tools-libs-3.10.0-123.el7.x86_64
+kernel-3.10.0-327.4.5.el7.x86_64
+kernel-headers-3.10.0-327.4.5.el7.x86_64
+kernel-tools-3.10.0-327.4.5.el7.x86_64
+kernel-tools-libs-3.10.0-327.4.5.el7.x86_64
kexec-tools-2.0.4-32.el7.x86_64
keyutils-libs-1.5.8-3.el7.x86_64
kmod-20-5.el7.x86_64
Added by semyers about 8 years ago
Updated by semyers about 8 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset 7cf48c81070b16b46727adc80cfb9fcc2d2d165a.
Updated by dkliban@redhat.com about 8 years ago
- Status changed from MODIFIED to 5
Updated by dkliban@redhat.com about 8 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
Actions
When installing units referenced by errata, only install the latest unit
This only really affects installing kernel packages, since that is the only package I know of that allows installing multiple versions, but without this fix pulp consumers will install all packages referenced by errata that are being installed, even if one errata references a newer version of a package than another errata.
https://pulp.plan.io/issues/1464 fixes #1464