Jira (PUP-10539) Agent Environment Convergence

2 views
Skip to first unread message

Josh Cooper (Jira)

unread,
Jun 5, 2020, 5:46:03 PM6/5/20
to puppe...@googlegroups.com
Josh Cooper created an issue
 
Puppet / Epic PUP-10539
Agent Environment Convergence
Issue Type: Epic Epic
Assignee: Unassigned
Created: 2020/06/05 2:45 PM
Priority: Normal Normal
Reporter: Josh Cooper
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Josh Cooper (Jira)

unread,
Jun 5, 2020, 6:15:02 PM6/5/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
This epic contains tickets for improving how the agent converges on which environment to use.

Josh Cooper (Jira)

unread,
May 28, 2021, 2:02:27 PM5/28/21
to puppe...@googlegroups.com
Josh Cooper updated an issue
This epic contains tickets for improving how There are architectural issues with the way the agent converges on and server negotiate which environment to use :

* Newly provisioned agent runs will fail if pluginsync occurs in production, but catalog compilation occurs in a different environment, and the manifest references a fact that doesn't exist in production

* Each agent run results in two node requests, and corresponding classifier requests
. Facts are not sent with the first node request, so the classifier terminus retrieve last-known facts from puppetdb. Finally, the first node request returns all of the last-known facts back to the agent (since facts are merged into node parameters).

* If the first node request fails or times out due to server load, then the agent will switch back to "production", deleting all its plugins. This leads to a positive feedback loop as agents then download all plugins again, one file at a time.

* If the agent is configured to use an environment  in puppet.conf, and the environment is deleted on the server, then the agent will never successfully run again until the setting is removed.
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages