- From: Geoff Meakin Acid <
>
- To: Geoff Meakin Acid <
>
- Cc:
- Subject: [chef] Re: Getting my node's ip address
- Date: Mon, 19 Sep 2011 22:24:31 +0100
Hmm very strange - following some old bug reports, I edited this file:
gems/ohai-0.6.4/lib/ohai/mixin/command.rb
And required 'stringio' at the top which fixed the problem.
This seems like a bug to me? Or I've got an old version of ohai.
Incidentally I see from googling that this bug has been fixed and regressed a
few times… maybe it has regressed again?
--
Geoff
>
Thanks, yeah there is certainly an error -
>
>
[Mon, 19 Sep 2011 22:11:21 +0100] DEBUG: Loading plugin linux::network
>
[Mon, 19 Sep 2011 22:11:21 +0100] DEBUG: Plugin linux::network threw
>
exception #<NameError: uninitialized constant
>
Ohai::Mixin::Command::StringIO>
>
>
Not sure what that means, but I'll snoop around.. (chef 0.10.4)
>
>
>
On 19 Sep 2011, at 21:56, Bryan McLellan wrote:
>
>
> On Mon, Sep 19, 2011 at 4:40 PM, Geoff Meakin Acid
>
> <
>
>
> wrote:
>
>> Yet it clearly has interfaces:
>
>>
>
>> somenode:~# /sbin/ifconfig
>
>> eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
>
>> inet addr:xxx.xx.x.xx Bcast:xxx.xx.x.xxx Mask:255.255.255.128
>
>> (etc.)
>
>
>
> I'd start with running "ohai network" and see if it returns data. If
>
> not, run "ohai network -l debug" and look for errors.
>
- [chef] Re: Re: Re: Re: Managing an ec2 instance and security group together with chef?, (continued)
[chef] Getting my node's ip address, Geoff Meakin Acid, 09/19/2011
Archive powered by MHonArc 2.6.16.