Commit bda5def
committed
(MODULES-10653) Failed to upgrade agent using puppet task
Before this commit, when trying to run the
`puppet_agent::install_powershell` task, with a specific version as
parameter, it was failing with below error message:
Error: Timed out waiting for status response from <node_name>
On the node, both `puppet agent` and `pxp-agent` services got stopped
and the event log viewer showed:
Application or service 'task_wrapper' could not be shut down.
Due to Windows agents becoming unresponsive when running this task and
as per MODULES-10633 discussions, the `puppet_agent::install_poweshell`
task should not be used for upgrading Puppet Agents. This Puppet Agent
module task will now stop immediately and output a message if the Puppet
Agent is already installed on the node.1 parent b83c5b9 commit bda5def
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
| |||
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
| |||
0 commit comments