Jira (PUP-10147) Track server versions so we know if it supports json serialization and the locales mount

7 views
Skip to first unread message

Josh Cooper (JIRA)

unread,
Feb 10, 2020, 12:27:04 PM2/10/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
 
Puppet / Task PUP-10147
Track server versions so we know if it supports json serialization and the locales mount
Change By: Josh Cooper
Summary: Handle PSON downgrade Track server versions so we know if it supports json serialization and the locales mount
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Josh Cooper (JIRA)

unread,
Feb 10, 2020, 12:29:04 PM2/10/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
The agent will downgrade from JSON to PSON serialization if the very first puppetserver response header {{X-PUPPET_VERSION}} < 6.0. Typically this occurs when making the initial node request to determine the agent's environment.

Puppet's http client should record PSON downgrade in its session, and use that for subsequent connections. So if the node request causes us to downgrade, then the facts should be encoded in PSON and submitted with the catalog request, and later the report should be submitted as PSON.


Similarly, we sync from the {{plugins}} and {{pluginfacts}} mounts, and need to know the server version prior to syncing the {{locales}} mount, which was added in 5.3.4.

Melissa Stone (JIRA)

unread,
Feb 14, 2020, 2:40:03 PM2/14/20
to puppe...@googlegroups.com

Melissa Stone (JIRA)

unread,
Feb 21, 2020, 3:17:03 PM2/21/20
to puppe...@googlegroups.com

Melissa Stone (JIRA)

unread,
Feb 24, 2020, 12:44:06 PM2/24/20
to puppe...@googlegroups.com

This has passed ci as a part of puppet-agent 6.13.0.51.gf3fde108

Reply all
Reply to author
Forward
0 new messages