How to create a node

Hi All,

I have a private chef-server (OS:SLES11 SP1)
Am trying to create nodes,the steps which am following are mentioned below:

I don’t have a bootstrap script for SLES hence am doing all the steps
manually

1)install rubygems,rubygem-chef
2)mkdir -p /etc/chef
3)knife configure client ./
4)copy validation.pem from server to /etc/chef
5)Edit the server_url in client.rb
6)run chef-client(this should register the node)
7)add recipe to the node
8)On running the chef-client again these recipies will run

Issue:

When i do a “knife node list” i get the node name in the result but when i
do "knife search node name :‘NAME OF THE NODE’ "

I don’t get this node.

Kindly suggest am i missing some step here?


Thanks
Meenakshi Agrawal
The secret of achievement is to hold a picture of a successful outcome in
the mind

can you share the output of the chef client run, and contents of client.rb ?
regards
ranjib

On Tue, Jun 19, 2012 at 11:52 PM, meenakshi agrawal minmini17@gmail.comwrote:

Hi All,

I have a private chef-server (OS:SLES11 SP1)
Am trying to create nodes,the steps which am following are mentioned below:

I don't have a bootstrap script for SLES hence am doing all the steps
manually

1)install rubygems,rubygem-chef
2)mkdir -p /etc/chef
3)knife configure client ./
4)copy validation.pem from server to /etc/chef
5)Edit the server_url in client.rb
6)run chef-client(this should register the node)
7)add recipe to the node
8)On running the chef-client again these recipies will run

Issue:

When i do a "knife node list" i get the node name in the result but when i
do "knife search node name :'NAME OF THE NODE' "

I don't get this node.

Kindly suggest am i missing some step here?

--
Thanks
Meenakshi Agrawal
The secret of achievement is to hold a picture of a successful outcome in
the mind

There's a possibility it could be this: http://tickets.opscode.com/browse/CHEF-2346

--
Dan DeLeo

On Tuesday, June 19, 2012 at 9:06 AM, Ranjib Dey wrote:

can you share the output of the chef client run, and contents of client.rb ?
regards
ranjib

On Tue, Jun 19, 2012 at 11:52 PM, meenakshi agrawal <minmini17@gmail.com (mailto:minmini17@gmail.com)> wrote:

Hi All,

I have a private chef-server (OS:SLES11 SP1)
Am trying to create nodes,the steps which am following are mentioned below:

I don't have a bootstrap script for SLES hence am doing all the steps manually

1)install rubygems,rubygem-chef
2)mkdir -p /etc/chef
3)knife configure client ./
4)copy validation.pem from server to /etc/chef
5)Edit the server_url in client.rb
6)run chef-client(this should register the node)
7)add recipe to the node
8)On running the chef-client again these recipies will run

Issue:

When i do a "knife node list" i get the node name in the result but when i do "knife search node name :'NAME OF THE NODE' "

I don't get this node.

Kindly suggest am i missing some step here?

--
Thanks
Meenakshi Agrawal
The secret of achievement is to hold a picture of a successful outcome in the mind

My chef-client run fine,its successful

Contents of client.rb are:

log_level :info
log_location STDOUT
chef_server_url 'http://172.18.4.29:4000'
validation_client_name 'chef-validator'

issue is not with chef-client run ,this node is shown in knife node list
but not searchable with knife search node name

On Tue, Jun 19, 2012 at 9:44 PM, Daniel DeLeo dan@kallistec.com wrote:

There's a possibility it could be this:
http://tickets.opscode.com/browse/CHEF-2346

--
Dan DeLeo

On Tuesday, June 19, 2012 at 9:06 AM, Ranjib Dey wrote:

can you share the output of the chef client run, and contents of
client.rb ?
regards
ranjib

On Tue, Jun 19, 2012 at 11:52 PM, meenakshi agrawal <minmini17@gmail.com(mailto:
minmini17@gmail.com)> wrote:

Hi All,

I have a private chef-server (OS:SLES11 SP1)
Am trying to create nodes,the steps which am following are mentioned
below:

I don't have a bootstrap script for SLES hence am doing all the steps
manually

1)install rubygems,rubygem-chef
2)mkdir -p /etc/chef
3)knife configure client ./
4)copy validation.pem from server to /etc/chef
5)Edit the server_url in client.rb
6)run chef-client(this should register the node)
7)add recipe to the node
8)On running the chef-client again these recipies will run

Issue:

When i do a "knife node list" i get the node name in the result but
when i do "knife search node name :'NAME OF THE NODE' "

I don't get this node.

Kindly suggest am i missing some step here?

--
Thanks
Meenakshi Agrawal
The secret of achievement is to hold a picture of a successful outcome
in the mind

--
Thanks
Meenakshi Agrawal
The secret of achievement is to hold a picture of a successful outcome in
the mind

have u checked the solr log for any error? in past we have encountered
similar issue due to solr hitting max index size ,
as dan has already mentioned,
a few things you can try out

On Wed, Jun 20, 2012 at 12:24 AM, meenakshi agrawal minmini17@gmail.comwrote:

My chef-client run fine,its successful

Contents of client.rb are:

log_level :info
log_location STDOUT
chef_server_url 'http://172.18.4.29:4000'
validation_client_name 'chef-validator'

issue is not with chef-client run ,this node is shown in knife node list
but not searchable with knife search node name

On Tue, Jun 19, 2012 at 9:44 PM, Daniel DeLeo dan@kallistec.com wrote:

There's a possibility it could be this:
http://tickets.opscode.com/browse/CHEF-2346

--
Dan DeLeo

On Tuesday, June 19, 2012 at 9:06 AM, Ranjib Dey wrote:

can you share the output of the chef client run, and contents of
client.rb ?
regards
ranjib

On Tue, Jun 19, 2012 at 11:52 PM, meenakshi agrawal <
minmini17@gmail.com (mailto:minmini17@gmail.com)> wrote:

Hi All,

I have a private chef-server (OS:SLES11 SP1)
Am trying to create nodes,the steps which am following are mentioned
below:

I don't have a bootstrap script for SLES hence am doing all the steps
manually

1)install rubygems,rubygem-chef
2)mkdir -p /etc/chef
3)knife configure client ./
4)copy validation.pem from server to /etc/chef
5)Edit the server_url in client.rb
6)run chef-client(this should register the node)
7)add recipe to the node
8)On running the chef-client again these recipies will run

Issue:

When i do a "knife node list" i get the node name in the result but
when i do "knife search node name :'NAME OF THE NODE' "

I don't get this node.

Kindly suggest am i missing some step here?

--
Thanks
Meenakshi Agrawal
The secret of achievement is to hold a picture of a successful
outcome in the mind

--
Thanks
Meenakshi Agrawal
The secret of achievement is to hold a picture of a successful outcome in
the mind