[chef] Re: ohai/plugins/rackspace not populating local_ipv4


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: ohai/plugins/rackspace not populating local_ipv4
  • Date: Mon, 29 Jul 2013 18:41:40 -0700


On Monday, July 29, 2013 at 6:26 PM, Joseph Holsten wrote:

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
Try running ohai by hand with -ldebug? If something fails in the #get_region method, it will skip the rest of the plugin.

-- 
Daniel DeLeo




Archive powered by MHonArc 2.6.16.

§