Jira (PUP-10617) Request to status endpoint not using extra_headers setting

2020-10-12 Thread Claire Cadman (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Claire Cadman updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10617  
 
 
  Request to status endpoint not using extra_headers setting   
 

  
 
 
 
 

 
Change By: 
 Claire Cadman  
 
 
Labels: 
 doc_reviewed  
 

  
 
 
 
 

 
 
 

 
 
 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.368953.1597240842000.53363.1602508800075%40Atlassian.JIRA.


Jira (PUP-10617) Request to status endpoint not using extra_headers setting

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


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-10617  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Request to status endpoint not using extra_headers setting   
 

  
 
 
 
 

 
 Passed in 3b720e6e2e. Waiting for PE validation before resolving  
 

  
 
 
 
 

 
 
 

 
 
 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.368953.1597240842000.30185.1599154200052%40Atlassian.JIRA.


Jira (PUP-10617) Request to status endpoint not using extra_headers setting

2020-09-01 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-10617  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Request to status endpoint not using extra_headers setting   
 

  
 
 
 
 

 
 Backported above fix to 6.x in https://github.com/puppetlabs/puppet/commit/84755f8557cd84b2d1bf3f1f991e9e928d823880  
 

  
 
 
 
 

 
 
 

 
 
 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.368953.1597240842000.28840.1599022560030%40Atlassian.JIRA.


Jira (PUP-10617) Request to status endpoint not using extra_headers setting

2020-08-31 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-10617  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Request to status endpoint not using extra_headers setting   
 

  
 
 
 
 

 
 Passed in 426e375a4bf0d08de1b84f0439f5259c6a415e11. Waiting PE validation before resolving.  
 

  
 
 
 
 

 
 
 

 
 
 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.368953.1597240842000.27504.1598898900067%40Atlassian.JIRA.


Jira (PUP-10617) Request to status endpoint not using extra_headers setting

2020-08-29 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-10617  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Request to status endpoint not using extra_headers setting   
 

  
 
 
 
 

 
 Follow up merged to main in https://github.com/puppetlabs/puppet/commit/426e375a4bf0d08de1b84f0439f5259c6a415e11  
 

  
 
 
 
 

 
 
 

 
 
 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.368953.1597240842000.26575.1598725620031%40Atlassian.JIRA.


Jira (PUP-10617) Request to status endpoint not using extra_headers setting

2020-08-28 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-10617  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Request to status endpoint not using extra_headers setting   
 

  
 
 
 
 

 
 This causes failures if server_list is set and you run puppet ssl bootstrap from with an empty ssl directory:  
 
 
 
 
 Debug: Loading CA certs  
 
 
 Debug: Loading CRLs  
 
 
 Debug: Loading/generating private key  
 
 
 Debug: Generating and submitting a CSR  
 
 
 Info: csr_attributes file loading from /etc/puppetlabs/puppet/csr_attributes.yaml  
 
 
 Info: Creating a new SSL certificate request for unwed-derelict.delivery.puppetlabs.net  
 
 
 Info: Certificate Request fingerprint (SHA256): 15:E8:87:8D:E9:91:D4:D2:F4:00:3F:8C:25:F5:68:8F:EF:5B:0B:25:47:55:B2:5F:FB:93:81:6D:C7:90:19:4F  
 
 
 Debug: Resolving service 'ca' using Puppet::HTTP::Resolver::ServerList  
 
 
 Error: Failed to initialize SSL: The client certificate is missing from '/etc/puppetlabs/puppet/ssl/certs/unwed-derelict.delivery.puppetlabs.net.pem'  
 
 
 /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/x509/cert_provider.rb:250:in `load_client_cert'  
 
 
 /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/ssl/ssl_provider.rb:152:in `load_context'  
 
 

Jira (PUP-10617) Request to status endpoint not using extra_headers setting

2020-08-26 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-10617  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Request to status endpoint not using extra_headers setting   
 

  
 
 
 
 

 
 Merged to master in https://github.com/puppetlabs/puppet/commit/93fce9135e750c86bc57d64eed3bdc13f583a996  
 

  
 
 
 
 

 
 
 

 
 
 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.368953.1597240842000.24490.1598458920045%40Atlassian.JIRA.


Jira (PUP-10617) Request to status endpoint not using extra_headers setting

2020-08-26 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10617  
 
 
  Request to status endpoint not using extra_headers setting   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Issue Type: 
 New Feature Bug  
 

  
 
 
 
 

 
 
 

 
 
 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.368953.1597240842000.24491.1598458920088%40Atlassian.JIRA.


Jira (PUP-10617) Request to status endpoint not using extra_headers setting

2020-08-21 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10617  
 
 
  Request to status endpoint not using extra_headers setting   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Release Notes: 
 Bug Fix  
 
 
Release Notes Summary: 
 If http_extra_headers is set, puppet will send those headers for each HTTP request it makes when processing the server_list setting, to determine which server to use.  
 

  
 
 
 
 

 
 
 

 
 
 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.368953.1597240842000.21832.1598049660046%40Atlassian.JIRA.


Jira (PUP-10617) Request to status endpoint not using extra_headers setting

2020-08-21 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10617  
 
 
  Request to status endpoint not using extra_headers setting   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Fix Version/s: 
 PUP 6.19.0  
 

  
 
 
 
 

 
 
 

 
 
 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.368953.1597240842000.20983.1597993440030%40Atlassian.JIRA.


Jira (PUP-10617) Request to status endpoint not using extra_headers setting

2020-08-21 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper assigned an issue to Josh Cooper  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10617  
 
 
  Request to status endpoint not using extra_headers setting   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Assignee: 
 Josh Cooper  
 

  
 
 
 
 

 
 
 

 
 
 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.368953.1597240842000.20981.1597993260088%40Atlassian.JIRA.


Jira (PUP-10617) Request to status endpoint not using extra_headers setting

2020-08-21 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10617  
 
 
  Request to status endpoint not using extra_headers setting   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Sprint: 
 Platform Core KANBAN  
 

  
 
 
 
 

 
 
 

 
 
 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.368953.1597240842000.20980.1597993260044%40Atlassian.JIRA.


Jira (PUP-10617) Request to status endpoint not using extra_headers setting

2020-08-20 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-10617  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Request to status endpoint not using extra_headers setting   
 

  
 
 
 
 

 
 The compiler service should expose a method for querying the simple status endpoint, and the server_list resolver should call that instead of making a "raw" HTTPS request.  
 

  
 
 
 
 

 
 
 

 
 
 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.368953.1597240842000.20477.1597946940022%40Atlassian.JIRA.


Jira (PUP-10617) Request to status endpoint not using extra_headers setting

2020-08-17 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10617  
 
 
  Request to status endpoint not using extra_headers setting   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Team: 
 Coremunity  
 

  
 
 
 
 

 
 
 

 
 
 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.368953.1597240842000.17129.1597687800243%40Atlassian.JIRA.


Jira (PUP-10617) Request to status endpoint not using extra_headers setting

2020-08-12 Thread David Moreno García
Title: Message Title


 
 
 
 

 
 
 

 
   
 David Moreno García updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10617  
 
 
  Request to status endpoint not using extra_headers setting   
 

  
 
 
 
 

 
Change By: 
 David Moreno García  
 

  
 
 
 
 

 
 When using server_list, Puppet 6 adds a [new request|https://github.com/puppetlabs/puppet/blob/eadd5474c26e7d28d90de00b9d7a7545ac10e55d/lib/puppet/http/resolver/server_list.rb#L61] to validate that the server is listening. This request is done by using [Puppet::HTTP::Client|https://github.com/puppetlabs/puppet/blob/main/lib/puppet/http/client.rb] which in opposition to [Puppet::HTTP::Service|https://github.com/puppetlabs/puppet/blob/main/lib/puppet/http/service.rb], doesn't have a [proper way to handle the  extra_headers  http_extra_headers  setting|https://github.com/puppetlabs/puppet/blob/main/lib/puppet/http/service.rb#L110].This supposes a problem as I'm redirecting the traffic based on that header. As the header is not present in status requests, the catalog compilation doesn't go through.For more information on the extra_header setting refer to PUP-9566.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

 
   
 

  
 
   

Jira (PUP-10617) Request to status endpoint not using extra_headers setting

2020-08-12 Thread David Moreno García
Title: Message Title


 
 
 
 

 
 
 

 
   
 David Moreno García updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10617  
 
 
  Request to status endpoint not using extra_headers setting   
 

  
 
 
 
 

 
Change By: 
 David Moreno García  
 

  
 
 
 
 

 
 When using server_list, Puppet 6 adds a [new request|https://github.com/puppetlabs/puppet/blob/eadd5474c26e7d28d90de00b9d7a7545ac10e55d/lib/puppet/http/resolver/server_list.rb#L61] to validate that the server is listening. This request is done by using [Puppet::HTTP::Client|https://github.com/puppetlabs/puppet/blob/main/lib/puppet/http/client.rb] which in opposition to [Puppet::HTTP::Service|https://github.com/puppetlabs/puppet/blob/main/lib/puppet/http/service.rb], doesn't have a [proper way to handle the extra_headers setting|https://github.com/puppetlabs/puppet/blob/main/lib/puppet/http/service.rb#L110].This  suppose  supposes  a problem as I'm redirecting the traffic based on that header. As the header is not present in status requests, the catalog compilation doesn't go through.For more information on the extra_header setting refer to  [ PUP-9566 |https://tickets . puppetlabs.com/browse/PUP-9566].  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

 
   
 

  
  

Jira (PUP-10617) Request to status endpoint not using extra_headers setting

2020-08-12 Thread David Moreno García
Title: Message Title


 
 
 
 

 
 
 

 
   
 David Moreno García created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10617  
 
 
  Request to status endpoint not using extra_headers setting   
 

  
 
 
 
 

 
Issue Type: 
  New Feature  
 
 
Affects Versions: 
 PUP 6.y  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 2020/08/12 7:00 AM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 David Moreno García  
 

  
 
 
 
 

 
 When using server_list, Puppet 6 adds a new request to validate that the server is listening. This request is done by using Puppet::HTTP::Client which in opposition to Puppet::HTTP::Service, doesn't have a proper way to handle the extra_headers setting. This suppose a problem as I'm redirecting the traffic based on that header. As the header is not present in status requests, the catalog compilation doesn't go through. For more information on the extra_header setting refer to PUP-9566.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment