Description of problem: If you use a wrong repository name in repo upload, the upload stays in paused state. But there is no option to use a different repo name with resume. So these uploads in the paused state stays there until you specifically cancel the upload Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: root@cloud-qe-9 ~]# pulp-admin rpm repo uploads resume +----------------------------------------------------------------------+ Upload Requests +----------------------------------------------------------------------+ Select one or more uploads to resume: - 1 : pulp-dot-2.0-test-0.1.2-1.fc11.x86_64.rpm - 2 : pulp-test-package-0.2.1-1.fc11.x86_64.rpm - 3 : pulp-test-package-0.3.1-1.fc11.x86_64.rpm Enter value (1-3) to toggle selection, 'c' to confirm selections, or '?' for more commands: 1 Select one or more uploads to resume: x 1 : pulp-dot-2.0-test-0.1.2-1.fc11.x86_64.rpm - 2 : pulp-test-package-0.2.1-1.fc11.x86_64.rpm - 3 : pulp-test-package-0.3.1-1.fc11.x86_64.rpm Enter value (1-3) to toggle selection, 'c' to confirm selections, or '?' for more commands: c Resuming upload for: pulp-dot-2.0-test-0.1.2-1.fc11.x86_64.rpm Starting upload of selected units. If this process is stopped through ctrl+c, the uploads will be paused and may be resumed later using the resume command or cancelled entirely using the cancel command. Uploading: pulp-dot-2.0-test-0.1.2-1.fc11.x86_64.rpm ... completed Importing into the repository... The following resource(s) could not be found: uploads (repository) Actual results: Expected results: Additional info:
https://github.com/pulp/pulp/pull/683
build: 2.4.0-0.7.beta
[root@pulp-24-server ~]# rpm -qa pulp-server pulp-server-2.4.0-0.9.beta.el6.noarch [root@pulp-24-server ~]# [root@pulp-24-server upload]# pulp-admin rpm repo uploads rpm --repo-id upload --dir /root/upload/ +----------------------------------------------------------------------+ Unit Upload +----------------------------------------------------------------------+ The following resource(s) could not be found: upload (repo) [root@pulp-24-server upload]#
This has been fixed in Pulp 2.4.0-1.