Minion did not return [Not connected]

857 views
Skip to first unread message

Zachary Mance

unread,
Jun 26, 2015, 6:01:33 PM6/26/15
to salt-...@googlegroups.com
Hello,

I am unable to issue salt commands from the master to the minion. However, I can issue salt-call from the minion just fine. There is nothing in the minion logs either. Any help would be appreciated. Thanks!

[user]$ sudo salt -l garbage 'hdc-hpcdev04*' cmd.run uptime -t 10
[DEBUG   ] Reading configuration from /etc/salt/master
[DEBUG   ] Including configuration from '/etc/salt/master.d/reactor.conf'
[DEBUG   ] Reading configuration from /etc/salt/master.d/reactor.conf
[DEBUG   ] Using cached minion ID from /etc/salt/minion_id: hdc-hpcdev02
[DEBUG   ] Missing configuration file: ~/.saltrc
[TRACE   ] None of the required configuration sections, 'logstash_udp_handler' and 'logstash_zmq_handler', were found the in the configuration. Not loading the Logstash logging handlers module.
[DEBUG   ] Configuration file path: /etc/salt/master
[DEBUG   ] Reading configuration from /etc/salt/master
[DEBUG   ] Including configuration from '/etc/salt/master.d/reactor.conf'
[DEBUG   ] Reading configuration from /etc/salt/master.d/reactor.conf
[DEBUG   ] Using cached minion ID from /etc/salt/minion_id: hdc-hpcdev02
[DEBUG   ] Missing configuration file: ~/.saltrc
[DEBUG   ] MasterEvent PUB socket URI: ipc:///var/run/salt/master/master_event_pub.ipc
[DEBUG   ] MasterEvent PULL socket URI: ipc:///var/run/salt/master/master_event_pull.ipc
[DEBUG   ] Sending event - data = {'_stamp': '2015-06-26T21:59:20.772163'}
[TRACE   ] get_event() received = {'tag': 'salt/event/new_client', 'data': {'_stamp': '2015-06-26T21:59:20.772163'}}
[TRACE   ] func get_cli_event_returns()
[DEBUG   ] LazyLoaded local_cache.get_load
[DEBUG   ] get_iter_returns for jid 20150626165920784444 sent to set(['hdc-hpcdev04']) will timeout at 16:59:30.788877
[DEBUG   ] MasterEvent PUB socket URI: ipc:///var/run/salt/master/master_event_pub.ipc
[DEBUG   ] MasterEvent PULL socket URI: ipc:///var/run/salt/master/master_event_pull.ipc
[DEBUG   ] Sending event - data = {'_stamp': '2015-06-26T21:59:30.791418'}
[TRACE   ] get_event() received = {'tag': 'salt/event/new_client', 'data': {'_stamp': '2015-06-26T21:59:30.791418'}}
[DEBUG   ] Checking whether jid 20150626165920784444 is still running
[DEBUG   ] LazyLoaded no_return.output
[TRACE   ] data = {'hdc-hpcdev04': 'Minion did not return. [Not connected]'}

Stephen Spencer

unread,
Jun 28, 2015, 12:38:04 AM6/28/15
to salt-...@googlegroups.com

Check your firewall rules. tcp/4505 needs to be available to your minions.

--
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.
Message has been deleted

ZAM

unread,
Jun 30, 2015, 2:20:14 PM6/30/15
to salt-...@googlegroups.com
I have my firewall turned off.

Jakub Pinkas

unread,
Jul 1, 2015, 2:17:42 AM7/1/15
to salt-...@googlegroups.com
Hi,

maybe problem could be in cache ID:

"[DEBUG   ] Using cached minion ID from /etc/salt/minion_id: hdc-hpcdev02"

but you targeting 'hdc-hpcdev04' did you rename it or something?

Try remove pki dir on minion and restart and reauthorize at master.



Dne sobota 27. června 2015 0:01:33 UTC+2 Zachary Mance napsal(a):
Reply all
Reply to author
Forward
0 new messages