Advertisement
Guest User

Untitled

a guest
Apr 25th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. PS C:\Users\Ryan Berger\Documents\GitHub\chef\chef> knife
  2. ERROR: You need to pass a sub-command (e.g., knife SUB-COMMAND)
  3.  
  4. Usage: knife sub-command (options)
  5.     -s, --server-url URL             Chef Server URL
  6.         --chef-zero-host HOST        Host to start chef-zero on
  7.         --chef-zero-port PORT        Port (or port range) to start chef-zero on.  Port ranges like 1000,1010 or 8889-9999 will try all given ports until one works.
  8.     -k, --key KEY                    API Client Key
  9.         --[no-]color                 Use colored output, defaults to enabled
  10.     -c, --config CONFIG              The configuration file to use
  11.         --config-option OPTION=VALUE Override a single configuration option
  12.         --defaults                   Accept default values for all questions
  13.     -d, --disable-editing            Do not open EDITOR, just accept the data as is
  14.     -e, --editor EDITOR              Set the editor to use for interactive commands
  15.     -E, --environment ENVIRONMENT    Set the Chef environment (except for in searches, where this will be flagrantly ignored)
  16.         --[no-]fips                  Enable fips mode
  17.     -F, --format FORMAT              Which format to use for output
  18.         --[no-]listen                Whether a local mode (-z) server binds to a port
  19.     -z, --local-mode                 Point knife commands at local repository instead of server
  20.     -u, --user USER                  API Client Username
  21.         --print-after                Show the data after a destructive operation
  22.         --profile PROFILE            The credentials profile to select
  23.     -V, --verbose                    More verbose output. Use twice for max verbosity
  24.     -v, --version                    Show chef version
  25.     -y, --yes                        Say yes to all prompts for confirmation
  26.     -h, --help                       Show this message
  27.  
  28. Available subcommands: (for details, knife SUB-COMMAND --help)
  29.  
  30. Traceback (most recent call last):
  31.         60: from C:/opscode/chef-workstation/bin/knife:322:in `<main>'
  32.        59: from C:/opscode/chef-workstation/bin/knife:322:in `load'
  33.         58: from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/bin/knife:24:in `<top (required)>'
  34.        57: from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/application/knife.rb:159:in `run'
  35.         56: from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/application/knife.rb:181:in `validate_and_parse_options'
  36.        55: from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/application/knife.rb:217:in `print_help_and_exit'
  37.         54: from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/knife.rb:243:in `list_commands'
  38.        53: from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/knife/core/subcommand_loader.rb:99:in `list_commands'
  39.         52: from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/knife/core/subcommand_loader.rb:85:in `load_commands'
  40.        51: from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/knife/core/subcommand_loader.rb:85:in `each'
  41.         50: from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/knife/core/subcommand_loader.rb:85:in `block in load_commands'
  42.        49: from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/knife/core/subcommand_loader.rb:85:in `load'
  43.         48: from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/knife-google-3.3.7/lib/chef/knife/google_disk_create.rb:22:in `<top (required)>'
  44.        47: from C:/opscode/chef-workstation/embedded/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  45.         46: from C:/opscode/chef-workstation/embedded/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  46.        45: from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/knife-google-3.3.7/lib/chef/knife/cloud/google_service.rb:24:in `<top (required)>'
  47.         44: from C:/opscode/chef-workstation/embedded/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  48.        43: from C:/opscode/chef-workstation/embedded/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  49.         42: from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/google-api-client-0.23.9/generated/google/apis/compute_v1.rb:15:in `<top (required)>'
  50.        41: from C:/opscode/chef-workstation/embedded/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  51.         40: from C:/opscode/chef-workstation/embedded/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  52.        39: from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/google-api-client-0.23.9/generated/google/apis/compute_v1/service.rb:15:in `<top (required)>'
  53.         38: from C:/opscode/chef-workstation/embedded/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  54.        37: from C:/opscode/chef-workstation/embedded/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  55.         36: from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/google-api-client-0.23.9/lib/google/apis/core/base_service.rb:23:in `<top (required)>'
  56.        35: from C:/opscode/chef-workstation/embedded/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  57.         34: from C:/opscode/chef-workstation/embedded/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  58.        33: from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/googleauth-0.6.7/lib/googleauth.rb:30:in `<top (required)>'
  59.         32: from C:/opscode/chef-workstation/embedded/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  60.        31: from C:/opscode/chef-workstation/embedded/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  61.         30: from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/googleauth-0.6.7/lib/googleauth/application_default.rb:30:in `<top (required)>'
  62.        29: from C:/opscode/chef-workstation/embedded/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  63.         28: from C:/opscode/chef-workstation/embedded/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  64.        27: from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/googleauth-0.6.7/lib/googleauth/compute_engine.rb:31:in `<top (required)>'
  65.         26: from C:/opscode/chef-workstation/embedded/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  66.        25: from C:/opscode/chef-workstation/embedded/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  67.         24: from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/googleauth-0.6.7/lib/googleauth/signet.rb:30:in `<top (required)>'
  68.        23: from C:/opscode/chef-workstation/embedded/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  69.         22: from C:/opscode/chef-workstation/embedded/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  70.        21: from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/signet-0.11.0/lib/signet/oauth_2/client.rb:21:in `<top (required)>'
  71.         20: from C:/opscode/chef-workstation/embedded/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  72.        19: from C:/opscode/chef-workstation/embedded/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  73.         18: from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/jwt-2.1.0/lib/jwt.rb:8:in `<top (required)>'
  74.        17: from C:/opscode/chef-workstation/embedded/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  75.         16: from C:/opscode/chef-workstation/embedded/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  76.        15: from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/jwt-2.1.0/lib/jwt/signature.rb:11:in `<top (required)>'
  77.         14: from C:/opscode/chef-workstation/embedded/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:39:in `require'
  78.        13: from C:/opscode/chef-workstation/embedded/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
  79.         12: from C:/opscode/chef-workstation/embedded/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:in `require'
  80.        11: from C:/Users/Ryan Berger/AppData/Local/chefdk/gem/ruby/2.5.0/gems/rbnacl-6.0.1/lib/rbnacl.rb:12:in `<top (required)>'
  81.         10: from C:/opscode/chef-workstation/embedded/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  82.         9: from C:/opscode/chef-workstation/embedded/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  83.          8: from C:/Users/Ryan Berger/AppData/Local/chefdk/gem/ruby/2.5.0/gems/rbnacl-6.0.1/lib/rbnacl/sodium/version.rb:6:in `<top (required)>'
  84.         7: from C:/Users/Ryan Berger/AppData/Local/chefdk/gem/ruby/2.5.0/gems/rbnacl-6.0.1/lib/rbnacl/sodium/version.rb:7:in `<module:RbNaCl>'
  85.          6: from C:/Users/Ryan Berger/AppData/Local/chefdk/gem/ruby/2.5.0/gems/rbnacl-6.0.1/lib/rbnacl/sodium/version.rb:9:in `<module:Sodium>'
  86.         5: from C:/Users/Ryan Berger/AppData/Local/chefdk/gem/ruby/2.5.0/gems/rbnacl-6.0.1/lib/rbnacl/sodium/version.rb:14:in `<module:Version>'
  87.          4: from C:/Users/Ryan Berger/AppData/Local/chefdk/gem/ruby/2.5.0/gems/rbnacl-6.0.1/lib/rbnacl/sodium/version.rb:14:in `extend'
  88.         3: from C:/Users/Ryan Berger/AppData/Local/chefdk/gem/ruby/2.5.0/gems/rbnacl-6.0.1/lib/rbnacl/sodium.rb:11:in `extended'
  89.          2: from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/ffi-1.10.0-x64-mingw32/lib/ffi/library.rb:99:in `ffi_lib'
  90.         1: from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/ffi-1.10.0-x64-mingw32/lib/ffi/library.rb:99:in `map'
  91. C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/ffi-1.10.0-x64-mingw32/lib/ffi/library.rb:145:in `block in (LoadError)ould not open library 'sodium': The specified module could not be found.
  92. .
  93. Could not open library 'sodium.dll': The specified module could not be found.
  94. .
  95. Could not open library 'libsodium.so.18': The specified module could not be found.
  96. .
  97. Could not open library 'libsodium.so.18.dll': The specified module could not be found.
  98. .
  99. Could not open library 'libsodium.so.23': The specified module could not be found.
  100. .
  101. Could not open library 'libsodium.so.23.dll': The specified module could not be found.
  102. PS C:\Users\Ryan Berger\Documents\GitHub\chef\chef>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement