Comments (5)
This is actually a bug in mixlib-install. I'm going to release a new chef_client_updater today that requires the latest mixlib-install in order to fix this.
from chef_client_updater.
i have same error with windows 2012 r2 server .
my chef client version = 12.18.31
i test with chef client version 12.20 / 12.10 and 12.13.37 and has a same error
error:
�[0mMixlib::Install::Options::InvalidOptions�[0m
----------------------------------------�[0m
Must provide platform, platform version and architecture when specifying any platform details
�[0m
�[0mCookbook Trace:�[0m
---------------�[0m
c:/chef/cache/cookbooks/chef_client_updater/providers/default.rb:89:in new' �[0mc:/chef/cache/cookbooks/chef_client_updater/providers/default.rb:89:in
mixlib_install'
�[0mc:/chef/cache/cookbooks/chef_client_updater/providers/default.rb:235:in block (2 levels) in class_from_file' �[0mc:/chef/cache/cookbooks/chef_client_updater/providers/default.rb:233:in
block in class_from_file'�[0m
�[0mResource Declaration:�[0m
---------------------�[0m
In c:/chef/cache/cookbooks/chef_client_updater/recipes/default.rb
�[0m
�[0m 20: chef_client_updater 'update chef-client' do
�[0m 21: channel node['chef_client_updater']['channel']
�[0m 22: version node['chef_client_updater']['version']
�[0m 23: prevent_downgrade node['chef_client_updater']['prevent_downgrade']
�[0m 24: post_install_action node['chef_client_updater']['post_install_action']
�[0m 25: download_url_override node['chef_client_updater']['download_url_override'] if node['chef_client_updater']['download_url_override']
�[0m 26: checksum node['chef_client_updater']['checksum'] if node['chef_client_updater']['checksum']
�[0m 27: end
�[0m
�[0mCompiled Resource:�[0m
thanks for yr help
from chef_client_updater.
Getting the same issue. Running on Server 2008 R2 with chef client 12.16.42 and cookbook version 3.0.1.
-
chef_client_updater[Install 13.0.118] action update
- upgrading rubygems to 2.6.11 was 2.6.8
- chef_gem[mixlib-install] action install
- install version >= 3.3.1 of package mixlib-install
Error executing action
update
on resource 'chef_client_updater[Install 13.0.118]'Mixlib::Install::Options::InvalidOptions
Must provide platform, platform version and architecture when specifying any platform details
Cookbook Trace:
c:/chef/cache/cookbooks/chef_client_updater/providers/default.rb:89:in
new' c:/chef/cache/cookbooks/chef_client_updater/providers/default.rb:89:in
mixlib_install'
c:/chef/cache/cookbooks/chef_client_updater/providers/default.rb:235:inblock (2 levels) in class_from_file' c:/chef/cache/cookbooks/chef_client_updater/providers/default.rb:233:in
block in class_from_file'
from chef_client_updater.
3.0.3 is out and that should install a version of the mixlib-install gem that properly works on windows hosts
from chef_client_updater.
Forgive me, if I am not in the correct space to pose this question; I am new to this thread...
What can and/or should I do about this:?
OpenSSL::Cipher::CipherError
bad decrypt
Cookbook Trace:
/var/chef/cache/cookbooks/inspired/libraries/default.rb:29:in final' /var/chef/cache/cookbooks/inspired/libraries/default.rb:29:in
decrypt'
/var/chef/cache/cookbooks/inspired/attributes/default.rb:19:in `from_file'
Relevant File Content:
/var/chef/cache/cookbooks/inspired/libraries/default.rb:
22:
23: decode_cipher = OpenSSL::Cipher::Cipher.new(alg)
24: key = OpenSSL::PKCS5.pbkdf2_hmac_sha1(pass,saltString, 2048, decode_cipher.key_len)
25: decode_cipher.decrypt
26: decode_cipher.key = key
27: decode_cipher.iv = iv
28: plain = decode_cipher.update(decryptMe)
29>> plain << decode_cipher.final
30: return plain
31: end
32:
33: def encrypt(plaintext, pass)
34: alg = "AES-256-CBC"
35:
36: salt = OpenSSL::Random.random_bytes(16)
37: saltString = [salt].pack('m')
38:
Running handlers:
[2018-09-13T09:01:07-06:00] ERROR: Running exception handlers
Running handlers complete
[2018-09-13T09:01:07-06:00] ERROR: Exception handlers complete
[2018-09-13T09:01:07-06:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
Chef Client failed. 0 resources updated in 24.467147855 seconds
[2018-09-13T09:01:07-06:00] ERROR: bad decrypt
[2018-09-13T09:01:07-06:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
from chef_client_updater.
Related Issues (20)
- No checksum validation of handle.zip
- The PowerShell to reschedule the upgrade does not work (Windows) HOT 2
- "cannot load such file -- highline" after upgraded. HOT 8
- Direct Download - Unable to contain self signed certificate
- Require Chef Infra Client 12.5+
- Remove support for ChefDK
- Move the upgrade logic outside of Chef
- Chef client update fails on windows 7 citrix VDIs
- Cookbook removes scheduled task HOT 5
- Chef upgrade failing in windows10 version 2004 and later
- Cookbook hangs when upgrading on Solaris HOT 1
- Assumes `C:\opscode` exists HOT 1
- Calls mixlib-install even when `download_url_override` is set HOT 1
- Create Tag 3.12 HOT 4
- Deprecation warning for `unified_mode` HOT 2
- Latest release contains mac underscore files HOT 3
- The exec_command value cannot be overridden HOT 1
- Provide basic authentication when using download_url_override?
- Restart chef-client.service after upgrade
- product_name does not allow 'cinc' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chef_client_updater.