Skip to content

Instantly share code, notes, and snippets.

Created September 5, 2016 03:38
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/5c02f8e94b07f07ae0c6f76c91626853 to your computer and use it in GitHub Desktop.
Save anonymous/5c02f8e94b07f07ae0c6f76c91626853 to your computer and use it in GitHub Desktop.
salt-call -l debug state.sls users
[DEBUG ] Reading configuration from /etc/salt/minion
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Configuration file path: /etc/salt/minion
[WARNING ] Insecure logging configuration detected! Sensitive data may be logged.
[DEBUG ] Reading configuration from /etc/salt/minion
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Please install 'virt-what' to improve results of the 'virtual' grain.
[DEBUG ] Connecting to master. Attempt 1 of 1
[DEBUG ] Initializing new AsyncAuth for ('/etc/salt/pki/minion', 'dnasar_rundeck_test_2', 'tcp://10.138.105.154:4506')
[DEBUG ] Generated random reconnect delay between '1000ms' and '11000ms' (3113)
[DEBUG ] Setting zmq_reconnect_ivl to '3113ms'
[DEBUG ] Setting zmq_reconnect_ivl_max to '11000ms'
[DEBUG ] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/minion', 'dnasar_rundeck_test_2', 'tcp://10.138.105.154:4506', 'clear')
[DEBUG ] Decrypting the current master AES key
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
[DEBUG ] Determining pillar cache
[DEBUG ] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/minion', 'dnasar_rundeck_test_2', 'tcp://10.138.105.154:4506', 'aes')
[DEBUG ] Initializing new AsyncAuth for ('/etc/salt/pki/minion', 'dnasar_rundeck_test_2', 'tcp://10.138.105.154:4506')
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
[DEBUG ] LazyLoaded jinja.render
[DEBUG ] LazyLoaded yaml.render
[DEBUG ] LazyLoaded state.sls
[DEBUG ] LazyLoaded saltutil.is_running
[DEBUG ] LazyLoaded grains.get
[DEBUG ] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/minion', 'dnasar_rundeck_test_2', 'tcp://10.138.105.154:4506', 'aes')
[DEBUG ] Initializing new AsyncAuth for ('/etc/salt/pki/minion', 'dnasar_rundeck_test_2', 'tcp://10.138.105.154:4506')
[DEBUG ] Determining pillar cache
[DEBUG ] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/minion', 'dnasar_rundeck_test_2', 'tcp://10.138.105.154:4506', 'aes')
[DEBUG ] Initializing new AsyncAuth for ('/etc/salt/pki/minion', 'dnasar_rundeck_test_2', 'tcp://10.138.105.154:4506')
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
[INFO ] Loading fresh modules for state activity
[DEBUG ] LazyLoaded jinja.render
[DEBUG ] LazyLoaded yaml.render
[DEBUG ] Could not find file from saltenv 'base', 'salt://users.sls'
[DEBUG ] In saltenv 'base', looking at rel_path 'users/init.sls' to resolve 'salt://users/init.sls'
[DEBUG ] In saltenv 'base', ** considering ** path '/var/cache/salt/minion/files/base/users/init.sls' to resolve 'salt://users/init.sls'
[DEBUG ] Fetching file from saltenv 'base', ** attempting ** 'salt://users/init.sls'
[DEBUG ] No dest file found
[INFO ] Fetching file from saltenv 'base', ** done ** 'users/init.sls'
[DEBUG ] compile template: /var/cache/salt/minion/files/base/users/init.sls
[DEBUG ] Jinja search path: ['/var/cache/salt/minion/files/base']
[DEBUG ] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/minion', 'dnasar_rundeck_test_2', 'tcp://10.138.105.154:4506', 'aes')
[DEBUG ] Initializing new AsyncAuth for ('/etc/salt/pki/minion', 'dnasar_rundeck_test_2', 'tcp://10.138.105.154:4506')
[DEBUG ] In saltenv 'base', looking at rel_path 'users/map.jinja' to resolve 'salt://users/map.jinja'
[DEBUG ] In saltenv 'base', ** considering ** path '/var/cache/salt/minion/files/base/users/map.jinja' to resolve 'salt://users/map.jinja'
[DEBUG ] Fetching file from saltenv 'base', ** attempting ** 'salt://users/map.jinja'
[DEBUG ] No dest file found
[INFO ] Fetching file from saltenv 'base', ** done ** 'users/map.jinja'
[DEBUG ] LazyLoaded grains.filter_by
[DEBUG ] LazyLoaded pillar.get
[ERROR ] Rendering exception occurred: Jinja variable 'None' has no attribute 'items'
[CRITICAL] Rendering SLS 'base:users' failed: Jinja variable 'None' has no attribute 'items'
[DEBUG ] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/minion', 'dnasar_rundeck_test_2', 'tcp://10.138.105.154:4506', 'aes')
[DEBUG ] Initializing new AsyncAuth for ('/etc/salt/pki/minion', 'dnasar_rundeck_test_2', 'tcp://10.138.105.154:4506')
[DEBUG ] LazyLoaded highstate.output
[ERROR ] Data passed to highstate outputter is not a valid highstate return: {'local': ["Rendering SLS 'base:users' failed: Jinja variable 'None' has no attribute 'items'"]}
[DEBUG ] Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/salt/output/__init__.py", line 39, in try_printout
return get_printout(out, opts)(data).rstrip()
AttributeError: 'NoneType' object has no attribute 'rstrip'
[DEBUG ] LazyLoaded nested.output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment