Bug 855095 - unit_copy with depencency resolution from unpublished repo results in confusing error
Summary: unit_copy with depencency resolution from unpublished repo results in confusi...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: user-experience
Version: Master
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 2.1.0
Assignee: Todd Sanders
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-06 16:50 UTC by Justin Sherrill
Modified: 2013-09-09 16:33 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-04-08 15:59:54 UTC
Embargoed:


Attachments (Terms of Use)

Description Justin Sherrill 2012-09-06 16:50:13 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.  Create RepoA and sync some rpms to it
2.  Create RepoB, and unit copy some rpms from RepoA (DO NOT PUBLISH RepoB)
3.  Create RepoC
3.  Attempt to unit_copy one or more rpms from RepoB to RepoC  with dependency solving enabled.
  
Actual results:
Error in pulp.log when task is executed:     

raise Errors.NoMoreMirrorsRepoError, errstr


Expected results:

Some more meaningful error indicating that RepoB (the source repo) needs to be published before pulp can dependency solve

Additional info:

Ideally this check would happen before the unit_copy is attempted, so the task doesn't get started and I have to check its status.

Comment 1 Pradeep Kilambi 2013-01-31 20:39:32 UTC
fixed! metadata is now generated on the fly as part of the unit copy operation with dep resolution.

Comment 2 Pradeep Kilambi 2013-02-04 15:23:55 UTC
merged to master

Comment 3 Jeff Ortel 2013-02-05 20:57:09 UTC
build: 2.1.0-0.3.alpha

Comment 90 Preethi Thomas 2013-04-08 15:59:54 UTC
Pulp 2.1 released 


http://www.pulpproject.org/2013/04/05/pulp-2-1-0-released/


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