verified
[root@ibm-x3550m3-09 ~]# pulp-admin -vv rpm repo export run --repo-id rpm --force-full
+----------------------------------------------------------------------+
Publishing Repository [rpm]
+----------------------------------------------------------------------+
The following publish configuration options will be used:
Force Full: True
2016-06-29 16:27:05,586 - DEBUG - sending POST request to /pulp/api/v2/tasks/search/
2016-06-29 16:27:05,779 - INFO - POST request to /pulp/api/v2/tasks/search/ with parameters {"criteria": {"filters": {"state": {"$nin": ["finished", "error", "canceled", "skipped"]}, "tags": {"$all": ["pulp:repository:rpm", "pulp:action:publish"]}}}}
2016-06-29 16:27:05,779 - INFO - Response status : 200
2016-06-29 16:27:05,780 - INFO - Response body :
[]
2016-06-29 16:27:05,780 - DEBUG - sending POST request to /pulp/api/v2/repositories/rpm/actions/publish/
2016-06-29 16:27:05,922 - INFO - POST request to /pulp/api/v2/repositories/rpm/actions/publish/ with parameters {"override_config": {"force_full": true}, "id": "export_distributor"}
2016-06-29 16:27:05,922 - INFO - Response status : 202
2016-06-29 16:27:05,922 - INFO - Response body :
{
"spawned_tasks": [
{
"_href": "/pulp/api/v2/tasks/858c4ca1-f42d-4cbe-a7a2-65d796b1779d/",
"task_id": "858c4ca1-f42d-4cbe-a7a2-65d796b1779d"
}
],
"result": null,
"error": null
}
This command may be exited via ctrl+c without affecting the request.
2016-06-29 16:27:06,924 - DEBUG - sending GET request to /pulp/api/v2/tasks/858c4ca1-f42d-4cbe-a7a2-65d796b1779d/
2016-06-29 16:27:07,066 - INFO - GET request to /pulp/api/v2/tasks/858c4ca1-f42d-4cbe-a7a2-65d796b1779d/ with parameters None
2016-06-29 16:27:07,066 - INFO - Response status : 200
2016-06-29 16:27:07,068 - INFO - Response body :
{
"exception": null,
"task_type": "pulp.server.managers.repo.publish.publish",
"_href": "/pulp/api/v2/tasks/858c4ca1-f42d-4cbe-a7a2-65d796b1779d/",
"task_id": "858c4ca1-f42d-4cbe-a7a2-65d796b1779d",
"tags": [
"pulp:repository:rpm",
"pulp:action:publish"
],
"finish_time": "2016-06-29T14:27:06Z",
"_ns": "task_status",
"start_time": "2016-06-29T14:27:05Z",
"traceback": null,
"spawned_tasks": [],
"progress_report": {
"export_distributor": [
{
"num_success": 1,
"description": "Initializing repo metadata",
"step_type": "initialize_repo_metadata",
"items_total": 1,
"state": "FINISHED",
"error_details": [],
"details": "",
"num_failures": 0,
"step_id": "78816eac-bd06-445c-96da-810e782e9c5b",
"num_processed": 1
},
{
"num_success": 0,
"description": "Publishing Distribution files",
"step_type": "distribution",
"items_total": 0,
"state": "FINISHED",
"error_details": [],
"details": "",
"num_failures": 0,
"step_id": "b736d725-3d42-42ac-a0ff-d9b2f927e82d",
"num_processed": 0
},
{
"num_success": 32,
"description": "Publishing RPMs",
"step_type": "rpms",
"items_total": 32,
"state": "FINISHED",
"error_details": [],
"details": "",
"num_failures": 0,
"step_id": "f6e66e75-11c7-4a16-8286-14505cc0777d",
"num_processed": 32
},
{
"num_success": 0,
"description": "Publishing Delta RPMs",
"step_type": "drpms",
"items_total": 1,
"state": "SKIPPED",
"error_details": [],
"details": "",
"num_failures": 0,
"step_id": "fed0c259-cdaa-4a8a-bb16-fa259bcf2aa4",
"num_processed": 0
},
{
"num_success": 4,
"description": "Publishing Errata",
"step_type": "errata",
"items_total": 4,
"state": "FINISHED",
"error_details": [],
"details": "",
"num_failures": 0,
"step_id": "87fe4f67-182b-4b21-b599-9296bdeb420c",
"num_processed": 4
},
{
"num_success": 4,
"description": "Publishing Comps file",
"step_type": "comps",
"items_total": 4,
"state": "FINISHED",
"error_details": [],
"details": "",
"num_failures": 0,
"step_id": "68d3ca3f-e7a2-4880-945f-7f53c22ac185",
"num_processed": 4
},
{
"num_success": 0,
"description": "Publishing Metadata.",
"step_type": "metadata",
"items_total": 0,
"state": "FINISHED",
"error_details": [],
"details": "",
"num_failures": 0,
"step_id": "1c1179c7-5761-4a33-8519-5c90aad8caad",
"num_processed": 0
},
{
"num_success": 1,
"description": "Closing repo metadata",
"step_type": "close_repo_metadata",
"items_total": 1,
"state": "FINISHED",
"error_details": [],
"details": "",
"num_failures": 0,
"step_id": "0d98de0d-0486-4612-9123-156139ee8835",
"num_processed": 1
},
{
"num_success": 0,
"description": "Generating sqlite files",
"step_type": "generate sqlite",
"items_total": 1,
"state": "SKIPPED",
"error_details": [],
"details": "",
"num_failures": 0,
"step_id": "079fc160-dcc1-4ce4-aac6-05377c1e394e",
"num_processed": 0
},
{
"num_success": 1,
"description": "Copying files",
"step_type": "save_tar",
"items_total": 1,
"state": "FINISHED",
"error_details": [],
"details": "",
"num_failures": 0,
"step_id": "e38a2f6c-3cbb-4ca3-9df2-2f7251f39d31",
"num_processed": 1
},
{
"num_success": 1,
"description": "Writing Listings File",
"step_type": "initialize_repo_metadata",
"items_total": 1,
"state": "FINISHED",
"error_details": [],
"details": "",
"num_failures": 0,
"step_id": "1898118b-9cd1-4a7d-afba-6d3691121c28",
"num_processed": 1
},
{
"num_success": 1,
"description": "Exporting ISO",
"step_type": "save_iso",
"items_total": 1,
"state": "FINISHED",
"error_details": [],
"details": "",
"num_failures": 0,
"step_id": "b92a6ac9-ceae-41ca-938f-66be2459d180",
"num_processed": 1
},
{
"num_success": 1,
"description": "Moving ISO to final location",
"step_type": "publish_directory",
"items_total": 1,
"state": "FINISHED",
"error_details": [],
"details": "",
"num_failures": 0,
"step_id": "e473d784-7cdf-4e29-9f27-d69211363239",
"num_processed": 1
}
]
},
"queue": "reserved_resource_worker-15@ibm-x3550m3-09.lab.eng.brq.redhat.com.dq",
"state": "finished",
"worker_name": "reserved_resource_worker-15@ibm-x3550m3-09.lab.eng.brq.redhat.com",
"result": {
"exception": null,
"repo_id": "rpm",
"started": "2016-06-29T14:27:05Z",
"_ns": "repo_publish_results",
"completed": "2016-06-29T14:27:06Z",
"traceback": null,
"distributor_type_id": "export_distributor",
"error_message": null,
"summary": {
"generate sqlite": "SKIPPED",
"initialize_repo_metadata": "FINISHED",
"rpms": "FINISHED",
"close_repo_metadata": "FINISHED",
"drpms": "SKIPPED",
"comps": "FINISHED",
"errata": "FINISHED",
"distribution": "FINISHED",
"metadata": "FINISHED",
"publish_directory": "FINISHED",
"save_iso": "FINISHED",
"save_tar": "FINISHED"
},
"result": "success",
"distributor_id": "export_distributor",
"id": "5773dabacce1890a9547e8d1",
"details": [
{
"num_success": 1,
"description": "Initializing repo metadata",
"step_type": "initialize_repo_metadata",
"items_total": 1,
"state": "FINISHED",
"error_details": [],
"details": "",
"num_failures": 0,
"step_id": "78816eac-bd06-445c-96da-810e782e9c5b",
"num_processed": 1
},
{
"num_success": 0,
"description": "Publishing Distribution files",
"step_type": "distribution",
"items_total": 0,
"state": "FINISHED",
"error_details": [],
"details": "",
"num_failures": 0,
"step_id": "b736d725-3d42-42ac-a0ff-d9b2f927e82d",
"num_processed": 0
},
{
"num_success": 32,
"description": "Publishing RPMs",
"step_type": "rpms",
"items_total": 32,
"state": "FINISHED",
"error_details": [],
"details": "",
"num_failures": 0,
"step_id": "f6e66e75-11c7-4a16-8286-14505cc0777d",
"num_processed": 32
},
{
"num_success": 0,
"description": "Publishing Delta RPMs",
"step_type": "drpms",
"items_total": 1,
"state": "SKIPPED",
"error_details": [],
"details": "",
"num_failures": 0,
"step_id": "fed0c259-cdaa-4a8a-bb16-fa259bcf2aa4",
"num_processed": 0
},
{
"num_success": 4,
"description": "Publishing Errata",
"step_type": "errata",
"items_total": 4,
"state": "FINISHED",
"error_details": [],
"details": "",
"num_failures": 0,
"step_id": "87fe4f67-182b-4b21-b599-9296bdeb420c",
"num_processed": 4
},
{
"num_success": 4,
"description": "Publishing Comps file",
"step_type": "comps",
"items_total": 4,
"state": "FINISHED",
"error_details": [],
"details": "",
"num_failures": 0,
"step_id": "68d3ca3f-e7a2-4880-945f-7f53c22ac185",
"num_processed": 4
},
{
"num_success": 0,
"description": "Publishing Metadata.",
"step_type": "metadata",
"items_total": 0,
"state": "FINISHED",
"error_details": [],
"details": "",
"num_failures": 0,
"step_id": "1c1179c7-5761-4a33-8519-5c90aad8caad",
"num_processed": 0
},
{
"num_success": 1,
"description": "Closing repo metadata",
"step_type": "close_repo_metadata",
"items_total": 1,
"state": "FINISHED",
"error_details": [],
"details": "",
"num_failures": 0,
"step_id": "0d98de0d-0486-4612-9123-156139ee8835",
"num_processed": 1
},
{
"num_success": 0,
"description": "Generating sqlite files",
"step_type": "generate sqlite",
"items_total": 1,
"state": "SKIPPED",
"error_details": [],
"details": "",
"num_failures": 0,
"step_id": "079fc160-dcc1-4ce4-aac6-05377c1e394e",
"num_processed": 0
},
{
"num_success": 1,
"description": "Copying files",
"step_type": "save_tar",
"items_total": 1,
"state": "FINISHED",
"error_details": [],
"details": "",
"num_failures": 0,
"step_id": "e38a2f6c-3cbb-4ca3-9df2-2f7251f39d31",
"num_processed": 1
},
{
"num_success": 1,
"description": "Writing Listings File",
"step_type": "initialize_repo_metadata",
"items_total": 1,
"state": "FINISHED",
"error_details": [],
"details": "",
"num_failures": 0,
"step_id": "1898118b-9cd1-4a7d-afba-6d3691121c28",
"num_processed": 1
},
{
"num_success": 1,
"description": "Exporting ISO",
"step_type": "save_iso",
"items_total": 1,
"state": "FINISHED",
"error_details": [],
"details": "",
"num_failures": 0,
"step_id": "b92a6ac9-ceae-41ca-938f-66be2459d180",
"num_processed": 1
},
{
"num_success": 1,
"description": "Moving ISO to final location",
"step_type": "publish_directory",
"items_total": 1,
"state": "FINISHED",
"error_details": [],
"details": "",
"num_failures": 0,
"step_id": "e473d784-7cdf-4e29-9f27-d69211363239",
"num_processed": 1
}
]
},
"error": null,
"_id": {
"$oid": "5773dab9d64f88dea1e3df33"
},
"id": "5773dab9d64f88dea1e3df33"
}
Initializing repo metadata
[-]
... completed
Publishing Distribution files
[-]
... completed
Publishing RPMs
[==================================================] 100%
32 of 32 items
... completed
Publishing Delta RPMs
... skipped
Publishing Errata
[==================================================] 100%
4 of 4 items
... completed
Publishing Comps file
[==================================================] 100%
4 of 4 items
... completed
Publishing Metadata.
[-]
... completed
Closing repo metadata
[-]
... completed
Generating sqlite files
... skipped
Copying files
[-]
... completed
Writing Listings File
[-]
... completed
Exporting ISO
[-]
... completed
Moving ISO to final location
[-]
... completed
Task Succeeded
Fix force_full option for export distributor
closes #1938 https://pulp.plan.io/issues/1938