Bug 1940188 - Hanging task when restarting services during pulp2 to pulp3 migration
Summary: Hanging task when restarting services during pulp2 to pulp3 migration
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Repositories
Version: 6.9.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.9.0
Assignee: Justin Sherrill
QA Contact: Tasos Papaioannou
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-17 18:51 UTC by Lai
Modified: 2021-04-21 13:26 UTC (History)
1 user (show)

Fixed In Version: tfm-rubygem-katello-3.18.1.21-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-21 13:26:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 32119 0 Normal New Hanging task when restarting services during pulp2 to pulp3 migration 2021-03-18 13:08:55 UTC
Red Hat Product Errata RHSA-2021:1313 0 None None None 2021-04-21 13:26:54 UTC

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


Note You need to log in before you can comment on or make changes to this bug.