| Summary: | repo clone with filter seems to be failing | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
| Component: | user-experience | Assignee: | Pradeep Kilambi <pkilambi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
pulp.log
2011-12-06 11:11:34,359 27560:139820705769216: pulp.server.tasking.task:ERROR: task:455 Task failed: Task e97543fd-2024-11e1-9b57-002564a85a58: _clone(f15-clone, feed=none, progress_callback=<bound method RepoCloneTask.progress_callback of <pulp.server.api.repo_clone_task.RepoCloneTask object at 0x7f2a838ee710>>, clone_name=f15-clone, relative_path=None, synchronizer=<pulp.server.api.synchronizers.YumSynchronizer object at 0x7f2a8252d750>, filters=['blacklist'], id=f15, groupid=None)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/pulp/server/tasking/task.py", line 404, in run
result = self.callable(*self.args, **self.kwargs)
File "/usr/lib/python2.7/site-packages/pulp/server/api/repo_sync.py", line 136, in _clone
_sync(clone_id, progress_callback=progress_callback, synchronizer=synchronizer)
File "/usr/lib/python2.7/site-packages/pulp/server/api/repo_sync.py", line 272, in _sync
progress_callback, synchronizer, max_speed, threads)
File "/usr/lib/python2.7/site-packages/pulp/server/api/repo_sync.py", line 360, in fetch_content
added_packages = synchronizer.clone_packages_from_source(repo_id, skip_dict)
File "/usr/lib/python2.7/site-packages/pulp/server/api/synchronizers.py", line 306, in clone_packages_from_source
for pkg in pkglist:
NameError: global name 'pkglist' is not defined
commit 8a94f30499a0b28a7305a19ca07623af7ca87e54 *** Bug 765799 has been marked as a duplicate of this bug. *** verified [root@preethi ~]# rpm -q pulp pulp-0.0.254-5.fc15.noarch [root@preethi ~]# pulp-admin -u admin -p admin repo clone --id=f15 --clone_id=f15-clone --clone_name=f15-clone -f blacklist --feed=parent -F Repository [f15] is being cloned as [f15-clone] Clone: Finished Item Details: Tree Files: 5/5 RPMs: 2934/2935 Pulp v1.0 is released Closed Current Release. Pulp v1.0 is released. |
Description of problem: Cloning a repo with filter option results in error [root@preethi ~]# pulp-admin repo clone --id=f15 --clone_id=f15-clone --feed=parent -f blacklist -F Repository [f15] is being cloned as [f15-clone] Clone: Error Item Details: Tree Files: 5/5 RPMs: 2934/2935 Traceback (most recent call last): File "/usr/bin/pulp-admin", line 23, in <module> admin.main() File "/usr/lib/python2.7/site-packages/pulp/client/lib/cli.py", line 152, in main command.main(self.args[1:]) File "/usr/lib/python2.7/site-packages/pulp/client/pluginlib/command.py", line 129, in main action.main(args[1:]) File "/usr/lib/python2.7/site-packages/pulp/client/pluginlib/command.py", line 211, in main self.run() File "/usr/lib/python2.7/site-packages/pulp/client/admin/plugins/repo.py", line 615, in run self.clone_foreground(task) File "/usr/lib/python2.7/site-packages/pulp/client/admin/plugins/repo.py", line 577, in clone_foreground raise SyncError(task['traceback'][-1]) repo.SyncError: NameError: global name 'pkglist' is not defined Version-Release number of selected component (if applicable): [root@preethi ~]# rpm -q pulp pulp-0.0.254-1.fc15.noarch