ohai
ohai copied to clipboard
Ohai profiles your system and emits JSON
The response of `user-data` API should not be fetched line by line. ## Description On Alibaba Cloud, the response of `user-data` metadata API is not processed properly. ## Related Issue...
## Description > The content of `user-data` API should be stored properly, not to be continuously requested line by line. On Alibaba Cloud, the user-data API (URL: `http://100.100.100.200/2016-01-01/user-data` ) responds...
We are sometimes unable to detect the IP address of MacOS servers using the ohai plugin intermittently. A subsequent ohai command would then produce the expected result. For the most...
…already initialized constant DO_NOT_SPLIT ## Description Fixes warning issues: ``` /opt/chef/embedded/lib/ruby/gems/3.0.0/gems/ohai-17.9.0/lib/ohai/plugins/rpm.rb:25: warning: already initialized constant MACROS_MARKER /opt/chef/embedded/lib/ruby/gems/3.0.0/gems/ohai-17.9.0/lib/ohai/plugins/rpm.rb:25: warning: previous definition of MACROS_MARKER was here /opt/chef/embedded/lib/ruby/gems/3.0.0/gems/ohai-17.9.0/lib/ohai/plugins/rpm.rb:27: warning: already initialized constant DO_NOT_SPLIT...
## Description In some LXD containers running with VT-x hardware virtualization, it appears that threads per core is 0, resulting in a total number of CPUs of 0. Add a...
## Description https://github.com/chef/ohai/pull/1454 made `lscpu` the primary way Ohai gathers CPU data, but the parser doesn't handle the output from a Raspberry Pi 4 Cortex-A72. For example, an ARM cluster...
# Describe the problem EC2 tags, that have a space, cause `ohai ec2` to return empty data during its run. We are currently using SSM to patch our EC2 instances...
We've been using the community custom [Ohai plugin for ec2 tags](https://supermarket.chef.io/cookbooks/ec2-tags-ohai-plugin) for many years. It's been functioning well up until our recent Chef 17 upgrade. Once a server is upgraded...
## Description As a result of https://github.com/chef/ohai/pull/1454, `node['cpu']` is nil since the `lscpu` output is not parsed properly. I would have expected the fallback to go to `/proc/cpuinfo`. ## Ohai...
## Description No, this is not a new hybrid cloud strategy ;-) On customer Windows machines which include the Microsoft Monitoring Agent, the `cloud.rb` Ohai plugin crashes and thus does...