Project

Profile

Help

Issue #3349

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

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

Associated revisions

Revision e8c9db81 View on GitHub
Added by Roman Plevka almost 4 years ago

tasks subcommands extended to include worker_name

Revision b23c290b View on GitHub
Added by dalley almost 4 years ago

Fixed unit tests broken by a previous PR

History

#1 Updated by dalley almost 4 years ago

  • Status changed from POST to MODIFIED

#2 Updated by bmbouter almost 4 years ago

  • Platform Release set to 2.15.2

#3 Updated by daviddavis almost 4 years ago

  • Status changed from MODIFIED to 5

#4 Updated by bmbouter almost 4 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#5 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF