Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pavelpicka/4b43d6cd67d7882b253f53ffb2f2f57a to your computer and use it in GitHub Desktop.
Save pavelpicka/4b43d6cd67d7882b253f53ffb2f2f57a to your computer and use it in GitHub Desktop.
(pulp) [vagrant@pulp3-source-fedora33 devel]$ get /pulp/api/v3/tasks/25f3ef74-3f43-4127-a291-cf60f1aa8c34/
HTTP/1.1 200 OK
Access-Control-Expose-Headers: Correlation-ID
Allow: GET, PATCH, DELETE, HEAD, OPTIONS
Connection: close
Content-Length: 770
Content-Type: application/json
Correlation-ID: c2080c8ed5e344369084753ae1696741
Date: Wed, 23 Jun 2021 19:43:11 GMT
Server: gunicorn
Vary: Accept, Cookie
X-Frame-Options: SAMEORIGIN
{
"child_tasks": [],
"created_resources": [
"/pulp/api/v3/acs/file/file/b3b5d528-057a-4049-a83c-e06f95623d3e/"
],
"error": null,
"finished_at": "2021-06-23T19:43:06.744562Z",
"logging_cid": "3b8b5fa36ff24a6b8cbc114b7b4d9d43",
"name": "pulpcore.app.tasks.acs.create_acs_paths",
"parent_task": null,
"progress_reports": [
{
"code": "acs.add_paths",
"done": 2,
"message": "Adding paths.",
"state": "completed",
"suffix": null,
"total": 2
}
],
"pulp_created": "2021-06-23T19:43:06.555751Z",
"pulp_href": "/pulp/api/v3/tasks/25f3ef74-3f43-4127-a291-cf60f1aa8c34/",
"reserved_resources_record": [
"/pulp/api/v3/acs/file/file/b3b5d528-057a-4049-a83c-e06f95623d3e/"
],
"started_at": "2021-06-23T19:43:06.620484Z",
"state": "completed",
"task_group": null,
"worker": "/pulp/api/v3/workers/6a45fdca-86ab-4b1d-9ec9-abb0b1e95bfe/"
}
(pulp) [vagrant@pulp3-source-fedora33 devel]$ post /pulp/api/v3/acs/file/file/b3b5d528-057a-4049-a83c-e06f95623d3e/refresh/
HTTP/1.1 202 Accepted
Access-Control-Expose-Headers: Correlation-ID
Allow: POST, OPTIONS
Connection: close
Content-Length: 67
Content-Type: application/json
Correlation-ID: 6d9d8cba967c4e64b22e34c251981f56
Date: Wed, 23 Jun 2021 19:43:28 GMT
Server: gunicorn
Vary: Accept, Cookie
X-Frame-Options: SAMEORIGIN
{
"task": "/pulp/api/v3/tasks/46124520-5abf-4660-9180-7cb9461d4057/"
}
(pulp) [vagrant@pulp3-source-fedora33 devel]$ get /pulp/api/v3/tasks/46124520-5abf-4660-9180-7cb9461d4057/
HTTP/1.1 200 OK
Access-Control-Expose-Headers: Correlation-ID
Allow: GET, PATCH, DELETE, HEAD, OPTIONS
Connection: close
Content-Length: 1727
Content-Type: application/json
Correlation-ID: ff5e5ff5bae64749a0c8fa99a8602395
Date: Wed, 23 Jun 2021 19:43:32 GMT
Server: gunicorn
Vary: Accept, Cookie
X-Frame-Options: SAMEORIGIN
{
"child_tasks": [],
"created_resources": [],
"error": null,
"finished_at": "2021-06-23T19:43:31.301263Z",
"logging_cid": "6d9d8cba967c4e64b22e34c251981f56",
"name": "pulp_file.app.tasks.acs_refresh.file_acs_refresh",
"parent_task": null,
"progress_reports": [
{
"code": "acs.refreshing.metadata",
"done": 2,
"message": "Refreshing ACS metadata",
"state": "completed",
"suffix": null,
"total": 2
},
{
"code": "sync.downloading.metadata",
"done": 1,
"message": "Downloading Metadata",
"state": "completed",
"suffix": null,
"total": null
},
{
"code": "sync.downloading.artifacts",
"done": 0,
"message": "Downloading Artifacts",
"state": "completed",
"suffix": null,
"total": null
},
{
"code": "associating.content",
"done": 3,
"message": "Associating Content",
"state": "completed",
"suffix": null,
"total": null
},
{
"code": "sync.parsing.metadata",
"done": 3,
"message": "Parsing Metadata Lines",
"state": "completed",
"suffix": null,
"total": 3
},
{
"code": "sync.downloading.metadata",
"done": 1,
"message": "Downloading Metadata",
"state": "completed",
"suffix": null,
"total": null
},
{
"code": "sync.downloading.artifacts",
"done": 0,
"message": "Downloading Artifacts",
"state": "completed",
"suffix": null,
"total": null
},
{
"code": "associating.content",
"done": 250,
"message": "Associating Content",
"state": "completed",
"suffix": null,
"total": null
},
{
"code": "sync.parsing.metadata",
"done": 250,
"message": "Parsing Metadata Lines",
"state": "completed",
"suffix": null,
"total": 250
}
],
"pulp_created": "2021-06-23T19:43:28.114911Z",
"pulp_href": "/pulp/api/v3/tasks/46124520-5abf-4660-9180-7cb9461d4057/",
"reserved_resources_record": [
"/pulp/api/v3/acs/file/file/b3b5d528-057a-4049-a83c-e06f95623d3e/"
],
"started_at": "2021-06-23T19:43:28.179609Z",
"state": "completed",
"task_group": null,
"worker": "/pulp/api/v3/workers/7c7b0656-9c42-42b7-bf48-0a7797ae0c5f/"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment