-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Description
Description
When provisioning Windows AWS AMIs (2019 and 2016) with Chef Infra Client 18.x.x, the client install succeeds, but the first run with chef-solo fails due to a missing Chef.PowerShell.Wrapper.dll.
This blocks our Packer + Jenkins image build pipeline.
Chef Version
Affects all Chef Infra Client 18.x.x versions tested
Platform Version
Windows Server 2019 AWS AMI
Windows Server 2016 AWS AMI
Replication Case
Client Output
Launch a Windows 2019 or Windows 2016 AWS AMI.
Install Chef Infra Client 18.x.x MSI (works fine).
Run chef-solo with a simple cookbook.
The debug output
FATAL: LoadError: Could not open library 'c:/opscode/chef/embedded/lib/ruby/gems/3.1.0/gems/chef-powershell-18.1.0/bin/ruby_bin_folder//Chef.PowerShell.Wrapper.dll':
Failed with error 126: The specified module could not be found.
Stacktrace
This is happening consistently across all builds of Chef 18.x.x.
Same issue observed on Windows 2016 and 2019 AWS AMIs.
Is there a known fix/workaround?
Can I connect with someone from the Chef team/community for deeper debugging, since this is blocking image factory pipelines?