Chef-client
Jump to navigation
Jump to search
This article is a Draft. Help us to complete it.
chef-client your_file.rb /usr/share/rubygems-integration/all/gems/chef-15.8.25/lib/chef/provider.rb:337: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/rubygems-integration/all/gems/chef-15.8.25/lib/chef/node_map.rb:58: warning: The called method `set' is defined here /usr/share/rubygems-integration/all/gems/chef-15.8.25/lib/chef/resource.rb:1379: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/rubygems-integration/all/gems/chef-15.8.25/lib/chef/node_map.rb:58: warning: The called method `set' is defined here /usr/share/rubygems-integration/all/gems/chef-15.8.25/lib/chef/platform/priority_map.rb:36: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/rubygems-integration/all/gems/chef-15.8.25/lib/chef/node_map.rb:58: warning: The called method `set' is defined here /usr/share/rubygems-integration/all/gems/chef-15.8.25/lib/chef/property.rb:546: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/rubygems-integration/all/gems/chef-15.8.25/lib/chef/property.rb:121: warning: The called method `initialize' is defined here [2021-07-27T11:11:24+04:00] WARN: ***************************************** [2021-07-27T11:11:24+04:00] WARN: Did not find config file: /etc/cinc/client.rb. Using command line options instead. [2021-07-27T11:11:24+04:00] WARN: ***************************************** Starting Cinc Client, version 15.8.25 Creating a new client identity for kk using the validator key. [2021-07-27T11:11:27+04:00] WARN: Failed to read the private key /etc/cinc/validation.pem: #<Errno::ENOENT: No such file or directory @ rb_sysopen - /etc/cinc/validation.pem> ================================================================================ Chef encountered an error attempting to create the client "kk" ================================================================================ Private Key Not Found: ---------------------- Your private key could not be loaded. If the key file exists, ensure that it is readable by cinc-client. Relevant Config Settings: ------------------------- validation_key "/etc/cinc/validation.pem" System Info: ------------ chef_version=15.8.25 ruby=ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux-gnu] program_name=/usr/bin/chef-client executable=/usr/bin/cinc-client Running handlers: [2021-07-27T11:11:27+04:00] ERROR: Running exception handlers Running handlers complete [2021-07-27T11:11:27+04:00] ERROR: Exception handlers complete Cinc Client failed. 0 resources updated in 02 seconds [2021-07-27T11:11:27+04:00] WARN: Failed to read the private key /etc/cinc/client.pem: #<Errno::ENOENT: No such file or directory @ rb_sysopen - /etc/cinc/client.pem> [2021-07-27T11:11:27+04:00] WARN: Error while reporting run start to Data Collector. URL: https://localhost:443/data-collector Exception: No HTTP Code -- I cannot read /etc/cinc/client.pem, which you told me to use to sign requests! [2021-07-27T11:11:27+04:00] WARN: Failed to read the private key /etc/cinc/client.pem: #<Errno::ENOENT: No such file or directory @ rb_sysopen - /etc/cinc/client.pem> [2021-07-27T11:11:27+04:00] WARN: Error while reporting run start to Data Collector. URL: https://localhost:443/data-collector Exception: No HTTP Code -- I cannot read /etc/cinc/client.pem, which you told me to use to sign requests! [2021-07-27T11:11:27+04:00] FATAL: Stacktrace dumped to /var/cinc/cache/cinc-stacktrace.out [2021-07-27T11:11:27+04:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report [2021-07-27T11:11:27+04:00] FATAL: Chef::Exceptions::PrivateKeyMissing: I cannot read /etc/cinc/validation.pem, which you told me to use to sign requests!
See also
Advertising: