[chef] Re: knife ssh search results missing


Chronological Thread 
  • From: Kevin Karwaski < >
  • To:
  • Subject: [chef] Re: knife ssh search results missing
  • Date: Mon, 22 Jul 2013 14:10:46 -0400

Hey Cassiano,

Do you see public_hostname or public_ipv4 data catalogued in your node
data? Are you operating in EC2?

$ knife search 'chef_environment:production' -a ec2.public_hostname

-or-

$ knife search 'chef_environment:production' -a public_ipv4

-K.


On Mon, Jul 22, 2013 at 1:57 PM, Cassiano Leal 
< >
 wrote:
> knife-ssh is not working on all nodes. If I use knife-search, results are as
> expected:
>
>
> $ knife search 'chef_environment:production' -i
>
> 4 items found
>
>
> apps
>
>
> zcast-resourcemanager
>
>
> database
>
>
> resourcebase
>
>
>
> But with knife-ssh I’m not so lucky.
>
>
> $ knife ssh 'chef_environment:production' 'uptime'
>
> 10.0.1.160  17:53:30 up 2 days, 23:29,  3 users,  load average: 0.48, 0.47,
> 0.52
>
>
>
> What could be the problem, and how do I fix it? This is an OSS Chef Server,
> server and all clients are all on latest Chef versions.
>
> Cheers,
> --
> Cassiano Leal
> http://cassianoleal.com
> http://twitter.com/cassianoleal



-- 
Kevin Karwaski
Manager, Cloud Operations @ {Fiksu}



Archive powered by MHonArc 2.6.16.

§