Project

Profile

Help

Issue #3349

closed

pulp-admin -vvv returns incorrect information for "worker_name" when querying task results

Added by dalley about 6 years ago. Updated about 5 years ago.

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

Also available in: Atom PDF