Bug 754120

Summary: repo clone failing
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: user-experienceAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED NOTABUG 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: 2011-11-15 19:09:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Preethi Thomas 2011-11-15 13:27:15 UTC
Description of problem:
Looks like a regression on repo clone

[root@preethi ~]# pulp-admin -u admin -p admin repo clone  --id=f16 --clone_id=f16-clone --feed=origin -F
Repository [f16] is being cloned as [f16-clone]
Waiting /
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 625, in run
    self.clone_foreground(task)
  File "/usr/lib/python2.7/site-packages/pulp/client/admin/plugins/repo.py", line 585, in clone_foreground
    self.print_clone_finish(task['state'], task['progress'])
  File "/usr/lib/python2.7/site-packages/pulp/client/admin/plugins/repo.py", line 566, in print_clone_finish
    current += self.form_progress_item_details(progress["details"])
TypeError: 'NoneType' object is not subscriptable
[root@preethi ~]# 
[root@preethi ~]# 


Version-Release number of selected component (if applicable):
[root@preethi ~]# rpm -q pulp
pulp-0.0.248-1.fc15.noarch

Comment 1 Preethi Thomas 2011-11-15 19:09:31 UTC
looks like not a bug

[root@preethi ~]# pulp-admin repo clone --id=f15 --clone_repo=f15-clone --feed=origin -F
Usage: pulp-admin <options> repo clone <options>

pulp-admin: error: no such option: --clone_repo
[root@preethi ~]# pulp-admin repo clone --id=f15 --clone_id=f15-clone --feed=origin -F
Repository [f15] is being cloned as [f15-clone]
Clone: Finished
Item Details: 
Tree Files: 5/5
RPMs: 2935/2935