inspec / inspec-vault

An InSpec input source plugin for HashiCorp Vault
Other
9 stars 6 forks source link

inspec-vault stacktrace #34

Open vamshi4819 opened 4 years ago

vamshi4819 commented 4 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Do this
  2. Then that

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Version Information:

Additional context Add any other context about the problem here.

vamshi4819 commented 4 years ago

M-C02WL2ENHTDF:wlst fg73$ sudo inspec exec . [2020-10-07T16:55:50-04:00] INFO: Reading Vault secret from secret/data/inspec/rms Traceback (most recent call last): 34: from /usr/local/bin/inspec:357:in <main>' 33: from /usr/local/bin/inspec:357:inload' 32: from /opt/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/inspec-bin-4.18.85/bin/inspec:11:in <top (required)>' 31: from /opt/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/inspec-core-4.18.85/lib/inspec/base_cli.rb:35:instart' 30: from /opt/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/thor-0.20.3/lib/thor/base.rb:466:in start' 29: from /opt/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/thor-0.20.3/lib/thor.rb:387:indispatch' 28: from /opt/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in invoke_command' 27: from /opt/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/thor-0.20.3/lib/thor/command.rb:27:inrun' 26: from /opt/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/inspec-core-4.18.85/lib/inspec/cli.rb:287:in exec' 25: from /opt/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/inspec-core-4.18.85/lib/inspec/cli.rb:287:ineach' 24: from /opt/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/inspec-core-4.18.85/lib/inspec/cli.rb:287:in block in exec' 23: from /opt/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/inspec-core-4.18.85/lib/inspec/runner.rb:192:inadd_target' 22: from /opt/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/inspec-core-4.18.85/lib/inspec/profile.rb:73:in for_target' 21: from /opt/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/inspec-core-4.18.85/lib/inspec/profile.rb:67:infor_fetcher' 20: from /opt/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/inspec-core-4.18.85/lib/inspec/profile.rb:60:in for_path' 19: from /opt/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/inspec-core-4.18.85/lib/inspec/profile.rb:60:innew' 18: from /opt/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/inspec-core-4.18.85/lib/inspec/profile.rb:134:in initialize' 17: from /opt/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/inspec-core-4.18.85/lib/inspec/input_registry.rb:311:inblock (2 levels) in ' 16: from /opt/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/inspec-core-4.18.85/lib/inspec/input_registry.rb:144:in bind_profile_inputs' 15: from /opt/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/inspec-core-4.18.85/lib/inspec/input_registry.rb:264:inbind_inputs_from_metadata' 14: from /opt/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/inspec-core-4.18.85/lib/inspec/input_registry.rb:264:in each' 13: from /opt/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/inspec-core-4.18.85/lib/inspec/input_registry.rb:264:inblock in bind_inputs_from_metadata' 12: from /opt/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/inspec-core-4.18.85/lib/inspec/input_registry.rb:281:in handle_raw_input_from_metadata' 11: from /opt/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/inspec-core-4.18.85/lib/inspec/input_registry.rb:91:infind_or_register_input' 10: from /opt/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/inspec-core-4.18.85/lib/inspec/input_registry.rb:98:in poll_plugins_for_update' 9: from /opt/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/inspec-core-4.18.85/lib/inspec/input_registry.rb:98:ineach' 8: from /opt/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/inspec-core-4.18.85/lib/inspec/input_registry.rb:99:in block in poll_plugins_for_update' 7: from /Users/fg73/.inspec/gems/2.6.0/gems/inspec-vault-0.4.0/lib/inspec-vault/input.rb:67:infetch' 6: from /Users/fg73/.inspec/gems/2.6.0/gems/vault-0.15.0/lib/vault/client.rb:433:in with_retries' 5: from /Users/fg73/.inspec/gems/2.6.0/gems/inspec-vault-0.4.0/lib/inspec-vault/input.rb:68:inblock in fetch' 4: from /Users/fg73/.inspec/gems/2.6.0/gems/vault-0.15.0/lib/vault/api/logical.rb:47:in read' 3: from /Users/fg73/.inspec/gems/2.6.0/gems/vault-0.15.0/lib/vault/client.rb:187:inget' 2: from /Users/fg73/.inspec/gems/2.6.0/gems/vault-0.15.0/lib/vault/client.rb:242:in request' 1: from /Users/fg73/.inspec/gems/2.6.0/gems/vault-0.15.0/lib/vault/client.rb:333:inbuild_uri' /Users/fg73/.inspec/gems/2.6.0/gems/vault-0.15.0/lib/vault/client.rb:333:in `join': no implicit conversion of nil into String (TypeError) M-C02WL2ENHTDF:wlst fg73$