|
[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:26:52,760 - DEBUG - sending GET request to /pulp/api/v2/repositories/ingenico-front-dev-el6-x86_64/
|
|
2016-04-06 18:26:52,838 - INFO - GET request to /pulp/api/v2/repositories/ingenico-front-dev-el6-x86_64/ with parameters None
|
|
2016-04-06 18:26:52,838 - INFO - Response status : 200
|
|
|
|
2016-04-06 18:26:52,838 - 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:26:26Z",
|
|
"content_unit_counts": {
|
|
"rpm": 687
|
|
},
|
|
"last_unit_added": "2016-04-06T16:21:41Z",
|
|
"_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:26:52,843 - DEBUG - sending POST request to /pulp/api/v2/content/uploads/
|
|
2016-04-06 18:26:52,922 - INFO - POST request to /pulp/api/v2/content/uploads/ with parameters None
|
|
2016-04-06 18:26:52,922 - INFO - Response status : 201
|
|
|
|
2016-04-06 18:26:52,922 - INFO - Response body :
|
|
{
|
|
"upload_id": "10902836-d915-4cff-a7af-df39e7d2aed6",
|
|
"_href": "/pulp/api/v2/content/uploads/10902836-d915-4cff-a7af-df39e7d2aed6/"
|
|
}
|
|
|
|
... 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:26:52,924 - DEBUG - sending PUT request to /pulp/api/v2/content/uploads/10902836-d915-4cff-a7af-df39e7d2aed6/0/
|
|
2016-04-06 18:26:53,053 - INFO - PUT request to /pulp/api/v2/content/uploads/10902836-d915-4cff-a7af-df39e7d2aed6/0/
|
|
2016-04-06 18:26:53,054 - INFO - Response status : 200
|
|
|
|
2016-04-06 18:26:53,054 - INFO - Response body :
|
|
null
|
|
|
|
[==================================================] 100%
|
|
474063/474063 bytes
|
|
... completed
|
|
|
|
Importing into the repository...
|
|
2016-04-06 18:26:53,064 - DEBUG - sending POST request to /pulp/api/v2/repositories/ingenico-front-dev-el6-x86_64/actions/import_upload/
|
|
2016-04-06 18:26:53,233 - 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": "10902836-d915-4cff-a7af-df39e7d2aed6", "unit_key": {}, "unit_metadata": {"checksumtype": "sha1"}}
|
|
2016-04-06 18:26:53,233 - INFO - Response status : 202
|
|
|
|
2016-04-06 18:26:53,234 - INFO - Response body :
|
|
{
|
|
"spawned_tasks": [
|
|
{
|
|
"_href": "/pulp/api/v2/tasks/1e5cad33-bacd-4da0-bc11-d8cc8980c26c/",
|
|
"task_id": "1e5cad33-bacd-4da0-bc11-d8cc8980c26c"
|
|
}
|
|
],
|
|
"result": null,
|
|
"error": null
|
|
}
|
|
|
|
This command may be exited via ctrl+c without affecting the request.
|
|
|
|
|
|
[-]
|
|
Running...
|
|
2016-04-06 18:26:54,238 - DEBUG - sending GET request to /pulp/api/v2/tasks/1e5cad33-bacd-4da0-bc11-d8cc8980c26c/
|
|
2016-04-06 18:26:54,342 - INFO - GET request to /pulp/api/v2/tasks/1e5cad33-bacd-4da0-bc11-d8cc8980c26c/ with parameters None
|
|
2016-04-06 18:26:54,342 - INFO - Response status : 200
|
|
|
|
2016-04-06 18:26:54,342 - INFO - Response body :
|
|
{
|
|
"exception": null,
|
|
"task_type": "pulp.server.managers.content.upload.import_uploaded_unit",
|
|
"_href": "/pulp/api/v2/tasks/1e5cad33-bacd-4da0-bc11-d8cc8980c26c/",
|
|
"task_id": "1e5cad33-bacd-4da0-bc11-d8cc8980c26c",
|
|
"tags": [
|
|
"pulp:repository:ingenico-front-dev-el6-x86_64",
|
|
"pulp:action:import_upload"
|
|
],
|
|
"finish_time": "2016-04-06T16:26:52Z",
|
|
"_ns": "task_status",
|
|
"start_time": "2016-04-06T16:26:52Z",
|
|
"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": "570538cc14d51e75b167fb86"
|
|
},
|
|
"id": "570538cc14d51e75b167fb86"
|
|
[\]
|
|
Running...
|
|
|
|
Task Succeeded
|
|
|
|
|
|
Deleting the upload request...
|
|
2016-04-06 18:26:54,344 - DEBUG - sending DELETE request to /pulp/api/v2/content/uploads/10902836-d915-4cff-a7af-df39e7d2aed6/
|
|
2016-04-06 18:26:54,419 - INFO - DELETE request to /pulp/api/v2/content/uploads/10902836-d915-4cff-a7af-df39e7d2aed6/ with parameters None
|
|
2016-04-06 18:26:54,419 - INFO - Response status : 200
|
|
|
|
2016-04-06 18:26:54,420 - 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: 23c6b29a2829d3a329dedf4e6d446c9d4399a30ea4dfec049b0ba7e15b64864f
|
|
Checksumtype: sha256
|
|
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
|