Bug 790219 - Creating custom errata needs more feedback when affected package not found
Summary: Creating custom errata needs more feedback when affected package not found
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: pulp-bugs
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-13 23:10 UTC by Jeff Ortel
Modified: 2015-02-28 21:33 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-28 21:33:19 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Pulp Redmine 334 0 None None None Never

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


Note You need to log in before you can comment on or make changes to this bug.