Jira (PUP-9648) Drop PSON support

1 view
Skip to first unread message

Josh Cooper (JIRA)

unread,
Apr 19, 2019, 12:16:03 PM4/19/19
to puppe...@googlegroups.com
Josh Cooper created an issue
 
Puppet / Improvement PUP-9648
Drop PSON support
Issue Type: Improvement Improvement
Assignee: Unassigned
Created: 2019/04/19 9:15 AM
Fix Versions: PUP 7.0.0
Priority: Normal Normal
Reporter: Josh Cooper

Puppet prefers JSON but will fallback to PSON if there are binary fact values or if the catalog contains binary content, such as the file resource's content => binary_file('/path/to/bin'). Now that rich data is supported and enabled by default, we should look into eliminating PSON support.

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

Josh Cooper (JIRA)

unread,
Apr 19, 2019, 2:43:03 PM4/19/19
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Team: Coremunity

Melissa Stone (Jira)

unread,
Apr 29, 2020, 5:22:03 PM4/29/20
to puppe...@googlegroups.com
Melissa Stone commented on Improvement PUP-9648
 
Re: Drop PSON support

ping Nick Walker Charlie Sharpsteen is this something that users are relying on? It doesn't look like we have an actual deprecation warning for this yet.

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

Nick Walker (Jira)

unread,
May 11, 2020, 2:53:04 PM5/11/20
to puppe...@googlegroups.com
Nick Walker commented on Improvement PUP-9648
 
Re: Drop PSON support

Would this cause older versions of the agent to no longer be able to connect to platform 7 masters?  

Josh Cooper (Jira)

unread,
Jul 21, 2020, 1:22:03 PM7/21/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Epic Link: PUP- 9120 10593

Rob Braden (Jira)

unread,
Jul 22, 2020, 7:05:03 PM7/22/20
to puppe...@googlegroups.com
Rob Braden updated an issue
Change By: Rob Braden
Labels: platform_7

Maggie Dreyer (Jira)

unread,
Aug 10, 2020, 5:56:02 PM8/10/20
to puppe...@googlegroups.com
Maggie Dreyer updated an issue
Change By: Maggie Dreyer
Puppet prefers JSON but will fallback to PSON if there are binary fact values or if the catalog contains binary content, such as the {{file}} resource's {{content => binary_file('/path/to/bin')}}. Now that rich data is supported and enabled by default, we should look into eliminating PSON support.

* Where does the fallback code live? Is it centralized or scattered around?
* There are some [mentions of PSON|https://github.com/puppetlabs/puppetserver/blob/master/src/clj/puppetlabs/services/ca/certificate_authority_core.clj#L163-L166] in the CA endpoint code. This is to support agents requesting certs in PSON. Can we drop this support?

Maggie Dreyer (Jira)

unread,
Aug 10, 2020, 6:00:04 PM8/10/20
to puppe...@googlegroups.com
Maggie Dreyer commented on Improvement PUP-9648
 
Re: Drop PSON support

I think we might need to make a call on how far back we want to support for agents if we do this. If we are going to say "all of them forever", then this ticket should be closed, because it's not possible to do.

Maggie Dreyer (Jira)

unread,
Aug 10, 2020, 6:03:03 PM8/10/20
to puppe...@googlegroups.com
Maggie Dreyer updated an issue
Puppet prefers JSON but will fallback to PSON if there are binary fact values or if the catalog contains binary content, such as the {{file}} resource's {{content => binary_file('/path/to/bin')}}. Now that rich data is supported and enabled by default, we should look into eliminating PSON support.

* Where does the fallback code live? Is it centralized or scattered around?
* There are some [mentions of PSON|https://github.com/puppetlabs/puppetserver/blob/master/src/clj/puppetlabs/services/ca/certificate_authority_core.clj#L163-L166] in the CA endpoint code. This is to support agents requesting certs in PSON. Can we drop this support?

* In what version did we add real rich data support that doesn't require PSON? That version is likely the oldest we can support if we do this.

Maggie Dreyer (Jira)

unread,
Aug 10, 2020, 6:06:02 PM8/10/20
to puppe...@googlegroups.com
Maggie Dreyer updated an issue
Puppet prefers JSON but will fallback to PSON if there are binary fact values or if the catalog contains binary content, such as the {{file}} resource's {{content => binary_file('/path/to/bin')}}. Now that rich data is supported and enabled by default, we should look into eliminating PSON support.

* Where does the fallback code live? Is it centralized or scattered around?
* There are some [mentions of PSON|https://github.com/puppetlabs/puppetserver/blob/master/src/clj/puppetlabs/services/ca/certificate_authority_core.clj#L163-L166] in the CA endpoint code. This is to support agents requesting certs in PSON. Can we drop this support?
* In what version did we add real rich data support that doesn't require PSON? That version is likely the oldest we can support if we do this. We think this happened in Puppet 6, which is likely too recent for this to be doable.

Maggie Dreyer (Jira)

unread,
Aug 10, 2020, 6:07:03 PM8/10/20
to puppe...@googlegroups.com
Maggie Dreyer updated an issue
Puppet prefers JSON but will fallback to PSON if there are binary fact values or if the catalog contains binary content, such as the {{file}} resource's {{content => binary_file('/path/to/bin')}}. Now that rich data is supported and enabled by default, we should look into eliminating PSON support.

* Where does the fallback code live? Is it centralized or scattered around?
* There are some [mentions of PSON|https://github.com/puppetlabs/puppetserver/blob/master/src/clj/puppetlabs/services/ca/certificate_authority_core.clj#L163-L166] in the CA endpoint code. This is to support agents requesting certs in PSON. Can we drop this support?
* In what version did we add real rich data support that doesn't require PSON? That version is likely the oldest we can support if we do this. We think this happened in [ Puppet 6 |https://tickets.puppetlabs.com/browse/PUP-8587] , which is likely too recent for this to be doable.

Josh Cooper (Jira)

unread,
Aug 27, 2020, 11:53:03 AM8/27/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Epic Link: PUP-10593

Josh Cooper (Jira)

unread,
Aug 27, 2020, 11:53:05 AM8/27/20
to puppe...@googlegroups.com
Josh Cooper commented on Improvement PUP-9648
 
Re: Drop PSON support

My thinking is we need to support upgrading agents from Puppet 5, but not Puppet 4 (since we're dropping legacy routes support). Rich data was not enabled end to end by default until Puppet 6. We had some rich data support in Puppet 5, but it only really worked on the agent when compiling the catalog, and there were problems with the Puppet 5 loaders. So we probably need to hold off on this change until Puppet 8, when we're sure all agents can upgrade to 8 using rich data.

Josh Cooper (Jira)

unread,
Aug 27, 2020, 11:54:03 AM8/27/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Fix Version/s: PUP 7.0.0
Fix Version/s: PUP 8.0.0

Josh Cooper (Jira)

unread,
Aug 27, 2020, 11:54:04 AM8/27/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Labels: platform_7

Josh Cooper (Jira)

unread,
Sep 2, 2022, 3:20:03 PM9/2/22
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Epic Link: PA-4664
This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8)
Atlassian logo

Josh Cooper (Jira)

unread,
Sep 12, 2022, 2:21:02 PM9/12/22
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Team: Coremunity Phoenix

Josh Cooper (Jira)

unread,
Mar 9, 2023, 12:50:02 PM3/9/23
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Sprint: Phoenix 2023-03-29
Reply all
Reply to author
Forward
0 new messages