|
pulp-admin -vv rpm repo sync run --repo-id=test-repo-x86_64-live
|
|
|
|
+----------------------------------------------------------------------+
|
|
Synchronizing Repository [test-repo-x86_64-live]
|
|
+----------------------------------------------------------------------+
|
|
|
|
2016-03-04 11:47:59,894 - DEBUG - sending POST request to /pulp/api/v2/tasks/search/
|
|
2016-03-04 11:47:59,973 - INFO - POST request to /pulp/api/v2/tasks/search/ with parameters {"criteria": {"filters": {"state": {"$nin": ["finished", "error", "canceled", "skipped"]}, "tags": {"$all": ["pulp:repository:test-repo-x86_64-live", "pulp:action:sync"]}}}}
|
|
2016-03-04 11:47:59,973 - INFO - Response status : 200
|
|
|
|
2016-03-04 11:47:59,973 - INFO - Response body :
|
|
[]
|
|
|
|
2016-03-04 11:47:59,973 - DEBUG - sending POST request to /pulp/api/v2/repositories/test-repo-x86_64-live/actions/sync/
|
|
2016-03-04 11:48:00,058 - INFO - POST request to /pulp/api/v2/repositories/test-repo-x86_64-live/actions/sync/ with parameters {"override_config": null}
|
|
2016-03-04 11:48:00,058 - INFO - Response status : 202
|
|
|
|
2016-03-04 11:48:00,058 - INFO - Response body :
|
|
{
|
|
"spawned_tasks": [
|
|
{
|
|
"_href": "/pulp/api/v2/tasks/8ec1b1d7-5184-4c20-ae3e-d5cc27f2835b/",
|
|
"task_id": "8ec1b1d7-5184-4c20-ae3e-d5cc27f2835b"
|
|
}
|
|
],
|
|
"result": null,
|
|
"error": null
|
|
}
|
|
|
|
This command may be exited via ctrl+c without affecting the request.
|
|
|
|
|
|
2016-03-04 11:48:01,060 - DEBUG - sending GET request to /pulp/api/v2/tasks/8ec1b1d7-5184-4c20-ae3e-d5cc27f2835b/
|
|
2016-03-04 11:48:01,140 - INFO - GET request to /pulp/api/v2/tasks/8ec1b1d7-5184-4c20-ae3e-d5cc27f2835b/ with parameters None
|
|
2016-03-04 11:48:01,140 - INFO - Response status : 200
|
|
|
|
2016-03-04 11:48:01,140 - INFO - Response body :
|
|
{
|
|
"exception": null,
|
|
"task_type": "pulp.server.managers.repo.sync.sync",
|
|
"_href": "/pulp/api/v2/tasks/8ec1b1d7-5184-4c20-ae3e-d5cc27f2835b/",
|
|
"task_id": "8ec1b1d7-5184-4c20-ae3e-d5cc27f2835b",
|
|
"tags": [
|
|
"pulp:repository:test-repo-x86_64-live",
|
|
"pulp:action:sync"
|
|
],
|
|
"finish_time": null,
|
|
"_ns": "task_status",
|
|
"start_time": "2016-03-04T16:48:00Z",
|
|
"traceback": null,
|
|
"spawned_tasks": [],
|
|
"progress_report": {
|
|
"yum_importer": {
|
|
"content": {
|
|
"size_total": 0,
|
|
"items_left": 0,
|
|
"items_total": 0,
|
|
"state": "NOT_STARTED",
|
|
"size_left": 0,
|
|
"details": {
|
|
"rpm_total": 0,
|
|
"rpm_done": 0,
|
|
"drpm_total": 0,
|
|
"drpm_done": 0
|
|
},
|
|
"error_details": []
|
|
},
|
|
"comps": {
|
|
"state": "NOT_STARTED"
|
|
},
|
|
"purge_duplicates": {
|
|
"state": "NOT_STARTED"
|
|
},
|
|
"distribution": {
|
|
"items_total": 0,
|
|
"state": "NOT_STARTED",
|
|
"error_details": [],
|
|
"items_left": 0
|
|
},
|
|
"errata": {
|
|
"state": "NOT_STARTED"
|
|
},
|
|
"metadata": {
|
|
"state": "NOT_STARTED"
|
|
}
|
|
}
|
|
},
|
|
"queue": "reserved_resource_worker-1@pulp-server-dev-idc-prg001.mgm.test.com.dq",
|
|
"state": "running",
|
|
"worker_name": "reserved_resource_worker-1@pulp-server-dev-idc-prg001.mgm.test.com",
|
|
"result": null,
|
|
"error": null,
|
|
"_id": {
|
|
"$oid": "56d9bc40d305bcaf620dcfc8"
|
|
},
|
|
"id": "56d9bc40d305bcaf620dcfc8"
|
|
}
|
|
|
|
2016-03-04 11:48:02,141 - DEBUG - sending GET request to /pulp/api/v2/tasks/8ec1b1d7-5184-4c20-ae3e-d5cc27f2835b/
|
|
2016-03-04 11:48:02,221 - INFO - GET request to /pulp/api/v2/tasks/8ec1b1d7-5184-4c20-ae3e-d5cc27f2835b/ with parameters None
|
|
2016-03-04 11:48:02,221 - INFO - Response status : 200
|
|
|
|
2016-03-04 11:48:02,221 - INFO - Response body :
|
|
{
|
|
"exception": null,
|
|
"task_type": "pulp.server.managers.repo.sync.sync",
|
|
"_href": "/pulp/api/v2/tasks/8ec1b1d7-5184-4c20-ae3e-d5cc27f2835b/",
|
|
"task_id": "8ec1b1d7-5184-4c20-ae3e-d5cc27f2835b",
|
|
"tags": [
|
|
"pulp:repository:test-repo-x86_64-live",
|
|
"pulp:action:sync"
|
|
],
|
|
"finish_time": "2016-03-04T16:48:01Z",
|
|
"_ns": "task_status",
|
|
"start_time": "2016-03-04T16:48:00Z",
|
|
"traceback": "Traceback (most recent call last):\n File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 240, in trace_task\n R = retval = fun(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 473, in __call__\n return super(Task, self).__call__(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 103, in __call__\n return super(PulpTask, self).__call__(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 437, in __protected_call__\n return self.run(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 757, in sync\n sync_report = sync_repo(transfer_repo, conduit, call_config)\n File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 658, in wrap_f\n return f(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/importer.py\", line 81, in sync_repo\n report = self._current_sync.run()\n File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/sync.py\", line 199, in run\n raise PulpCodedException(error_code=error_codes.RPM1004, reason='Not found')\nPulpCodedException: Error retrieving metadata: Not found\n",
|
|
"spawned_tasks": [],
|
|
"progress_report": {
|
|
"yum_importer": {
|
|
"content": {
|
|
"size_total": 0,
|
|
"items_left": 0,
|
|
"items_total": 0,
|
|
"state": "NOT_STARTED",
|
|
"size_left": 0,
|
|
"details": {
|
|
"rpm_total": 0,
|
|
"rpm_done": 0,
|
|
"drpm_total": 0,
|
|
"drpm_done": 0
|
|
},
|
|
"error_details": []
|
|
},
|
|
"comps": {
|
|
"state": "NOT_STARTED"
|
|
},
|
|
"purge_duplicates": {
|
|
"state": "NOT_STARTED"
|
|
},
|
|
"distribution": {
|
|
"items_total": 0,
|
|
"state": "NOT_STARTED",
|
|
"error_details": [],
|
|
"items_left": 0
|
|
},
|
|
"errata": {
|
|
"state": "NOT_STARTED"
|
|
},
|
|
"metadata": {
|
|
"state": "NOT_STARTED"
|
|
}
|
|
}
|
|
},
|
|
"queue": "reserved_resource_worker-1@pulp-server-dev-idc-prg001.mgm.test.com.dq",
|
|
"state": "error",
|
|
"worker_name": "reserved_resource_worker-1@pulp-server-dev-idc-prg001.mgm.test.com",
|
|
"result": null,
|
|
"error": {
|
|
"code": "RPM1004",
|
|
"data": {
|
|
"reason": "Not found"
|
|
},
|
|
"description": "Error retrieving metadata: Not found",
|
|
"sub_errors": []
|
|
},
|
|
"_id": {
|
|
"$oid": "56d9bc40d305bcaf620dcfc8"
|
|
},
|
|
"id": "56d9bc40d305bcaf620dcfc8"
|
|
}
|
|
|
|
|
|
Task Failed
|
|
|
|
Error retrieving metadata: Not found
|