- From: Kevin Karwaski <
>
- To:
- Subject: [chef] Re: knife ssh search results missing
- Date: Mon, 22 Jul 2013 14:11:27 -0400
Whoops, the second search example I meant was:
$ knife search 'chef_environment:production' -a ec2.public_ipv4
On Mon, Jul 22, 2013 at 2:10 PM, Kevin Karwaski
<
>
wrote:
>
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}
--
Kevin Karwaski
Manager, Cloud Operations @ {Fiksu}
Archive powered by MHonArc 2.6.16.