You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Windows> ohai cloud
C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/gems/ohai-17.9.0/lib/ohai/system.rb:185:in `attributes_print': I cannot find an attribute named cloud! (ArgumentError)
from C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/gems/ohai-17.9.0/lib/ohai/application.rb:151:in `block in run_application'
from C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/gems/ohai-17.9.0/lib/ohai/application.rb:150:in `each'
from C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/gems/ohai-17.9.0/lib/ohai/application.rb:150:in `run_application'
from C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/gems/ohai-17.9.0/lib/ohai/application.rb:92:in `block in run'
from C:/opscode/chef/embedded/lib/ruby/3.0.0/benchmark.rb:308:in `realtime'
from C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/gems/ohai-17.9.0/lib/ohai/application.rb:90:in `run'
from C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/gems/ohai-17.9.0/bin/ohai:25:in `<top (required)>'
from C:/opscode/chef/bin/ohai:173:in `load'
from C:/opscode/chef/bin/ohai:173:in `<main>'
PS C:\Windows>
At a minimum node['cloud']['provided'] attribute should be populated even if metadata can not be fetched.
The text was updated successfully, but these errors were encountered:
Description
node['cloud'] = nil in AWS environment where full tunnel VPN is enabled
Ohai Version
Ohai: 17.9.0
Platform Version
Windows 10
Ohai Output
VPN not enabled
PS C:\Windows> ohai cloud { "local_ipv4_addrs": [ "redacted" ], "provider": "ec2", "local_hostname": "redacted", "local_ipv4": "redacted" }
VPN enabled
At a minimum node['cloud']['provided'] attribute should be populated even if metadata can not be fetched.
The text was updated successfully, but these errors were encountered: