Bug 1250083
| Summary: | Smart proxy puppet classes REST timeout of 60 seconds too small | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Peter Vreman <peter.vreman> |
| Component: | Content Management | Assignee: | Katello Bug Bin <katello-bugs> |
| Status: | CLOSED NOTABUG | QA Contact: | Katello QA List <katello-qa-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.1.0 | CC: | bbuckingham, cwelton, mmccune, sreber |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-08-27 13:13:59 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1122832 | ||
|
Description
Peter Vreman
2015-08-04 13:29:43 UTC
PROPOSED WORKAROUND: Increase timeout in /etc/foreman/plugins/katello.yaml Change rest_client_timeout to 240 rest_client_timeout: 240 run: katello-service restart Hi Mike,
I already have a timeout of 120 in my configuration.
[crash] root@li-lc-1578:~# grep rest_client_timeout /etc/foreman/plugins/katello.yaml
rest_client_timeout: 120
This BZ is about a timeout connecting to the foreman smart proxy occurring after 60 seconds.
After a bit of grepping it found that there is a different Foreman setting involved:
[crash] root@li-lc-1578:/usr/share/foreman# grep -r proxy_request_timeout *
app/models/setting/general.rb: self.set('proxy_request_timeout', N_("Max timeout for REST client requests to smart-proxy"), 60)
lib/proxy_api/resource.rb: @connect_params = {:timeout => Setting[:proxy_request_timeout], :open_timeout => 10, :headers => { :accept => :json },
That see that it is even available in the Foreman UI under Settings:
proxy_request_timeout 60 Max timeout for REST client requests to smart-proxy
I will update it for our system to be a bitter large.
This case can be closed.
|