Bug 1940188

Summary: Hanging task when restarting services during pulp2 to pulp3 migration
Product: Red Hat Satellite Reporter: Lai <ltran>
Component: RepositoriesAssignee: Justin Sherrill <jsherril>
Status: CLOSED ERRATA QA Contact: Tasos Papaioannou <tpapaioa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.9.0CC: zhunting
Target Milestone: 6.9.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-katello-3.18.1.21-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-21 13:26:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lai 2021-03-17 18:51:38 UTC
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)

Comment 1 Justin Sherrill 2021-03-18 13:08:52 UTC
Created redmine issue https://projects.theforeman.org/issues/32119 from this bug

Comment 2 Bryan Kearney 2021-03-18 16:41:18 UTC
Upstream bug assigned to jsherril

Comment 3 Bryan Kearney 2021-03-18 16:41:20 UTC
Upstream bug assigned to jsherril

Comment 4 Bryan Kearney 2021-03-19 20:03:35 UTC
Upstream bug assigned to jsherril

Comment 5 Bryan Kearney 2021-03-19 20:03:36 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/32119 has been resolved.

Comment 8 Tasos Papaioannou 2021-03-29 16:23:00 UTC
Verified on 6.9.0 snap 19.1.

Comment 11 errata-xmlrpc 2021-04-21 13:26:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Satellite 6.9 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:1313