Not able to execute " knife ssh 'name:*' 'chef-client' for Solaris nodes


#1

Hi,

In my setup there are multiple solaris machines (Sol 10 and Sol11) . When i
execute " knife ssh ‘name:*’ ‘chef-client’ " Solaris Nodes it giver following
error

“[root@abclx265 chef-repo]# knife ssh ‘name:*’ 'chef-client’
WARNING: Failed to connect to – SocketError: getaddrinfo: Name or service not
known
WARNING: Failed to connect to – SocketError: getaddrinfo: Name or service not
known”

Please let me know your suggestions or recommendations if any . Appreciate your
feedback and Input .

Thanks in Advance !!!

Regards.
Anuj Mittal


#2

The default attribute used to connect to nodes when using knife ssh is the
FQDN. Try using knife ssh ‘name:*’ ‘chef-client’ -a ipaddress to connect
using the IP of the nodes.

On Wed, Nov 27, 2013 at 8:36 PM, mailtoanujmittal@gmail.com wrote:

Hi,

In my setup there are multiple solaris machines (Sol 10 and Sol11) . When i
execute " knife ssh ‘name:*’ ‘chef-client’ " Solaris Nodes it giver
following
error

“[root@abclx265 chef-repo]# knife ssh ‘name:*’ 'chef-client’
WARNING: Failed to connect to – SocketError: getaddrinfo: Name or
service not
known
WARNING: Failed to connect to – SocketError: getaddrinfo: Name or
service not
known”

Please let me know your suggestions or recommendations if any . Appreciate
your
feedback and Input .

Thanks in Advance !!!

Regards.
Anuj Mittal