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 1659414 - force-content-source does not work in an loadbalanced scenario
Summary: force-content-source does not work in an loadbalanced scenario
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Bootstrap
Version: 6.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 6.7.0
Assignee: Evgeni Golov
QA Contact: Stephen Wadeley
URL:
Whiteboard:
Depends On: 1747581
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-14 10:32 UTC by Evgeni Golov
Modified: 2022-03-13 16:30 UTC (History)
4 users (show)

Fixed In Version: katello-client-bootstrap-1.7.3-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-14 13:23:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github Katello katello-client-bootstrap pull 315 0 'None' closed BZ #1659414 - don't fail on unknown smart proxies 2020-03-05 15:32:45 UTC
Red Hat Product Errata RHSA-2020:1454 0 None None None 2020-04-14 13:23:59 UTC

Description Evgeni Golov 2018-12-14 10:32:57 UTC
Description of problem:
When you have capsules deployed in an loadbalanced scenario, and try to use bootstrap.py with --force-content-source, it errors out, as the loadbalanced name is not known to the Satellite.

Version-Release number of selected component (if applicable):
katello-client-bootstrap-1.6.0-1.el7sat.noarch.rpm

How reproducible:
100%

Steps to Reproduce:
1. bootstrap.py --server loadbalanced.example.com --force-content-source …

Actual results:
"[ERROR], [2018-12-13 16:39:19], EXITING: [0 element in array for search key 'name="loadbalanced.example.com"' in API '/api/v2/smart_proxies'. Please note that all searches are case-sensitive. Fatal error.] failed to execute properly."

Expected results:
successful registration

Additional info:

Comment 4 Evgeni Golov 2019-09-26 12:34:55 UTC
this is blocked by #1747581

Comment 5 Evgeni Golov 2019-09-26 12:35:46 UTC
to be clear: *verification* of this is blocked

Comment 6 Stephen Wadeley 2019-09-26 13:10:47 UTC
Hello

bootstrap code is fixed, issue in comment 0 no longer occurs. However, the command will not work correctly until the certificate generation code is fixed in BZ#1747581

Comment 7 Bryan Kearney 2020-03-05 15:59:07 UTC
I am moving this to 6.7.0 since Comment 6 ties this to a bug being delivered in 6.7.0.

Comment 10 errata-xmlrpc 2020-04-14 13:23:48 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, 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-2020:1454


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