Project

General

Profile

Bug #32119

Hanging task when restarting services during pulp2 to pulp3 migration

Added by Justin Sherrill about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1940188

Description of problem:
While running a migration, restart all services. Check UI and you can see that the task hangs.

Version-Release number of selected component (if applicable):
6.9.0_017

Steps to Reproduce:
1. Sync some repos
2. On a terminal, run migration command to migrate data
3. Wait a couple of minutes, then open a separate terminal and restart all services
4. Check on UI

Actual results:
UI display tasks as running even after 24+ hours.

Expected results:
The task should stop with an error message or it should task should continue once services have restarted.

Additional info:
Will let dev decide how to handle what should happen. A workaround for this is running the abort command and rerunning migration again (not 100% sure if this works yet)


Related issues

Related to Katello - Bug #31905: pulp3 task group actions 'end' as soon as one subtask failsClosed

Associated revisions

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

Fixes #32119,#31905 - adjust task group error check

this adjusts the error check to handle 2 conditions
1) do not report an error while there are tasks still left to execute
2) if a task is cancelled and there are no tasks left to execute, report an error

History

#1 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/9234 added

#2 Updated by Justin Sherrill about 1 year ago

  • Related to Bug #31905: pulp3 task group actions 'end' as soon as one subtask fails added

#3 Updated by Justin Sherrill about 1 year ago

  • Target version set to Katello 3.18.3
  • Category deleted (91)

#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 Ian Ballou about 1 year ago

  • Triaged changed from No to Yes

Also available in: Atom PDF