Project

General

Profile

Actions

Bug #39305

closed

Some Pulp tasks not tracked due to change in Pulp update APIs

Added by Ian Ballou 2 months ago. Updated 3 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Description of problem:

The following table describes tasks that are no longer tracked properly, along with ones that were already patched. Originally we thought only the remote tasks were affected, but it turns out all update tasks are. Technically Pulpcore 3.85 isn't affected by this issue, but since we use the generated Pulp bindings, and potentially all of the plugins were generated based on core 3.90+, the following task returning APIs are all likely affected.

These tasks typically fire off very quickly, so we have not seen bugs around them yet, but there is potential for race conditions since Dynflow doesn't know to wait on them. Plus, when looking in Dynflow, the task information is missing.

API Binding default return type Monkey-patched? Task tracked on 3.85?
Remotes (RPM, ULN, Container, PullThrough, Ansible×3, OSTree) *RemoteResponse ✅ Yes ✅ Yes (patch forces AsyncOperationResponse)
Remotes (File, Python) AsyncOperationResponse N/A ✅ Yes (correct default)
Remotes (Deb) DebAptRemoteResponse No Task silently lost
Distributions (RPM, Container×2, Deb, Ansible, OSTree) *DistributionResponse No Task silently lost
Distributions (File, Python) AsyncOperationResponse N/A ✅ Yes (correct default)
Repositories (RPM, Container, Deb, Ansible, OSTree) *RepositoryResponse No Task silently lost
Repositories (File, Python) AsyncOperationResponse N/A ✅ Yes (correct default)
ACS (RPM, Deb) *AlternateContentSourceResponse No Task silently lost
Exporters (Pulp) AsyncOperationResponse N/A ✅ Yes (correct default)

How reproducible:

100%

Is this issue a regression from an earlier version:

Yes

Steps to Reproduce:

  1. Sync a repository and look at the RefreshDistribution action in Dynflow (for one example)

Actual behavior:
Output:

---
pulp_tasks: []
task_groups: []

Expected behavior:
Tasks are populated correctly.

Business Impact / Additional info:

Actions #1

Updated by The Foreman Bot 2 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/11735 added
Actions #2

Updated by The Foreman Bot about 2 months ago

  • Fixed in Releases Katello 4.21.0 added
Actions #3

Updated by Anonymous about 2 months ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Quinn James about 2 months ago

  • Triaged changed from No to Yes
Actions #5

Updated by Ewoud Kohl van Wijngaarden 3 days ago

  • Red Hat JIRA set to SAT-47600
Actions

Also available in: Atom PDF