Bug 750861

Summary: Need to handle error on trying to export while sync is going on
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: user-experienceAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED WONTFIX QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: jason.dobies, skarmark
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-21 14:22:52 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-02 15:38:49 UTC
Description of problem:

repo export blows up with Index error while repo sync is going on,


[root@preethi ~]# pulp-admin repo export --id=f14  -t /tmp/f14 --status
+------------------------------------------+
               Status for f14
+------------------------------------------+
Step: Export in progress (/)

[root@preethi ~]# pulp-admin repo export --id=f14  -t /tmp/f14 -F
Export on repository f14 started
You can safely CTRL+C this current command and it will continue
Step: Export in progress (-)
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 1847, in run
    utils.system_exit(os.EX_DATAERR, _("Error: %s" % e[1]))
IndexError: tuple index out of range

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

Comment 1 Jay Dobies 2012-11-21 14:22:52 UTC
This is taken care of by the coordinator in v2. There are no new planned builds for v1 so I'm closing this out.