Jira (PUP-10434) Persistent http connection timeouts can't be changed when using the new http client

0 views
Skip to first unread message

Josh Cooper (Jira)

unread,
Apr 22, 2020, 6:44:02 PM4/22/20
to puppe...@googlegroups.com
Josh Cooper created an issue
 
Puppet / Bug PUP-10434
Persistent http connection timeouts can't be changed when using the new http client
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2020/04/22 3:43 PM
Fix Versions: PUP 6.15.0
Priority: Normal Normal
Reporter: Josh Cooper

The http client hardcodes the timeout for the http connection pool to 15 seconds. As a result, persistent connections can't be tuned or disabled. This issue existed when the client was created, but only noticed when most of puppet was switched over to use the client for network connections. To reproduce:

$ puppet agent -td --http_keepalive_timeout 0 | grep 'Using cached connection'
Debug: Using cached connection for https://bleak-scorecard.delivery.puppetlabs.net:8140
Debug: Using cached connection for https://bleak-scorecard.delivery.puppetlabs.net:8140
Debug: Using cached connection for https://bleak-scorecard.delivery.puppetlabs.net:8140
Debug: Using cached connection for https://bleak-scorecard.delivery.puppetlabs.net:8140
Debug: Using cached connection for https://bleak-scorecard.delivery.puppetlabs.net:8140

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Josh Cooper (Jira)

unread,
Apr 22, 2020, 6:45:03 PM4/22/20
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Apr 22, 2020, 6:45:03 PM4/22/20
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Apr 23, 2020, 12:24:03 AM4/23/20
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Apr 23, 2020, 12:30:03 PM4/23/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Release Notes: Bug Fix
Release Notes Summary: Fixes a regression in 6.14.0 which caused puppet to cache persistent http connections for 15 seconds instead of the expected 4 seconds, and it was not possible to change the timeout using the Puppet[:http_keepalive_timeout] setting.

Melissa Stone (Jira)

unread,
Apr 23, 2020, 6:20:03 PM4/23/20
to puppe...@googlegroups.com
Melissa Stone commented on Bug PUP-10434
 
Re: Persistent http connection timeouts can't be changed when using the new http client

This has passed ci with puppet-agent 6.14.0.343.g8871db32

Melissa Stone (Jira)

unread,
Apr 23, 2020, 6:20:04 PM4/23/20
to puppe...@googlegroups.com

Josh Cooper the fix version for this is 6.15, but it was merged in after stop ship. Will this be included in the 6.15 release, or will it go out in 6.16?

Josh Cooper (Jira)

unread,
Apr 23, 2020, 6:39:03 PM4/23/20
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-10434

The yum fix PUP-10432 went into 5.5.x and merged up last night, so this issue will go out in 6.15 too.

Claire Cadman (Jira)

unread,
Apr 27, 2020, 6:40:03 AM4/27/20
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages