DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response
/Users/nick/.chefdk/gem/ruby/2.4.0/gems/chef-vault-3.3.0/lib/chef/knife/vault_refresh.rb:44:in `run': undefined method `skip_reencryption=' for #<ChefVault::Item:0x007fa62bd010a0> (NoMethodError)
from /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.2.20/lib/chef/knife.rb:442:in `block in run_with_pretty_exceptions'
from /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.2.20/lib/chef/local_mode.rb:44:in `with_server_connectivity'
from /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.2.20/lib/chef/knife.rb:441:in `run_with_pretty_exceptions'
from /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.2.20/lib/chef/knife.rb:219:in `run'
from /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.2.20/lib/chef/application/knife.rb:156:in `run'
from /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.2.20/bin/knife:25:in `<top (required)>'
from /usr/local/bin/knife:263:in `load'
from /usr/local/bin/knife:263:in `<main>'
运行knife vault refresh {folder} {item}
时收到此错误。
这是来自knife bootstrap
的提示的结果:
192.168.0.17 [2017-11-01T14:11:54-07:00] ERROR: {vault-item} is encrypted for you, but your private key failed to decrypt the contents. (if you regenerated your client key, have an administrator of the vault run 'knife vault refresh')