Project

General

Profile

Bug #32226

Pulp 3 migration abort fails with 409

Added by Ian Ballou about 1 year ago. Updated 12 months ago.

Status:
Closed
Priority:
Normal
Category:
Repositories
Target version:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

A migration cancel task was found to fail with a 409 conflict, which failed the migration in Katello, resulting in losing track of the migration task. After talking with the Pulp team, it looks like the 409 pops up if you try to cancel a Pulp task that is already complete. We should investigate this. I think we may be hitting the 409 when we loop through the tasks in the task group. If it really is the issue, we can simply handle the 409 and skip sending the cancel request.

According to the Pulp team, a 409 will be returned if you try to cancel a task that is failed, completed, skipped or, canceled.

Associated revisions

Revision 20425810 (diff)
Added by Justin Sherrill about 1 year ago

Fixes #32226 - properly cancel task groups

  • ignore 409s
  • lookup task group tasks for only running and waiting
  • use proper pagination

Revision 50be17da (diff)
Added by Justin Sherrill about 1 year ago

Refs #32226 - vcr updates

History

#1 Updated by Ian Ballou about 1 year ago

  • Bugzilla link set to 1944375

#2 Updated by Justin Sherrill about 1 year ago

  • Triaged changed from No to Yes

#3 Updated by The Foreman Bot about 1 year ago

  • Assignee set to Justin Sherrill
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9264 added

#4 Updated by The Foreman Bot about 1 year ago

  • Fixed in Releases Katello 4.2.0 added

#5 Updated by Justin Sherrill about 1 year ago

  • Status changed from Ready For Testing to Closed

#6 Updated by The Foreman Bot about 1 year ago

  • Pull request https://github.com/Katello/katello/pull/9276 added

#7 Updated by Justin Sherrill about 1 year ago

  • Pull request deleted (https://github.com/Katello/katello/pull/9276)

#8 Updated by The Foreman Bot about 1 year ago

  • Pull request https://github.com/Katello/katello/pull/9278 added

Also available in: Atom PDF