Jira (PUP-10312) The agent should ensure it uses the same version of its environment thoughout a run

4 views
Skip to first unread message

Maggie Dreyer (JIRA)

unread,
Feb 24, 2020, 6:10:04 PM2/24/20
to puppe...@googlegroups.com
Maggie Dreyer created an issue
 
Puppet / Task PUP-10312
The agent should ensure it uses the same version of its environment thoughout a run
Issue Type: Task Task
Assignee: Unassigned
Created: 2020/02/24 3:09 PM
Priority: Normal Normal
Reporter: Maggie Dreyer

During an agent run, the agent makes multiple requests against the server, fetching plugins, requesting its catalog, submitting its report. It retrieves an entry from the environment cache for each of these actions. When we stop blocking requests during code deploys, it is possible for the environment to change over the course of these requests. For example, the agent might download plugins against one version of the env, then a deploy happens, and then it compiles the catalog against the newer version, which might require plugins that were not downloaded or that changed.

We need a way to ensure that the agent uses the same version of the environment throughout its run, beyond just throughout a catalog compilation. It seems like this might entail allowing the agent to request a specific environment version after the initial node request, perhaps based on a version sent back in the response to that request.

Docs about node requests: https://puppet.com/docs/puppet/latest/http_api/http_node.html

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

Maggie Dreyer (JIRA)

unread,
Feb 25, 2020, 1:22:04 PM2/25/20
to puppe...@googlegroups.com
Maggie Dreyer commented on Task PUP-10312
 
Re: The agent should ensure it uses the same version of its environment thoughout a run

Note that currently, we do not control for this. If a deploy happens in the middle of an agent run, we halt its requests wherever they are. So it may start out getting things from one environment and wind up compiling in another, if the deploy happens between. So this is probably not required for v1 of the versioned environment work.

Nick Walker (Jira)

unread,
May 22, 2020, 1:58:03 PM5/22/20
to puppe...@googlegroups.com
Nick Walker updated an issue
 
Change By: Nick Walker
Epic Link: PE CODEMGMT - 26632 1270
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Maggie Dreyer (Jira)

unread,
Feb 5, 2021, 11:33:04 AM2/5/21
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages