Jira (PUP-9732) Client should cache successful host address for at least the length of a Puppet run

2020-03-12 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-9732  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Client should cache successful host address for at least the length of a Puppet run   
 

  
 
 
 
 

 
 The http client work eliminates this issue. Puppet will know resolve puppet web services (compiler, fileserver, report, etc) using one of 3 resolvers (SRV, server list, settings) depending how the agent is configured. Once a successful route (server and host) is found, it is reused for all future connections to that web service endpoint.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.311676.1559921066000.12144.1584077760026%40Atlassian.JIRA.


Jira (PUP-9732) Client should cache successful host address for at least the length of a Puppet run

2019-09-24 Thread Rob Braden (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rob Braden updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9732  
 
 
  Client should cache successful host address for at least the length of a Puppet run   
 

  
 
 
 
 

 
Change By: 
 Rob Braden  
 
 
Sprint: 
 Coremunity Hopper  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.311676.1559921066000.112059.1569350881542%40Atlassian.JIRA.


Jira (PUP-9732) Client should cache successful host address for at least the length of a Puppet run

2019-08-22 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-9732  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Client should cache successful host address for at least the length of a Puppet run   
 

  
 
 
 
 

 
 We only resolve server_list once at the beginning and use that for the duration of the run.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.311676.1559921066000.69458.1566507960397%40Atlassian.JIRA.


Jira (PUP-9732) Client should cache successful host address for at least the length of a Puppet run

2019-08-22 Thread Kris Bosland (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Kris Bosland commented on  PUP-9732  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Client should cache successful host address for at least the length of a Puppet run   
 

  
 
 
 
 

 
 Does server_list get tried multiple times during a puppet run?  That might be worth caching too.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.311676.1559921066000.68978.1566498300173%40Atlassian.JIRA.


Jira (PUP-9732) Client should cache successful host address for at least the length of a Puppet run

2019-08-12 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-9732  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Client should cache successful host address for at least the length of a Puppet run   
 

  
 
 
 
 

 
 The current agent behavior may be good enough here, because it uses persistent HTTP connections. So during a normal agent run, it will try to reuse the same TCP connection. If the connection is idle, such as due to a long running exec, package install, etc, then the agent will timeout the idle connection and create a new one, retriggering the lookup. But that's more of the exception than the rule. If we need to do something more than that, then we probably want to handle the DNS resolution ourselves via Resolv::DNS and store the resolved IP address for the run. However, we'll have to do some extra work to handle the certname mismatch since the IP we tried to connect to doesn't match the server's certname.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.311676.1559921066000.52555.1565648460112%40Atlassian.JIRA.


Jira (PUP-9732) Client should cache successful host address for at least the length of a Puppet run

2019-07-08 Thread Jorie Tappa (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jorie Tappa updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9732  
 
 
  Client should cache successful host address for at least the length of a Puppet run   
 

  
 
 
 
 

 
Change By: 
 Jorie Tappa  
 
 
Sprint: 
 Coremunity  Grooming  Hopper  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.311676.1559921066000.7666.1562611440408%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-9732) Client should cache successful host address for at least the length of a Puppet run

2019-06-12 Thread Jorie Tappa (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jorie Tappa updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9732  
 
 
  Client should cache successful host address for at least the length of a Puppet run   
 

  
 
 
 
 

 
Change By: 
 Jorie Tappa  
 

  
 
 
 
 

 
 Instead of trying all addresses of a host every single time, we should cache the successful address from our initial connection for reuse for at least the length of a single puppet run.What can be done besides monkey patching ruby or submitting a patch to ruby? Net::Http in ruby controls this so we're unsure if there's anything on our side that can be done to resolve this. An alternative if we can't come up with a solution is to tune timeouts to minimize impact.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this grou

Jira (PUP-9732) Client should cache successful host address for at least the length of a Puppet run

2019-06-12 Thread Jorie Tappa (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jorie Tappa updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9732  
 
 
  Client should cache successful host address for at least the length of a Puppet run   
 

  
 
 
 
 

 
Change By: 
 Jorie Tappa  
 

  
 
 
 
 

 
 Instead of trying all addresses of a host every single time, we should cache the successful address from our initial connection for reuse for at least the length of a single puppet run. What can be done besides monkey patching ruby or submitting a patch to ruby? Net::Http in ruby controls this so we're unsure if there's anything on our side that can be done to resolve this.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
To view this discussion on the web visit

Jira (PUP-9732) Client should cache successful host address for at least the length of a Puppet run

2019-06-10 Thread Jorie Tappa (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jorie Tappa updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9732  
 
 
  Client should cache successful host address for at least the length of a Puppet run   
 

  
 
 
 
 

 
Change By: 
 Jorie Tappa  
 
 
Team: 
 Coremunity  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.311676.1559921066000.40013.1560185220132%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-9732) Client should cache successful host address for at least the length of a Puppet run

2019-06-07 Thread Jorie Tappa (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jorie Tappa updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9732  
 
 
  Client should cache successful host address for at least the length of a Puppet run   
 

  
 
 
 
 

 
Change By: 
 Jorie Tappa  
 
 
Labels: 
 IPv6  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.311676.1559921066000.38281.1559921160098%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-9732) Client should cache successful host address for at least the length of a Puppet run

2019-06-07 Thread Jorie Tappa (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jorie Tappa created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9732  
 
 
  Client should cache successful host address for at least the length of a Puppet run   
 

  
 
 
 
 

 
Issue Type: 
  Task  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 2019/06/07 8:24 AM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Jorie Tappa  
 

  
 
 
 
 

 
 Instead of trying all addresses of a host every single time, we should cache the successful address from our initial connection for reuse for at least the length of a single puppet run.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)