before the deleting of one of controllers name was node-2
after the adding again - node-8
as we see the file /etc/astute.yaml isn't present on node-8
/var/log/docker-logs/astute/astute.log:
2014-12-11T11:13:09 debug: [408] 75607a3e-0ea0-4f2c-a097-160e863db79f: MC agent 'execute_shell_command', method 'execute', results: {:sender=>"
8", :statuscode=>0, :statusmsg=>"OK", :data=>{:stdout=>"", :exit_code=>1, :stderr=>"/usr/lib/ruby/1.8/yaml.rb:143:in `initialize': No such file
or directory - /etc/astute.yaml (Errno::ENOENT)\n\tfrom /usr/lib/ruby/1.8/yaml.rb:143:in `open'\n\tfrom /usr/lib/ruby/1.8/yaml.rb:143:in `load
_file'\n\tfrom -e:1\n"}}
2014-12-11T11:13:09 debug: [408] 75607a3e-0ea0-4f2c-a097-160e863db79f: cmd: ruby -r 'yaml' -e 'y = YAML.load_file("/etc/astute.yaml"); y["nodes"] = YAML.load_file("/tmp/astute.yaml"); File.open("/etc/astute.yaml", "w") { |f| f.write y.to_yaml }'; puppet apply --logdest syslog --debug -e '$settings=parseyaml($::astute_settings_yaml) $nodes_hash=$settings["nodes"] class {"l23network::hosts_file": nodes => $nodes_hash }' stdout: stderr: /usr/lib/ruby/1.8/yaml.rb:143:in `initialize': No such file or directory - /etc/astute.yaml (Errno::ENOENT)
from /usr/lib/ruby/1.8/yaml.rb:143:in `open'
from /usr/lib/ruby/1.8/yaml.rb:143:in `load_file'
from -e:1
exit code: 1
2014-12-11T11:13:09 warning: [408] 75607a3e-0ea0-4f2c-a097-160e863db79f: Fail to update /etc/hosts, check the debugging output for node 8 for details
before the deleting of one of controllers name was node-2
after the adding again - node-8
as we see the file /etc/astute.yaml isn't present on node-8
/var/log/ docker- logs/astute/ astute. log:
2014-12-11T11:13:09 debug: [408] 75607a3e- 0ea0-4f2c- a097-160e863db7 9f: MC agent 'execute_ shell_command' , method 'execute', results: {:sender=>" {:stdout= >"", :exit_code=>1, :stderr= >"/usr/ lib/ruby/ 1.8/yaml. rb:143: in `initialize': No such file :ENOENT) \n\tfrom /usr/lib/ ruby/1. 8/yaml. rb:143: in `open'\n\tfrom /usr/lib/ ruby/1. 8/yaml. rb:143: in `load 0ea0-4f2c- a097-160e863db7 9f: cmd: ruby -r 'yaml' -e 'y = YAML.load_ file("/ etc/astute. yaml"); y["nodes"] = YAML.load_ file("/ tmp/astute. yaml"); File.open( "/etc/astute. yaml", "w") { |f| f.write y.to_yaml }'; puppet apply --logdest syslog --debug -e '$settings= parseyaml( $::astute_ settings_ yaml) $nodes_ hash=$settings[ "nodes" ] class {"l23network: :hosts_ file": nodes => $nodes_hash }'
stdout:
stderr: /usr/lib/ ruby/1. 8/yaml. rb:143: in `initialize': No such file or directory - /etc/astute.yaml (Errno::ENOENT) ruby/1. 8/yaml. rb:143: in `open' ruby/1. 8/yaml. rb:143: in `load_file'
8", :statuscode=>0, :statusmsg=>"OK", :data=>
or directory - /etc/astute.yaml (Errno:
_file'\n\tfrom -e:1\n"}}
2014-12-11T11:13:09 debug: [408] 75607a3e-
from /usr/lib/
from /usr/lib/
from -e:1
2014-12-11T11:13:09 warning: [408] 75607a3e-