Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
puppet_agent 1.1.0
-
-
2
-
Windows 2016-07-27, Windows 2016-08-10
Description
The agent upgrade wait script on Windows runs tasklist then searches for English string No tasks are running at https://github.com/puppetlabs/puppetlabs-puppet_agent/blob/master/templates/install_puppet.bat.erb#L18. This string is never found on non-English Windows, which will block the upgrade indefinitely (due to MODULES-3434), and may cause additional upgrades to be queued up on each subsequent agent run.
The solution here is to use qprocess which returns an exit code based on process id.
QProcess doesn't exist on Nano, so the solution is wmic instead.
Attachments
Issue Links
- relates to
-
MODULES-3434 Agent Upgrade - Do not wait indefinitely on AGENT_PID
-
- Resolved
-