[chef] When run knife ssh error occurs only on one node, but therefore all ok.


Chronological Thread 
  • From: Vladimir Skubriev < >
  • To:
  • Subject: [chef] When run knife ssh error occurs only on one node, but therefore all ok.
  • Date: Thu, 6 Feb 2014 14:43:36 +0400

:~$ knife ssh "name:*example.lab" "sudo chef-client 2>&1 >/dev/null; if [ $? -eq 0 ]; then echo "OK"; else echo "BAD"; fi" -i ~/.ssh/id_rsa -x sysadmin --no-host-key-verify
backup.example.lab   sh: 1: Syntax error: Unterminated quoted string
backup.example.lab   sh: 1: Syntax error: Unterminated quoted string
titan.example.lab    OK
... OK
backup.example.lab OK
callisto.example.lab OK

Why this error occurs. Chef client updated on all machines to 11.8.2
Thank you very much answers.

--
Faithfully yours,

CVision Lab System Administrator
Vladmir Skubriev



  • [chef] When run knife ssh error occurs only on one node, but therefore all ok., Vladimir Skubriev, 02/06/2014

Archive powered by MHonArc 2.6.16.

§