Skip to content

Instantly share code, notes, and snippets.

Created January 29, 2016 14:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/5e16de930626d057d10e to your computer and use it in GitHub Desktop.
Save anonymous/5e16de930626d057d10e to your computer and use it in GitHub Desktop.
Salt master
2016-01-29 16:32:48,010 [salt.utils.job ][INFO ][24158] Got return from waspbox3 for job 20160129163247859518
2016-01-29 16:32:48,011 [salt.utils.event ][DEBUG ][24158] Sending event - data = {'fun_args': [], 'jid': '20160129163247859518', 'return': ['top.sls'], 'retcode': 0, 'success': True, 'cmd': '_return', '_stamp'
: '2016-01-29T14:32:48.010675', 'fun': 'cp.list_master', 'id': 'waspbox3'}
2016-01-29 16:33:23,553 [salt.config ][DEBUG ][24148] Reading configuration from /etc/salt/master
2016-01-29 16:33:23,590 [salt.config ][DEBUG ][24148] Guessing ID. The id can be explicitly set in /etc/salt/minion
2016-01-29 16:33:23,623 [salt.config ][INFO ][24148] Found minion id from generate_minion_id(): zabbix1.connet-systems.com
2016-01-29 16:33:23,624 [salt.config ][DEBUG ][24148] Reading configuration from /etc/salt/master
2016-01-29 16:33:24,190 [salt.loaded.int.grains.core][DEBUG ][24148] Please install 'virt-what' to improve results of the 'virtual' grain.
2016-01-29 16:33:24,246 [salt.utils.lazy ][DEBUG ][24148] LazyLoaded local_cache.clean_old_jobs
2016-01-29 16:33:24,248 [salt.utils.lazy ][DEBUG ][24148] Could not LazyLoad config.merge
2016-01-29 16:33:24,248 [salt.fileserver ][DEBUG ][24148] Updating git fileserver cache
2016-01-29 16:33:24,249 [salt.utils.gitfs ][DEBUG ][24148] Set lock for http://raven/git/saltstack/
2016-01-29 16:33:24,249 [salt.utils.gitfs ][DEBUG ][24148] gitfs is fetching from 'http://raven/git/saltstack/'
2016-01-29 16:33:24,619 [salt.utils.gitfs ][DEBUG ][24148] Removed lock for http://raven/git/saltstack/
2016-01-29 16:33:24,633 [salt.utils.verify][DEBUG ][24148] This salt-master instance has accepted 1 minion keys.
2016-01-29 16:33:47,495 [salt.utils.event ][DEBUG ][24161] Sending event - data = {'_stamp': '2016-01-29T14:33:47.495076', 'minions': ['waspbox3']}
2016-01-29 16:33:47,496 [salt.utils.event ][DEBUG ][24161] Sending event - data = {'tgt_type': 'glob', 'jid': '20160129163347494778', 'tgt': '*', '_stamp': '2016-01-29T14:33:47.495493', 'user': 'sudo_wayne', 'a
rg': [], 'fun': 'cp.list_master', 'minions': ['waspbox3']}
2016-01-29 16:33:47,496 [salt.master ][INFO ][24161] User sudo_wayne Published command cp.list_master with jid 20160129163347494778
2016-01-29 16:33:47,496 [salt.master ][DEBUG ][24161] Published command details {'tgt_type': 'glob', 'jid': '20160129163347494778', 'tgt': '*', 'ret': '', 'user': 'sudo_wayne', 'arg': [], 'fun': 'cp.list_m
aster'}
2016-01-29 16:33:47,634 [salt.utils.job ][INFO ][24164] Got return from waspbox3 for job 20160129163347494778
2016-01-29 16:33:47,635 [salt.utils.event ][DEBUG ][24164] Sending event - data = {'fun_args': [], 'jid': '20160129163347494778', 'return': ['top.sls'], 'retcode': 0, 'success': True, 'cmd': '_return', '_stamp'
: '2016-01-29T14:33:47.634437', 'fun': 'cp.list_master', 'id': 'waspbox3'}
top.sls
base:
'waspbox3':
- 'vim'
vim.sls
install vim:
pkg.installed:
- name: vim
wayne@zabbix1:~$ sudo salt '*' cp.list_master
waspbox3:
- top.sls
wayne@zabbix1:~$ sudo salt 'waspbox3' state.highstate -t 60
waspbox3:
----------
ID: states
Function: no.None
Result: False
Comment: No Top file or external nodes data matches found.
Started:
Duration:
Changes:
Summary for waspbox3
------------
Succeeded: 0
Failed: 1
------------
Total states run: 1
Total run time: 0.000 ms
ERROR: Minions returned with non-zero exit code
wayne@zabbix1:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment