Actions
Issue #833
closedolder errata units may have 'null' in database for pkglist package epoch
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
2.4.3
Platform Release:
2.6.1
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
During testing of a different patch, Justin Sherrill discovered that some errata were not being applied to systems. This was only occurring for errata with package lists that did not contain an epoch. Example metadata:
<package arch="noarch" name="foo-package" release="8.el7ev" src="foo-package.src.rpm" version="1.0.9">
<filename>foo-package.noarch.rpm</filename>
</package>
Note the lack of "epoch" in the package XML attributes.
Pulp should default to use '0' when the epoch does not exist.
Related issues
Updated by mhrivnak over 9 years ago
- Priority changed from Normal to High
- Severity changed from 2. Medium to 3. High
Branch from 2.4 for this fix.
Updated by cduryee over 9 years ago
I sent a patch to Justin that worked for him. I need to create repro steps for QE before creating a PR however.
Added by cduryee over 9 years ago
Updated by cduryee over 9 years ago
- Status changed from ASSIGNED to POST
Updated by cduryee over 9 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset 04dd6c239a41081efd2fac58cb33f26db4e9efeb.
Updated by dkliban@redhat.com over 9 years ago
- Status changed from MODIFIED to 5
Updated by pthomas@redhat.com over 9 years ago
- Status changed from 5 to 6
verified
[root@qe-blade-13 ~]# pulp-admin rpm consumer errata install run --consumer-id rhel7 --errata-id RHBA-2014:1010
Warning: path should have mode 0700 because it may contain sensitive information: /root/.pulp/
Install task created with id [ 9bd7df2f-b4b2-4df9-8e69-25e8773cabb1 ]
This command may be exited via ctrl+c without affecting the request.
Refresh Repository Metadata [ OK ]
Downloading Packages [ OK ]
Check Package Signatures [ OK ]
Running Test Transaction [ OK ]
Running Transaction [ OK ]
Install Succeeded
+----------------------------------------------------------------------+
Installed
+----------------------------------------------------------------------+
Name: rhevm-guest-agent-common
Version: 1.0.9
Arch: noarch
Repoid: rhel
<\pre>
Updated by dkliban@redhat.com about 9 years ago
- Status changed from 6 to CLOSED - CURRENTRELEASE
Updated by ttereshc about 8 years ago
- Related to Issue #1926: package without epoch in the erratum pkglist is not handled correctly during publish added
Actions
treat 'epoch' as '0' when it does not exist or is null
Some updateinfo.xml metadata does not contain the
epoch
field in package records. In these cases, Pulp will not be able to find the appropriate RPM.In these cases, we can assume that the epoch should be '0'. This allows Pulp to find the RPM when applying packages to a system.
fixes #833