Bug 754120 - repo clone failing
Summary: repo clone failing
Keywords:
Status: CLOSED NOTABUG
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-11-15 13:27 UTC by Preethi Thomas
Modified: 2013-09-09 16:35 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-15 19:09:31 UTC


Attachments (Terms of Use)

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


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