Release Notes: Ohai 6

Ohai is a tool that is used to detect attributes on a node, and then provide these attributes to the chef-client at the start of every chef-client run. Ohai is required by the chef-client and must be present on a node. (Ohai is installed on a node as part of the chef-client install process.)

The types of attributes Ohai collects include (but are not limited to):

  • Platform details
  • Network usage
  • Memory usage
  • CPU data
  • Kernel data
  • Host names
  • Fully qualified domain names
  • Other configuration details

Attributes that are collected by Ohai are automatic attributes, in that these attributes are used by the chef-client to ensure that these attributes remain unchanged after the chef-client is done configuring the node.

What’s Fixed

The following bugs were fixed:

  • OHAI-110 — Ohai fails to detect virtualbox guests
  • OHAI-201 — Ohai should fail gracefully when optional plugins are missing dependencies
  • OHAI-245 — Encoding errors on Ruby 1.9.2
  • OHAI-267 — identifying rackspace’s managed cloud instances
  • OHAI-272 — platform_version for SuSE 11.3 is an empty String
  • OHAI-273 — Unable to find version for Windows 2003 Server R2 node
  • OHAI-275 — Ohai’s strings are incorrectly marked as ASCII-8BIT on Ruby 1.9
  • OHAI-276 — ip_scopes plugin fails when there’s a network interface without addresses like linux’s sit
  • OHAI-281 — Solaris platform plugin does not work with GNU uname on OpenIndiana/OpenSolaris.
  • OHAI-282 — IPv6 addresses blow away IPv4 addresses during Ohai Solaris network detection.
  • OHAI-291 — StringIO needs to be required in ruby 1.8.7

What’s Improved

The following improvements were made:

  • OHAI-253 — Detect Xen guests more reliable
  • OHAI-288 — report FreeBSD jail guest/host

New Features

The following features were added:

  • OHAI-70 — add support for reporting routing tables to the network plugin