Jira (PDB-5277) puppetdb::master::routes decides on facts cache method based on wrong input

2 views
Skip to first unread message

Paul Kranenburg (Jira)

unread,
Sep 17, 2021, 10:26:02 AM9/17/21
to puppe...@googlegroups.com
Paul Kranenburg created an issue
 
PuppetDB / Improvement PDB-5277
puppetdb::master::routes decides on facts cache method based on wrong input
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: Module
Created: 2021/09/17 7:25 AM
Priority: Normal Normal
Reporter: Paul Kranenburg

In manifest puppetdb/master/routes.pp a decision is made as to what format to use for the facts cache in the puppetserver configuration based on the '$serverversion' server fact.

 

Since '$serverversion is defined by and set on the catalog compilation server, the resulting  setting may not be correct on the targeted puppetserver instances since those instances may not run the same puppetserver version as is used on the catalog compilation server.

 

This was discovered at a site that uses a cluster of catalog compilers which transioned, server by server, from puppet server version 6 to version 7. Puppet servers would experience varying facts cache settings depending on which catalog compilation server they would hit with their own puppet agent runs.

 

One way to resolve this issue more coherently is to use the client fact '$puppetversion' to configure the routes setting. This fact normally matches (in  its major version component) the puppet server version installed on that machine.

 

cf. module puppetdb 7.9.0, manifest/mastwer/routes.pp, line 25

 

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

David McTavish (Jira)

unread,
Feb 10, 2022, 10:16:02 AM2/10/22
to puppe...@googlegroups.com
David McTavish updated an issue
Change By: David McTavish
Labels: low-hanging-fruit
This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages