Skip to content

Exception Chef.Bootstrap.WindowsAzure.ChefClient has not exited on time on Chef Version 14 #367

@bawenna

Description

@bawenna

Encountered this error when trying to install the extension with chef 14, tried this on the latest extension version as well as older versions. chef version 15 or 16 works just fine but there are gem conflicts with our cookbooks and we are stuck with 14 for a while.
install.cmd ran just fine, it was the enable.cmd it is having issues, full stack trace below:
`[10/11/2021 21:21:29.24] Executing: C:\Packages\Plugins\Chef.Bootstrap.WindowsAzure.ChefClient\1210.12.110.1002\enable.cmd
[10/11/2021 21:26:30.56] Execution Complete.

Execution Output:
C:\Packages\Plugins\Chef.Bootstrap.WindowsAzure.ChefClient\1210.12.110.1002>set CHEF_EXT_DIR=C:\Packages\Plugins\Chef.Bootstrap.WindowsAzure.ChefClient\1210.12.110.1002\
C:\Packages\Plugins\Chef.Bootstrap.WindowsAzure.ChefClient\1210.12.110.1002>echo C:\Packages\Plugins\Chef.Bootstrap.WindowsAzure.ChefClient\1210.12.110.1002\
C:\Packages\Plugins\Chef.Bootstrap.WindowsAzure.ChefClient\1210.12.110.1002
C:\Packages\Plugins\Chef.Bootstrap.WindowsAzure.ChefClient\1210.12.110.1002>REM Installing chef-client
C:\Packages\Plugins\Chef.Bootstrap.WindowsAzure.ChefClient\1210.12.110.1002>powershell -nologo -noprofile -executionpolicy unrestricted Import-Module C:\Packages\Plugins\Chef.Bootstrap.WindowsAzure.ChefClient\1210.12.110.1002\bin\chef-install.psm1;Install-ChefClient
Environment variables not passed.
Downloading Chef Client ...
ModuleType Version Name ExportedCommands


Script 0.0 Omnitruck {Get-ProjectMetadata, Install-Project, install}
Installing chef from C:\Windows\TEMP\chef-client-14.15.6-1-x64.msi

Execution Error:

Number of Tries:
1Command C:\Packages\Plugins\Chef.Bootstrap.WindowsAzure.ChefClient\1210.12.110.1002\enable.cmd of Chef.Bootstrap.WindowsAzure.ChefClient has not exited on time! Killing it...
`

Any help would be appreciated, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions