Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1878067 - [Sat6.8/Bug/Blocker] Satellite 6.8 fails with "HTTP Error 502: Proxy Error" while ruining concurrent registrations
Summary: [Sat6.8/Bug/Blocker] Satellite 6.8 fails with "HTTP Error 502: Proxy Error" w...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Registration
Version: 6.8.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.8.0
Assignee: satellite6-bugs
QA Contact: Imaan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-11 08:58 UTC by Imaan
Modified: 2023-09-14 06:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-05 14:11:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Imaan 2020-09-11 08:58:05 UTC
Description of problem:

Satellite fails with "HTTP Error 502: Proxy Error" while ruining concurrent registrations 

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

katello_version = katello-3.16.0-1.el7sat.noarch
satellite_version = satellite-6.8.0-1.el7sat.noarch

Steps to Reproduce:

- Try to run concurrent registration on Satellite 6.8

Actual results: 

~~~

An error occurred: HTTP Error 502: Proxy Error", "url: https://satellite.example.com:443/api/v2/hostgroups/?search=title%3D%22HostGroup%22", "code: 502", "error: HTTP Error 502: Proxy Error"]}

~~~

Expected results: It should register at least 300 hosts concurrently (300 number in comparison to Satellite 6.7) 


Additional info:

1. According to this bug https://projects.theforeman.org/issues/29370 and https://bugzilla.redhat.com/show_bug.cgi?id=1869812 

We have tried with multiple value : 5,16,30... but registration is still failing 

- in /etc/foreman/database.yml, change the 'pool' setting from '5' to '30':
-  Create a new file: /usr/share/foreman/config/initializers/foreman-tasks-db-pool-size.rb
- add this line : ForemanTasks.dynflow.config.db_pool_size = 30
-  run foreman-maintain service restart


2. In order to verify the concurrent registration on large scale, we have created 62 docker hosts and each docker hosts have 500 containers. We are performing concurrent registration in a batches = "3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20" which means - take containers according to the batch value from each docker host and register to the Satellite server and so on..

For Example - If batch = 3 which means take 3 containers from each docker host and that would be 62 * 3 = 186. Out of 186 only 51 got registered on the Satellite server and rest all are failed with specified error.

3. We are using this script to perform the experiment (concurrent registration) : https://github.com/redhat-performance/satperf/blob/master/experiment/regs.sh

Comment 4 Mike McCune 2020-09-16 15:14:39 UTC
We are going to move this back to ON_QA for a re-test as the fixes that we believe resolve the 502 errors have been delivered in the most recent snap.

Comment 13 Imaan 2020-10-05 14:11:13 UTC
This issue has been resolved in current snap of Satellite 6.8

We can close this bug.

Thank you.

Comment 14 Red Hat Bugzilla 2023-09-14 06:08:22 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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