Blog-L_News_1_1283x494

Ohai 0.2.0

Ohai, we prepared a new release for you!

The Ohai 0.2.0 MVP is Thom May. Thom checked out Ohai, and immediately wrote a Python Language Plugin. He then just kept on fixing bugs – he made tests better, he fixed an exception caused when systems didn’t have a fully qualified domain name, and he patched up the virtualization plugin for VMware and VirtualPC. You have the thanks of a grateful community, Thom.

Mathieu Sauve-Frankel has been giving all sorts of great feedback about Ohai’s internals and design. He also sent in 2 fixes for FreeBSD and the first round of tests. Rumor has it he’s hard at work on OpenBSD support – Mathieu, you officially rock.

Other new features in Ohai 0.2.0:

  • If you have libvirt installed, Ohai now reports libvirt data.
  • Improved logging
  • EC2 user and meta-data collection improvements

On to the release notes!

Release Notes – Ohai – Version 0.2.0

Bug

  • [OHAI-40] – virt and lsb spec’s lack use of should/should_not
  • [OHAI-44] – darwin network.rb should always use -n on relevant commands
  • [OHAI-45] – vmnet interfaces confuse counter collection on darwin
  • [OHAI-46] – lo0 counters not collected on darwin
  • [OHAI-47] – virtualization plugin doesn’t correctly detect VMware or VirtualPC platforms
  • [OHAI-51] – If hostname -f exits with 1, ohai linux hostname plugin vomits
  • [OHAI-54] – Use IO.read rather than cat
  • [OHAI-61] – several items in lib/ohai/plugins/freebsd/network.rb have not been converted to Mash
  • [OHAI-62] – ohai throws stack when python is not in path
  • [OHAI-63] – ohai does not properly detect 64-bit on darwin
  • [OHAI-64] – ohai/plugins/freebsd/kernel.rb does not set kernel[:os]

Improvement

  • [OHAI-49] – network interface addresses should be stored in a hash not an array
  • [OHAI-50] – python language plugin
  • [OHAI-58] – Plugin specifications for FreeBSD

New Feature

  • [OHAI-36] – Add libvirt-sourced data to ohai
  • [OHAI-57] – ohai needs a –debug option to show errors during collection

Task

  • [OHAI-55] – Need to grab ‘user-data’ as well as ‘meta-data’ for EC2

Adam Jacob

Adam Jacob is the CTO and co-founder of Chef.