Bug 737092

Summary: cloning repo fails with index out of range
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-09-09 17:54:45 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-09-09 15:26:26 UTC
Description of problem:
[root@preethi ~]# pulp-admin repo clone --id=pulp --clone_id=pulp-clone --clone_name=pulp-clone --feed=origin --relativepath=/pulp-clone1/ -F
Repository [pulp] is being cloned as [pulp-clone]
Clone: Error
Item Details: 
Rpms: 16/16
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 609, in run
    self.clone_foreground(task)
  File "/usr/lib/python2.7/site-packages/pulp/client/admin/plugins/repo.py", line 582, in clone_foreground
    raise SyncError(task['traceback'][-1])
repo.SyncError: IndexError: tuple index out of range

[root@preethi ~]# 
[root@preethi ~]# 


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

Comment 1 Preethi Thomas 2011-09-09 17:54:45 UTC
Looks like this just happened on this box. Couldn't reproduce it again on another box

[root@pulp-f15 ~]# pulp-admin -u admin -p admin repo clone --id=pulp1 --clone_id=pulp-clone1 --clone_name=pulp-clone1 --feed=origin -F
Repository [pulp1] is being cloned as [pulp-clone1]
Clone: Finished
Item Details: 
Rpms: 15/15

[root@pulp-f15 ~]# rpm -q pulp
pulp-0.0.230-3.fc15.noarch
[root@pulp-f15 ~]#