Bug 790219

Summary: Creating custom errata needs more feedback when affected package not found
Product: [Retired] Pulp Reporter: Jeff Ortel <jortel>
Component: z_otherAssignee: pulp-bugs
Status: CLOSED UPSTREAM QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: rbarlow, tsanders
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-28 21:33:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jeff Ortel 2012-02-13 23:10:50 UTC
When creating a custom errata, the CSV of "affected packages" search can fail to match a package in pulp when fields are blank.  When this happens, no feedback is given in either the REST API reply or CLI output.  There is nothing in the pulp.log to indicate that the empty field(s) caused the package to not be found in pulp.  The errata is just created.

Another issues is that the "affected packages" seems to be matched on the filename/checksum in the CSV but when matching to applicable consumers, uses the NEVRA specified in the CVS.  Since the NEVRA can be different than the package referened by the filename/checksum, users can create an errata that appears to reference the correct package but will not match on NEVRA when applying to consumers as expected.

Comment 1 Pradeep Kilambi 2012-02-14 14:10:26 UTC
i discussed this with jeff on irc. His csv had some missing information, today if the pkg info is incomplete, we log a debug statement and continue with next package. We could change the debug to info in this case, or print to stdout if necessary.

Comment 87 Randy Barlow 2013-12-23 22:09:25 UTC
I'm not sure if this is still an issue, but it probably is medium priority.

Comment 88 Brian Bouterse 2015-02-28 21:33:19 UTC
Moved to https://pulp.plan.io/issues/334