Thanks for the reply.The chef server is chef version 0.10.4 and ohai 0.6.4.On the node having issues chef 0.10.4 and ohai 0.6.4.Running ohai hostname on the node returns the hostname correctly and so does the knife show command from the chef server.
Brian Smith
Senior Network Engineer . Bonnier Corporation
" target="_blank">
407.212.7090
On Tue, Oct 18, 2011 at 10:36 AM, Bryan McLellan < " target="_blank"> > wrote:On Tue, Oct 18, 2011 at 10:22 AM, Brian SmithWhat version of Chef and Ohai are you using?
< " target="_blank"> > wrote:
> Hello, I am having an issue I am trying to work out with chef. I have two
> nodes that will not return when doing a node search with hostname:[* TO *]
> but if I use fqdn:[* TO *] they show up. Any suggestions on how to
> troubshoot and correct the issue. If I look at the node in chef hostname
> and fqdn are defined in chef and hostname and hostname -f resolve correctly
> on the 2 servers that don't show up. There is a hosts entry on the servers
> also for hostname and hostname.domainname on the server too.
Can you run 'ohai hostname' on the hosts that aren't working and get
the correct value?
If so, does 'knife node show NODENAME -a hostname' return the proper data?
Archive powered by MHonArc 2.6.16.