[chef] Re: Re: knife ssh not working


Chronological Thread 
  • From: Tiago Cruz < >
  • To: " " < >
  • Subject: [chef] Re: Re: knife ssh not working
  • Date: Mon, 1 Dec 2014 16:59:24 -0200

Try this:

knife ssh "platform:xenserver" -a ipaddress "ls /tmp"

On Mon, Dec 1, 2014 at 4:25 PM, Santhosh < " target="_blank"> > wrote:
Hi,
what's the output of knife node show <nodename> ?
it's very likely that fields like FQDN, ip are blank. Have you run chef-client atleast once on the node(s).? are you running chef-client with override option.? (chef-client -o "recipe[foo]") . override option doesn't do node.save.

Regards
Santhosh

On 01/12/14 11:27 pm, kritivagop01 . wrote:
hi,

i am getting error for knife ssh command.


FATAL: 1 node found, but does not have the required attribute to establish the connection. Try setting another attribute to open the connection using --attribute.


please share the details for knife.rb


thanks,
K.Gopalakrishnan




--
-- Tiago Cruz




Archive powered by MHonArc 2.6.16.

§