Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Night's Watch
-
2
-
NW - 2020-10-14, NW - 2020-10-28
-
Needs Assessment
-
40867,41066,42338
-
3
-
Bug Fix
-
Needs Assessment
Description
Basic Info
Module Version: 4.1.1
Puppet Version: 2018.1.16
OS Name/Version: Windows 2012 R2
My Windows node is not able to upgrade to 5.5.21. In my debug puppet run, I see the following message. It creates the puppet_agent_upgrade_failure.log which has the error: ScriptHalted
0;36mDebug: Checking for Error logfile C:/ProgramData/PuppetLabs/puppet/cache/state/puppet_agent_upgrade_failure.log[0m |
[0;36mDebug: Exec[install_puppet.ps1](provider=windows): Executing check 'C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -NoProfile -NoLogo |
-NonInteractive -Command {$CurrentVersion = [string](facter.bat -p aio_agent_version); if ($CurrentVersion -eq '5.5.21') { exit 0; |
} exit 1; }.Invoke()'[0m |
[0;36mDebug: Executing: 'C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -NoProfile -NoLogo -NonInteractive |
-Command {$CurrentVersion = [string](facter.bat -p aio_agent_version); if ($CurrentVersion -eq '5.5.21') { exit 0; } |
exit 1; }.Invoke()'[0m |
[0;36mDebug: Exec[install_puppet.ps1](provider=windows): Executing 'C:\Windows\system32\cmd.exe /S /c start /b C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass |
-NoProfile -NoLogo -NonInteractive -Command C:\Users\DCLEVE~1\AppData\Local\Temp\2\install_puppet.ps1 -PuppetPID 288 -Source |
'C:\ProgramData\Puppetlabs\packages\puppet-agent-x64.msi' -Logfile 'C:\Users\DCLEVE~1\AppData\Local\Temp\2\puppet-2020_09_19-15_44-installer.log' -InstallDir '' |
-PuppetMaster 'laxprdcm.csodmgmt.corp' -PuppetStartType 'Automatic' -InstallArgs 'REINSTALLMODE="""amus"""' -UseLockedFilesWorkaround |
'[0m
|
[0;36mDebug: Executing: 'C:\Windows\system32\cmd.exe /S /c start /b C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -NoProfile -NoLogo |
-NonInteractive -Command C:\Users\DCLEVE~1\AppData\Local\Temp\2\install_puppet.ps1 -PuppetPID 288 -Source 'C:\ProgramData\Puppetlabs\packages\puppet |
-agent-x64.msi' -Logfile 'C:\Users\DCLEVE~1\AppData\Local\Temp\2\puppet-2020_09_19-15_44-installer.log' -InstallDir '' -PuppetMaster 'laxprdcm.csodmgmt. |
corp' -PuppetStartType 'Automatic' -InstallArgs 'REINSTALLMODE="""amus"""' -UseLockedFilesWorkaround '[0m |
[mNotice: /Stage[main]/Puppet_agent::Install::Windows/Exec[install_puppet.ps1]/returns: executed successfully (corrective)[0m
|
[0;36mDebug: /Stage[main]/Puppet_agent::Install::Windows/Exec[install_puppet.ps1]: The container Class[Puppet_agent::Install::Windows] will propagate my refresh event[0m |
[0;36mDebug: Exec[fix inheritable SYSTEM perms](provider=windows): Executing check 'C:\Windows\system32\cmd.exe /c C:\Windows\system32\icacls.exe "C:/ProgramData/PuppetLabs/puppet/cache/client_data" | findstr "SYSTEM:(OI)(CI)(F)" |
'[0m
|
[0;36mDebug: Executing: 'C:\Windows\system32\cmd.exe /c C:\Windows\system32\icacls.exe "C:/ProgramData/PuppetLabs/puppet/cache/client_data" | findstr "SYSTEM:(OI)(CI)(F)"'[0m |
[0;36mDebug: /Stage[main]/Puppet_agent::Install::Windows/Exec[fix inheritable SYSTEM perms]/unless: C:/ProgramData/PuppetLabs/puppet/cache/client_data NT AUTHORITY\SYSTEM:(OI)(CI)(F)[0m |
[0;36mDebug: /Stage[main]/Puppet_agent::Install::Windows/Exec[fix inheritable SYSTEM perms]: 'C:\Windows\system32\icacls.exe "C:/ProgramData/PuppetLabs/puppet/cache/client_data" /grant "SYSTEM:(OI)(CI)(F)"' won't be executed beca |
use of failed check 'unless'[0m |
[0;36mDebug: Class[Puppet_agent::Install::Windows]: The container Stage[main] will propagate my refresh event[0m |
[0;36mDebug: Class[Puppet_agent::Install::Windows]: The container Class[Puppet_agent::Install] will propagate my refresh event[0m |
[0;36mDebug: Class[Puppet_agent::Install]: The container Stage[main] will propagate my refresh event[0m |
[0;36mDebug: Class[Puppet_agent::Install]: The container Class[Puppet_agent] will propagate my refresh event[0m |
[0;36mDebug: Class[Puppet_agent]: The container Stage[main] will propagate my refresh event[0m |
[0;36mDebug: /Stage[main]/Profile::Windows::Puppet::Agent::Init/Ini_setting[rm directory environment main]: Nothing to manage: no ensure and the resource doesn't exist[0m |
[0;36mDebug: /Stage[main]/Profile::Windows::Puppet::Agent::Init/Ini_setting[rm certname agent]: Nothing to manage: no ensure and the resource doesn't exist[0m |
[0;36mDebug: Service[puppet](provider=windows): Service puppet is SERVICE_RUNNING[0m |
[0;36mDebug: Service[puppet](provider=windows): Service puppet start type is SERVICE_AUTO_START[0m |
[0;36mDebug: Service[pxp-agent](provider=windows): Service pxp-agent is SERVICE_RUNNING[0m |
[0;36mDebug: Service[pxp-agent](provider=windows): Service pxp-agent start type is SERVICE_AUTO_START[0m |
[0;36mDebug: /Stage[main]/Puppet_enterprise::Mcollective::Purge::Agent/File[C:\ProgramData/PuppetLabs/mcollective/etc]: Nothing to manage: no ensure and the resource doesn't exist[0m |
[0;36mDebug: /Stage[main]/Puppet_enterprise::Mcollective::Purge::Agent/File[C:\ProgramData/PuppetLabs/mcollective/plugins]: Nothing to manage: no ensure and the resource doesn't exist[0m |
[0;36mDebug: Service[mcollective](provider=windows): Service mcollective is SERVICE_STOPPED[0m |
[0;36mDebug: Service[mcollective](provider=windows): Service mcollective start type is SERVICE_DISABLED[0m |
[0;36mDebug: /Stage[main]/Puppet_enterprise::Mcollective::Purge::Agent/Scheduled_task[pe-mcollective-metadata]: Nothing to manage: no ensure and the resource doesn't exist[0m |
[0;36mDebug: Finishing transaction 99131920[0m |
[0;36mDebug: Storing state[0m |
[0;36mDebug: Pruned old state cache entries in 0.00 seconds[0m |
This is in my manifest:
# Include module to keep puppet agent in sync with master. Repo
|
# is managed by PE which means the package is taken from PE. |
class {'::puppet_agent': |
package_version => $puppet_agent_version,
|
is_pe => true, |
msi_move_locked_files => true, |
}
|
ScriptHalted Error:
Error: Failed previous installation with: ScriptHalted
|
Error: /Stage[main]/Puppet_agent::Install::Windows/Puppet_agent_upgrade_error[puppet_agent_upgrade_failure.log]/ensure_notexist: change from false to true failed: Failed previous installation with: ScriptHaltedWarning: /Stage[main]/Puppet_agent::Install::Windows/Exec[install_puppet.ps1]: Skipping because of failed dependencies |
Warning: /Stage[main]/Puppet_agent::Install::Windows/Exec[fix inheritable SYSTEM perms]: Skipping because of failed dependencies
|
Attachments
Issue Links
- relates to
-
PA-2701 Windows Network Components restart following Puppet agent Upgrade
-
- Resolved
-
-
PA-3545 puppet_agent : Upgrading Windows agent from 5.5.18 to 6.19.1 fails with `ScriptHalted` error
-
- Resolved
-
-
PA-3175 Windows component DHCP Server service after an upgrade
-
- Resolved
-
-
MODULES-4207 Defensively move the puppetres.dll file prior to MSI install
-
- Closed
-
-
PA-3263 Puppet Agent should ignore nssm.exe during an upgrade
-
- Resolved
-
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...