Jira (PUP-10772) fresh puppet agent installation fails when msgpack is enabled on puppetserver

2020-11-09 Thread Claire Cadman (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Claire Cadman updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10772  
 
 
  fresh puppet agent installation fails when msgpack is enabled on puppetserver   
 

  
 
 
 
 

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


Jira (PUP-10772) fresh puppet agent installation fails when msgpack is enabled on puppetserver

2020-11-04 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10772  
 
 
  fresh puppet agent installation fails when msgpack is enabled on puppetserver   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Fix Version/s: 
 PUP 7.0.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.376434.1603966281000.72113.1604532780040%40Atlassian.JIRA.


Jira (PUP-10772) fresh puppet agent installation fails when msgpack is enabled on puppetserver

2020-11-04 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-10772  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: fresh puppet agent installation fails when msgpack is enabled on puppetserver   
 

  
 
 
 
 

 
 Passed CI in f664d6a216. It is possible there is some non-deterministic behavior when puppetserver/JRuby sorts the array of formats based on their weights (as we've seen something similar in PUP-8615). I'm going to mark this agent-side issue as resolved. Tim Meusel please do let us know if you can repro the server side issue, and create a PUP ticket linked to this one. Thanks for your help debugging this!  
 

  
 
 
 
 

 
 
 

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


Jira (PUP-10772) fresh puppet agent installation fails when msgpack is enabled on puppetserver

2020-11-04 Thread Tim Meusel (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Tim Meusel commented on  PUP-10772  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: fresh puppet agent installation fails when msgpack is enabled on puppetserver   
 

  
 
 
 
 

 
 So some testing. First let me explain my current setup: 
 
agents send all requests to an haproxy 
haproxy forwards requests with /puppet-ca to one specific puppetserver 
all other requests go to another group of puppetservers 
   the puppetserver for CA requests has the msgpack gem installed and was restarted after it was installed. I purged it on all other puppetservers and restarted them. Log from an existing/working puppet agent, where I also purged the msgpack gem:    
 
 
 
 
 Debug: Puppet::Network::Format[msgpack]: feature msgpack is missing  
 
 
 Debug: catalog supports formats: rich_data_json json rich_data_msgpack pson yaml dot  
 
 
 Debug: Closing connection for https://*:8140  
 
 
 Debug: Creating new connection for https://*:8140  
 
 
 Debug: Starting connection for https://*:8140  
 
 
 Debug: Using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384  
 
 
 Debug: HTTP POST https://*:8140/puppet/v3/catalog/*?environment=production returned 200 OK  
 
 
 Debug: Caching connection for https://*:8140
  
 
 
 
  besides that, the run works fine. Now I took the same agent, without msgpack installed, and it was talking directly to the CA server with msgpack installed:  
 

Jira (PUP-10772) fresh puppet agent installation fails when msgpack is enabled on puppetserver

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


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-10772  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: fresh puppet agent installation fails when msgpack is enabled on puppetserver   
 

  
 
 
 
 

 
 Merged to master in https://github.com/puppetlabs/puppet/commit/09405d485a3411597773f2e8a2873fc09f77caba. Note this fixes the agent side of the problem. It would still be good to understand why puppetserver used `rich_data_msgpack` when `Puppet[:preferred_serialization_format]` defaults to json, so `rich_data_json` should have taken precedence.  
 

  
 
 
 
 

 
 
 

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


Jira (PUP-10772) fresh puppet agent installation fails when msgpack is enabled on puppetserver

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


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10772  
 
 
  fresh puppet agent installation fails when msgpack is enabled on puppetserver   
 

  
 
 
 
 

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


Jira (PUP-10772) fresh puppet agent installation fails when msgpack is enabled on puppetserver

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


 
 
 
 

 
 
 

 
   
 Josh Cooper assigned an issue to Josh Cooper  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10772  
 
 
  fresh puppet agent installation fails when msgpack is enabled on puppetserver   
 

  
 
 
 
 

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


Jira (PUP-10772) fresh puppet agent installation fails when msgpack is enabled on puppetserver

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


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10772  
 
 
  fresh puppet agent installation fails when msgpack is enabled on puppetserver   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Release Notes: 
 Bug Fix  
 
 
Release Notes Summary: 
 The agent claimed to accept catalogs serialized using the "rich_data_msgpack" format, but if the "msgpack" gem wasn't installed, then the agent would fail to deserialize the catalog and fail the run. Now the agent only claims to support that format when the "msgpack" gem is installed.  
 

  
 
 
 
 

 
 
 

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


Jira (PUP-10772) fresh puppet agent installation fails when msgpack is enabled on puppetserver

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


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-10772  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: fresh puppet agent installation fails when msgpack is enabled on puppetserver   
 

  
 
 
 
 

 
 Also wanted to mention there is an issue with JRuby sorting arrays PUP-8615. While that ticket is about sorting formats used in pops serialization, it may explain some non-deterministic behavior with how puppetserver is sorting network formats based on their weight?  
 

  
 
 
 
 

 
 
 

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


Jira (PUP-10772) fresh puppet agent installation fails when msgpack is enabled on puppetserver

2020-11-02 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10772  
 
 
  fresh puppet agent installation fails when msgpack is enabled on puppetserver   
 

  
 
 
 
 

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


Jira (PUP-10772) fresh puppet agent installation fails when msgpack is enabled on puppetserver

2020-11-02 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10772  
 
 
  fresh puppet agent installation fails when msgpack is enabled on puppetserver   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Fix Version/s: 
 PUP 6.20.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.376434.1603966281000.69686.1604348940269%40Atlassian.JIRA.


Jira (PUP-10772) fresh puppet agent installation fails when msgpack is enabled on puppetserver

2020-11-02 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper moved an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10772  
 
 
  fresh puppet agent installation fails when msgpack is enabled on puppetserver   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Key: 
 PA PUP - 3441 10772  
 
 
Project: 
 Puppet  Agent  
 

  
 
 
 
 

 
 
 

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