[ERROR ] <urlopen error [Errno 113] No route to host>

265 views
Skip to first unread message

hanrong zhou

unread,
May 30, 2015, 1:20:52 AM5/30/15
to salt-...@googlegroups.com
it reports "[ERROR   ] <urlopen error [Errno 111] Connection refused> "  when i start salt-minion on centos6.6  
how can i resolve it ?

| > rpm -qa|grep salt
salt-master-2015.5.0-1.el6.noarch
salt-minion-2015.5.0-1.el6.noarch
salt-2015.5.0-1.el6.noarch
| $ l-base@~ $ [05/30/15] (root)  
| > cat /etc/salt/minion
master: 10.0.2.30  
retry_dns: 0
pki_dir: /etc/salt/pki/minion
dns_check: False
id: 10.0.2.30
| $ l-base@~ $ [05/30/15] (root)  
| > ps -ef|grep salt
root     26124     1  0 04:10 ?        00:00:00 /usr/bin/python2.6 /usr/bin/salt-master -d
root     26125 26124  0 04:10 ?        00:00:12 /usr/bin/python2.6 /usr/bin/salt-master -d
root     26126 26124  0 04:10 ?        00:00:00 /usr/bin/python2.6 /usr/bin/salt-master -d
root     26127 26124  0 04:10 ?        00:00:00 /usr/bin/python2.6 /usr/bin/salt-master -d
root     26132 26124  0 04:10 ?        00:00:00 /usr/bin/python2.6 /usr/bin/salt-master -d
root     26133 26132  0 04:10 ?        00:00:01 /usr/bin/python2.6 /usr/bin/salt-master -d
root     26136 26132  0 04:10 ?        00:00:01 /usr/bin/python2.6 /usr/bin/salt-master -d
root     26137 26132  0 04:10 ?        00:00:01 /usr/bin/python2.6 /usr/bin/salt-master -d
root     26140 26132  0 04:10 ?        00:00:01 /usr/bin/python2.6 /usr/bin/salt-master -d
root     26143 26132  0 04:10 ?        00:00:01 /usr/bin/python2.6 /usr/bin/salt-master -d
root     26146 26132  0 04:10 ?        00:00:00 /usr/bin/python2.6 /usr/bin/salt-master -d
root     27805 25918  0 05:16 pts/1    00:00:00 grep --colour salt
| $ l-base@~ $ [05/30/15] (root)  

| > salt-minion -l debug

[DEBUG   ] Reading configuration from /etc/salt/minion
[DEBUG   ] Configuration file path: /etc/salt/minion
[INFO    ] Setting up the Salt Minion "10.0.2.30"
[DEBUG   ] Created pidfile: /var/run/salt-minion.pid
[DEBUG   ] Reading configuration from /etc/salt/minion
{'smp_affinity': [('3', '/sys/class/net/eth0/queues/rx-0/rps_cpus')]}
['/dev/vda']
[INFO    ] The salt minion is shut down
[ERROR   ] <urlopen error [Errno 111] Connection refused>
[WARNING ] ** Restarting minion **

Colton Myers

unread,
Jun 4, 2015, 6:26:40 PM6/4/15
to salt-...@googlegroups.com
Sounds like the minion cannot connect to the local master. It's possible your firewall settings are now allowing the minion to contact the local master on the default ports.

If you can't get it resolved by tweaking your firewall settings I recommend that you open an issue on Github.

--
Colton Myers
Platform Engineer, SaltStack
@basepi on Twitter/Github/IRC

--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages