Bug 1940657

Summary: pulp3: Running migration can sometimes hit the "HTTP status code: 502" Error
Product: Red Hat Satellite Reporter: Lai <ltran>
Component: InstallationAssignee: wclark
Status: CLOSED ERRATA QA Contact: Lai <ltran>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.9.0CC: ehelms, jsherril, pcreech, zhunting
Target Milestone: 6.9.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: foreman-installer-2.3.1.9-1,foreman-installer-2.3.1.10-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-18 19:40:14 UTC
Description of problem:
Running migration on a fairly large db can get the "HTTP status code: 502"

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

Steps to Reproduce:
1. Run migration command on a large db, something like dogfood

Actual results:
HTTP status code: 502

Expected results:
Migration should finish successfully.

Additional info:
There's a workaround with changing the bulk_load_size to 500 that resolves this.

Comment 1 Justin Sherrill 2021-03-18 21:11:14 UTC
Connecting redmine issue https://projects.theforeman.org/issues/32112 from this bug

Comment 2 Bryan Kearney 2021-03-19 16:04:13 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/32112 has been resolved.

Comment 6 Lai 2021-03-30 17:51:33 UTC
Steps to retest
1. Run migration command on a large db, something like dogfood

Expected:
Migration should finish successfully

Actual:
Migration finished successfully

This issue was initially discovered on dogfood server.  I have ran dogfood server on new build and it has completed migration successfully without issues.

Verified on 6.9.0_019.1 on foreman-installer-2.3.1.10-1.el7sat.noarch

Comment 9 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