Bug 1086278
| Summary: | upload command always says "postponed" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Michael Hrivnak <mhrivnak> | ||||
| Component: | user-experience | Assignee: | Randy Barlow <rbarlow> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 2.4 Beta | CC: | pthomas, rbarlow, skarmark | ||||
| Target Milestone: | --- | Keywords: | Triaged | ||||
| Target Release: | 2.4.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-08-09 06:55:42 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
This is included in today's pulp-2.4.0-0.11.beta build. [root@pulp-24-server ~]# rpm -qa pulp-server
pulp-server-2.4.0-0.11.beta.el6.noarch
[root@pulp-24-server ~]#
[root@pulp-24-server ~]# pulp-admin -u admin -p admin rpm repo uploads list+----------------------------------------------------------------------+
Upload Requests
+----------------------------------------------------------------------+
No outstanding uploads found
[root@pulp-24-server ~]#
[root@pulp-24-server ~]#
[root@pulp-24-server ~]# pulp-admin rpm repo uploads rpm --repo-id uploads -f upload/pulp-test-package-0.2.1-1.fc11.x86_64.rpm -v
+----------------------------------------------------------------------+
Unit Upload
+----------------------------------------------------------------------+
Extracting necessary metadata for each request...
[==================================================] 100%
Analyzing: pulp-test-package-0.2.1-1.fc11.x86_64.rpm
... completed
Files to be uploaded:
pulp-test-package-0.2.1-1.fc11.x86_64.rpm
Creating upload requests on the server...
[==================================================] 100%
Initializing: pulp-test-package-0.2.1-1.fc11.x86_64.rpm
... completed
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-test-package-0.2.1-1.fc11.x86_64.rpm
[==================================================] 100%
2216/2216 bytes
... completed
Importing into the repository...
This command may be exited via ctrl+c without affecting the request.
[\]
Running...
Task Succeeded
Deleting the upload request...
... completed
[root@pulp-24-server ~]# pulp-admin -u admin -p admin rpm repo uploads list+----------------------------------------------------------------------+
Upload Requests
+----------------------------------------------------------------------+
No outstanding uploads found
This has been fixed in Pulp 2.4.0-1. |
Created attachment 884965 [details] upload log Uploading an RPM, the output looks like what's attached. It always ends with the message "Import postponed due to queued operations against the repository. The progress of this import can be viewed in the repository tasks list." That should become a polling operation that reports completion like other async commands.