|
[esabouraud@localhost ~]$ pulp-admin rpm repo content rpm --repo-id=ingenico-front-dev-el6-x86_64 --match 'filename=^axisk.*unstable'
|
|
[esabouraud@localhost ~]$ pulp-admin -vv rpm repo uploads rpm --repo-id=ingenico-front-dev-el6-x86_64 --checksum-type=sha1 --file=/home/esabouraud/rpmbuild/RPMS/x86_64/axisk4-libaxcore5-5.2.4-0.1.unstable.x86_64.rpm
|
|
+----------------------------------------------------------------------+
|
|
Unit Upload
|
|
+----------------------------------------------------------------------+
|
|
|
|
2016-04-06 18:21:41,164 - DEBUG - sending GET request to /pulp/api/v2/repositories/ingenico-front-dev-el6-x86_64/
|
|
2016-04-06 18:21:41,265 - INFO - GET request to /pulp/api/v2/repositories/ingenico-front-dev-el6-x86_64/ with parameters None
|
|
2016-04-06 18:21:41,268 - INFO - Response status : 200
|
|
|
|
2016-04-06 18:21:41,269 - INFO - Response body :
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "ingenico-front-dev-el6-x86_64",
|
|
"description": null,
|
|
"_ns": "repos",
|
|
"notes": {
|
|
"_repo-type": "rpm-repo"
|
|
},
|
|
"last_unit_removed": "2016-04-06T16:20:30Z",
|
|
"content_unit_counts": {
|
|
"rpm": 687
|
|
},
|
|
"last_unit_added": "2016-04-06T16:18:26Z",
|
|
"_id": {
|
|
"$oid": "55e6d3a3b6a4ca4f46d6e2a4"
|
|
},
|
|
"id": "ingenico-front-dev-el6-x86_64",
|
|
"_href": "/pulp/api/v2/repositories/ingenico-front-dev-el6-x86_64/"
|
|
}
|
|
|
|
Extracting necessary metadata for each request...
|
|
[==================================================] 100%
|
|
Analyzing: axisk4-libaxcore5-5.2.4-0.1.unstable.x86_64.rpm
|
|
... completed
|
|
|
|
Creating upload requests on the server...
|
|
[==================================================] 100%
|
|
Initializing: axisk4-libaxcore5-5.2.4-0.1.unstable.x86_64.rpm
|
|
2016-04-06 18:21:41,278 - DEBUG - sending POST request to /pulp/api/v2/content/uploads/
|
|
2016-04-06 18:21:41,355 - INFO - POST request to /pulp/api/v2/content/uploads/ with parameters None
|
|
2016-04-06 18:21:41,356 - INFO - Response status : 201
|
|
|
|
2016-04-06 18:21:41,356 - INFO - Response body :
|
|
{
|
|
"upload_id": "2a96d0b2-ac9b-4fab-83ea-2a09180b98e4",
|
|
"_href": "/pulp/api/v2/content/uploads/2a96d0b2-ac9b-4fab-83ea-2a09180b98e4/"
|
|
}
|
|
|
|
... 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
|
|
canceled entirely using the cancel command.
|
|
|
|
Uploading: axisk4-libaxcore5-5.2.4-0.1.unstable.x86_64.rpm
|
|
2016-04-06 18:21:41,360 - DEBUG - sending PUT request to /pulp/api/v2/content/uploads/2a96d0b2-ac9b-4fab-83ea-2a09180b98e4/0/
|
|
2016-04-06 18:21:41,492 - INFO - PUT request to /pulp/api/v2/content/uploads/2a96d0b2-ac9b-4fab-83ea-2a09180b98e4/0/
|
|
2016-04-06 18:21:41,492 - INFO - Response status : 200
|
|
|
|
2016-04-06 18:21:41,492 - INFO - Response body :
|
|
null
|
|
|
|
[==================================================] 100%
|
|
474063/474063 bytes
|
|
... completed
|
|
|
|
Importing into the repository...
|
|
2016-04-06 18:21:41,496 - DEBUG - sending POST request to /pulp/api/v2/repositories/ingenico-front-dev-el6-x86_64/actions/import_upload/
|
|
2016-04-06 18:21:41,640 - INFO - POST request to /pulp/api/v2/repositories/ingenico-front-dev-el6-x86_64/actions/import_upload/ with parameters {"override_config": {}, "unit_type_id": "rpm", "upload_id": "2a96d0b2-ac9b-4fab-83ea-2a09180b98e4", "unit_key": {}, "unit_metadata": {"checksum_type": "sha1"}}
|
|
2016-04-06 18:21:41,640 - INFO - Response status : 202
|
|
|
|
2016-04-06 18:21:41,641 - INFO - Response body :
|
|
{
|
|
"spawned_tasks": [
|
|
{
|
|
"_href": "/pulp/api/v2/tasks/c3d843fb-d65e-4ce6-bd3b-35a15cf7b6ad/",
|
|
"task_id": "c3d843fb-d65e-4ce6-bd3b-35a15cf7b6ad"
|
|
}
|
|
],
|
|
"result": null,
|
|
"error": null
|
|
}
|
|
|
|
This command may be exited via ctrl+c without affecting the request.
|
|
|
|
|
|
[-]
|
|
Running...
|
|
2016-04-06 18:21:42,645 - DEBUG - sending GET request to /pulp/api/v2/tasks/c3d843fb-d65e-4ce6-bd3b-35a15cf7b6ad/
|
|
2016-04-06 18:21:42,738 - INFO - GET request to /pulp/api/v2/tasks/c3d843fb-d65e-4ce6-bd3b-35a15cf7b6ad/ with parameters None
|
|
2016-04-06 18:21:42,738 - INFO - Response status : 200
|
|
|
|
2016-04-06 18:21:42,738 - INFO - Response body :
|
|
{
|
|
"exception": null,
|
|
"task_type": "pulp.server.managers.content.upload.import_uploaded_unit",
|
|
"_href": "/pulp/api/v2/tasks/c3d843fb-d65e-4ce6-bd3b-35a15cf7b6ad/",
|
|
"task_id": "c3d843fb-d65e-4ce6-bd3b-35a15cf7b6ad",
|
|
"tags": [
|
|
"pulp:repository:ingenico-front-dev-el6-x86_64",
|
|
"pulp:action:import_upload"
|
|
],
|
|
"finish_time": "2016-04-06T16:21:41Z",
|
|
"_ns": "task_status",
|
|
"start_time": "2016-04-06T16:21:41Z",
|
|
"traceback": null,
|
|
"spawned_tasks": [],
|
|
"progress_report": {},
|
|
"queue": "reserved_resource_worker-2@repo.sys.lab.ingenico.com.dq",
|
|
"state": "finished",
|
|
"worker_name": "reserved_resource_worker-2@repo.sys.lab.ingenico.com",
|
|
"result": {
|
|
"details": {},
|
|
"success_flag": true,
|
|
"summary": ""
|
|
},
|
|
"error": null,
|
|
"_id": {
|
|
"$oid": "5705379514d51e75b167fb84"
|
|
},
|
|
"id": "5705379514d51e75b167fb84"
|
|
[\]
|
|
Running...
|
|
|
|
Task Succeeded
|
|
|
|
|
|
Deleting the upload request...
|
|
2016-04-06 18:21:42,739 - DEBUG - sending DELETE request to /pulp/api/v2/content/uploads/2a96d0b2-ac9b-4fab-83ea-2a09180b98e4/
|
|
2016-04-06 18:21:42,815 - INFO - DELETE request to /pulp/api/v2/content/uploads/2a96d0b2-ac9b-4fab-83ea-2a09180b98e4/ with parameters None
|
|
2016-04-06 18:21:42,815 - INFO - Response status : 200
|
|
|
|
2016-04-06 18:21:42,815 - INFO - Response body :
|
|
null
|
|
|
|
... completed
|
|
|
|
[esabouraud@localhost ~]$ pulp-admin rpm repo content rpm --repo-id=ingenico-front-dev-el6-x86_64 --match 'filename=^axisk.*unstable'Arch: x86_64
|
|
Buildhost: localhost.localdomain
|
|
Checksum: 2777d80b9a0160f1e48c3f47ae49521879148143
|
|
Checksumtype: sha1
|
|
Description: Axis CORE library - libsys - libutil - libaxbus
|
|
Epoch: 0
|
|
Filename: axisk4-libaxcore5-5.2.4-0.1.unstable.x86_64.rpm
|
|
License: Other
|
|
Name: axisk4-libaxcore5
|
|
Provides: axisk4-libaxcore5 = 5.2.4-0.1.unstable-0,
|
|
axisk4-libaxcore5(x86-64) = 5.2.4-0.1.unstable-0
|
|
Release: 0.1.unstable
|
|
Requires: /bin/sh, axisk4-libaxexternal >= 1.8-0, axisk4-libaxmessaging5 >=
|
|
5.1-0
|
|
Vendor: Ingenico
|
|
Version: 5.2.4
|