- From: Cassiano Leal <
>
- To: <
>
- Cc:
- Subject: [chef] Re: Re: Re: Re: knife ssh issues
- Date: Mon, 22 Jul 2013 14:41:00 -0300
Fantastic!
Thanks for the help guys!
Cheers, -- Cassiano Lealhttp://cassianoleal.com http://twitter.com/cassianoleal
On July 22, 2013 at 14:25:27, Mike (
) wrote: Cassiano,
You can set these values in knife.rb:
knife[:ssh_attribute] = 'ec2.local_ipv4' # or such
knife[:ssh_user] = 'ubuntu'
There's more configs, you might want to try knife-config to see them
all. http://jtimberman.housepub.org/blog/2012/03/25/knife-config-plugin/
-M
On Mon, Jul 22, 2013 at 12:53 PM, Cassiano Leal <
> wrote:
> It really is not resolvable, as it’s an internal AWS name.
>
>
> Using -a solved it, thanks a lot!
>
>
> Is there a way to set this (and probably -x along with it) as a default, say
> in knife.rb?
>
>
> Thanks!
>
> --
> Cassiano Leal
> http://cassianoleal.com
> http://twitter.com/cassianoleal
>
> On July 22, 2013 at 11:23:20, Mat Schaffer (
) wrote:
>
> This often means that the node name isn't resolvable by DNS.
>
> You can specify an alternate attribute to use as the connection hostname
> with 'knife ssh -a'
>
> On Monday, July 22, 2013, Cassiano Leal wrote:
>>
>> Hi,
>>
>>
>> I’m trying to use knife ssh to run chef-client on demand on some servers,
>> but it’s failing with this message:
>>
>>
>> WARNING: Failed to connect to -- SocketError: getaddrinfo: nodename nor
>> servname provided, or not known
>>
>>
>> The servers are on an AWS VPN to which I connect via VPN. Is this
>> something that’s missing on my part, maybe knife configuration?
>>
>>
>> Cheers,
>>
>> --
>> Cassiano Leal
>> http://cassianoleal.com
>> http://twitter.com/cassianoleal
>
>
>
> --
>
> -Mat
>
> about.me/matschaffer
>
|
Archive powered by MHonArc 2.6.16.