Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bawenna opened this issue Oct 12, 2021 · 1 comment

Comments

@bawenna
Copy link

bawenna commented Oct 12, 2021

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!

@ayushbhatt29
Copy link
Contributor

Hi @bawenna, from the logs it seems you are using very old version of Azure-chef-extension can you please try with latest release version 1210.14.1.1.

Also chef-client 15 and under version have come to EOL on April 30 2021 you can refer to this source, we would suggest to upgrade to newer versions chef-client 16 or chef-client 17.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants