[chef] Re: nodes not showing up in `knife status`


Chronological Thread 
  • From: Spike Grobstein < >
  • To:
  • Subject: [chef] Re: nodes not showing up in `knife status`
  • Date: Mon, 28 Jan 2013 21:46:25 -0500

Hi Peter,

All of my nodes are Ubuntu and pretty much every node in our infrastructure have similar specs. They're all virtualized and nearly all of them are dual CPU, 4GB RAM (with only a couple of exceptions).

I'll look into the maxFieldLength when I get in in the morning and see if that helps.

it definitely looks like it's every server that I've provisioned in the last month or so. Also, I just noticed that all nodes that aren't showing up are Ubuntu 12.04. Could that mean anything?

thanks for the info!


...spike

On Jan 28, 2013, at 9:27 PM, Peter Donald < "> > wrote:

Hi,

Are the nodes that are missing either windows nodes or nodes that generate lots of data from ohai? If so it is probably that the data is not being indexed correctly. Chef silently fails to index large nodes - you can fix this by increasing the "maxFieldLength" value. Watch out if you are doing this under ubuntu as it seems to have two copies of this file installed.

On Tue, Jan 29, 2013 at 8:55 AM, Spike Grobstein < " target="_blank"> > wrote:
Hi Chefs,

I've recently added some new nodes to our chef-server, but when I run `knife status`, I don't see these nodes in the list.

`knife node edit $NODE` works
`knife client edit $NODE` works

the nodes show up in the webui.

the name in /etc/chef/client.rb is correct on the nodes.

Is there anything else I should look at?

75 total nodes show up when I run `knife status`. We're missing about 6 nodes from the list that I can see so far. I have a full range of last-run-at times; from minutes to over 6000 hours (some nodes I haven't upgraded the client on for quite a while), so I don't think it's just truncating the list.

Thanks in advance!


...spike



--
Cheers,

Peter Donald




Archive powered by MHonArc 2.6.16.

§