Project

Profile

Help

Issue #1464

closed

Errata installation will install all available kernel packages instead of installing only the latest version

Added by mhrivnak about 8 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
-
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."

Actions #1

Updated by mhrivnak about 8 years ago

  • Priority changed from High to Normal
  • Platform Release set to 2.8.0
  • Triaged changed from No to Yes
Actions #2

Updated by semyers about 8 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to semyers
Actions #3

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

Revision 7cf48c81 | View on GitHub

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

Actions #4

Updated by semyers about 8 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #5

Updated by dkliban@redhat.com about 8 years ago

  • Status changed from MODIFIED to 5
Actions #6

Updated by dkliban@redhat.com almost 8 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #8

Updated by bmbouter almost 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF