Giter Club home page Giter Club logo

Comments (5)

tas50 avatar tas50 commented on July 19, 2024 1

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.

Magictoys avatar Magictoys commented on July 19, 2024

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.

jdpc02 avatar jdpc02 commented on July 19, 2024

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:in block (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.

tas50 avatar tas50 commented on July 19, 2024

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.

lphillips1 avatar lphillips1 commented on July 19, 2024

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)

mailto:[email protected]

from chef_client_updater.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.