Bug 2121288
Summary: | Still getting API request timeout when indexing contents. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Hao Chang Yu <hyu> | ||||||
Component: | Packaging | Assignee: | satellite6-bugs <satellite6-bugs> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Lukas Pramuk <lpramuk> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 6.11.2 | CC: | ahumbe, ankulkar, dalley, dkliban, ggainey, jsenkyri, Ken.Fowler, ngalvin, osousa, pcreech, pmoravec, rchan, risantam, sadas, saydas, torkil, wclark, wpinheir | ||||||
Target Milestone: | 6.13.0 | Keywords: | PrioBumpGSS, Regression, Triaged | ||||||
Target Release: | Unused | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | pulp_rpm_client-3.17.10-1 | Doc Type: | If docs needed, set a value | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | |||||||||
: | 2131783 (view as bug list) | Environment: | |||||||
Last Closed: | 2023-05-03 13:21:46 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: | |||||||||
Attachments: |
|
Description
Hao Chang Yu
2022-08-25 05:05:14 UTC
Actually based on the latest comments (which happened after our dicussion) it's plausible this will be fixed by https://bugzilla.redhat.com/show_bug.cgi?id=2122344 in 6.12 The missing line mentioned in comment 0 is still valid to prevent the 60 seconds client side timeout for slow systems so I think this bug is to fix the timeout setting. Ah, then this is a bindings issue. I will bring it up with Dennis. Satellite 6.11.2 ships pulp_rpm_client 3.17.4. This package does not contain the timeout fix. There is currently no pulp_rpm_client 3.17.z that contains this fix. We need to release pulp_rpm and pulp_rpm_client 3.17.13 in order to make this fix available for pulp_rpm 3.17. My previous comment is incorrect. The fix should be present starting with pulp_rpm_client 3.17.5. This package is available on PyPI and just needs to be released as an RPM. Transitioning to a packaging issue per Dennis' comment Marking the fixed-in-version, however, in the future we should probably just have the API client bindings package versions match with the version of components which we are using. Created attachment 1918150 [details]
Hotfix RPM for Satellite 6.11.3 on RHEL7
INSTALL INSTRUCTIONS:
1. Take a complete backup or snapshot of Satellite 6.11.3 server
2. Download the Hotfix RPM for Satellite 6.11.3 on RHEL7 attached to this BZ and copy it to Satellite server
3. # yum install ./tfm-rubygem-pulp_rpm_client-3.17.10-0.HOTFIXRHBZ2121288.el7sat.noarch.rpm --disableplugin=foreman-protector
4. # satellite-maintain service restart
Created attachment 1918151 [details]
Hotfix RPM for Satellite 6.11.3 on RHEL8
INSTALL INSTRUCTIONS:
1. Take a complete backup or snapshot of Satellite 6.11.3 server
2. Download the Hotfix RPM for Satellite 6.11.3 on RHEL8 attached to this BZ and copy it to Satellite server
3. # dnf install ./rubygem-pulp_rpm_client-3.17.10-0.HOTFIXRHBZ2121288.el8sat.noarch.rpm --disableplugin=foreman-protector
4. # satellite-maintain service restart
VERIFIED. @Satellite 6.13.0 Snap15 rubygem-pulp_rpm_client-3.18.7-1.el8sat.noarch by the following steps: # rpm -q rubygem-pulp_rpm_client rubygem-pulp_rpm_client-3.18.7-1.el8sat.noarch >>> new rubygem fixing the issue is present # grep -C2 'request\.options' /usr/share/gems/gems/pulp_rpm_client-*/lib/pulp_rpm_client/api_client.rb request.headers = header_params request.body = req_body request.options = OpenStruct.new(req_opts) <<<<< request.url url request.params = query_params >>> the line is not missing so the timeout should be passed to the request. 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 (Important: Satellite 6.13 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-2023:2097 |