[chef] ohai/plugins/rackspace not populating local_ipv4


Chronological Thread 
  • From: Joseph Holsten < >
  • To: " " < >
  • Subject: [chef] ohai/plugins/rackspace not populating local_ipv4
  • Date: Mon, 29 Jul 2013 18:26:38 -0700

I'm slightly surprised that ohai's rackspace plugin isn't populating 
node['rackspace']['local_ipv4'] or node['cloud']['local_ipv4'], though it has 
a perfectly serviceable node['rackspace']['private_ip']: 

% knife node show es-logstash-001.example -a rackspace
es-logstash-001.example:
  rackspace:
    private_ip:  10.179.141.236
    public_ipv4: 
    region:      ord

This seems inconsistent with the line that explicitly sets the value in the 
plugin: 
https://github.com/opscode/ohai/blob/3da17c1df38afed60c5634d9113a175b00d450a6/lib/ohai/plugins/rackspace.rb#L103

I checked, and that is identical to the version of ohai I have on the box. I 
also verified that those values are the same when I run ohai by hand.

What's going on?
--
~j


Archive powered by MHonArc 2.6.16.

§