Bug 765799 - not able to add filter to clone
Summary: not able to add filter to clone
Keywords:
Status: CLOSED DUPLICATE of bug 760607
Alias: None
Product: Pulp
Classification: Retired
Component: user-experience
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Pradeep Kilambi
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-09 13:20 UTC by Preethi Thomas
Modified: 2013-09-09 16:29 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-09 13:39:13 UTC


Attachments (Terms of Use)

Description Preethi Thomas 2011-12-09 13:20:19 UTC
Description of problem:

[root@preethi ~]# pulp-admin repo clone --id=rhel6 --clone_id=rhel6-clone1 --feed=parent --relativepath=clone2 -F -f blacklist
Repository [rhel6] is being cloned as [rhel6-clone1]
Clone: Error
Item Details: 
Tree Files: 6/6
RPMs: 3528/3529
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



[root@preethi ~]# tail -f /var/log/pulp/pulp.log 
  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



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

[root@preethi ~]# rpm -q pulp
pulp-0.0.254-4.fc15.noarch

Comment 1 Pradeep Kilambi 2011-12-09 13:39:13 UTC

*** This bug has been marked as a duplicate of bug 760607 ***


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