Actions
Issue #3349
closedpulp-admin -vvv returns incorrect information for "worker_name" when querying task results
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.15.2
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
rplevka discovered an issue with the way pulp-admin client is requesting task_status information. When querying task details with "pulp-admin -vvv tasks list", the JSON response contains "worker_name": null, which is not correct as verified by introspecting the database.
===============================
pulp-admin tasks list output was lacking the worker_name field and the response JSON contained "worker_name: null". This PR is supposed to
- define worker_name attribute for pulp.bindings.responses:Task class
- modify the client_admin to include the worker_name field in the requested keys
- modify the client_admin to parse the worker_name and display it in the final output
===============================
The PR is here: https://github.com/pulp/pulp/pull/3314
Actions
tasks subcommands extended to include worker_name