Red Hat Bugzilla – Bug 855095
unit_copy with depencency resolution from unpublished repo results in confusing error
Last modified: 2013-09-09 12:33:54 EDT
Description of problem:
Version-Release number of selected component (if applicable):
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.
Error in pulp.log when task is executed:
raise Errors.NoMoreMirrorsRepoError, errstr
Some more meaningful error indicating that RepoB (the source repo) needs to be published before pulp can dependency solve
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.
fixed! metadata is now generated on the fly as part of the unit copy operation with dep resolution.
merged to master
Pulp 2.1 released