Project

Profile

Help

Issue #3349

closed

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

Added by dalley about 5 years ago. Updated almost 4 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

Added by Roman Plevka about 5 years ago

Revision e8c9db81

tasks subcommands extended to include worker_name

Actions #1

Updated by dalley about 5 years ago

  • Status changed from POST to MODIFIED

Added by dalley about 5 years ago

Revision b23c290b

Fixed unit tests broken by a previous PR

Actions #2

Updated by bmbouter about 5 years ago

  • Platform Release set to 2.15.2
Actions #3

Updated by daviddavis about 5 years ago

  • Status changed from MODIFIED to 5
Actions #4

Updated by bmbouter about 5 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #5

Updated by bmbouter almost 4 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF