puppet bulk install return No route to host - connect(2)

15 views
Skip to first unread message

Nguyễn Đức Thịnh

unread,
Feb 27, 2017, 7:27:35 AM2/27/17
to Puppet Users
Hi all,
I deployed puppet agent to linux target as scale by using puppetlabs-pe_bulk_agent_install.
I added ssh authorized key on target and private key on my puppet master already.
Manual connect with private key from puppet master to target is fine too.

The command debug show below.

puppet bulk install --nodes nodes.txt --credentials credentials.json --debug
Warning: Support for ruby version 2.0.0 is deprecated and will be removed in a future release. See https://docs.puppet.com/puppet/latest/system_requirements.html#ruby for a list of supported ruby versions.
   (at /usr/local/share/gems/gems/puppet-4.9.1/lib/puppet.rb:167:in `<module:Puppet>')
Debug: Runtime environment: puppet_version=4.9.1, ruby_version=2.0.0, run_mode=user, default_encoding=UTF-8
Debug: Credentials File: {:username=>"root", :ssh_key_file=>"/root/.ssh/id_rsa", :ssh_key_passphrase=>"D!G!-$Y$-*(@", :master=>"puppetmaster.xxx.xx"}
Debug: #<IO:0x0000000158a240>
Debug: Nodes:["target.xxx.xx"]
Debug: Options: {:nodes=>"nodes.txt", :credentials=>"credentials.json", :threads=>8, :script=>"install.bash"}
Notice: Processing target: target.xxx.xx
Error: target:target.xxx.xx  error:No route to host - connect(2)
Hostname                          Exit Status                     
target.xxx.xx                      No route to host - connect(2)

Any suggest for this ?

Thanks,
Nice day for all you guys.
Reply all
Reply to author
Forward
0 new messages