Bug 855095

Summary: unit_copy with depencency resolution from unpublished repo results in confusing error
Product: [Retired] Pulp Reporter: Justin Sherrill <jsherril>
Component: user-experienceAssignee: Todd Sanders <tsanders>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: MasterCC: jason.dobies, skarmark
Target Milestone: ---Keywords: Triaged
Target Release: 2.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-08 15:59:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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/