salt-call -l debug state.sls environments.all.ssh test=True
[DEBUG ] Reading configuration from /etc/salt/minion
[DEBUG ] Configuration file path: /etc/salt/minion
[DEBUG ] Reading configuration from /etc/salt/minion
[DEBUG ] loading grain in ['/var/cache/salt/minion/extmods/grains', '/usr/lib/python2.7/dist-packages/salt/grains']
[DEBUG ] Skipping /var/cache/salt/minion/extmods/grains, it is not a directory
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
[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 ] loading module in ['/var/cache/salt/minion/extmods/modules', '/usr/lib/python2.7/dist-packages/salt/modules']
[DEBUG ] Skipping /var/cache/salt/minion/extmods/modules, it is not a directory
[DEBUG ] Loaded localemod as virtual locale
[DEBUG ] Loaded groupadd as virtual group
[DEBUG ] Loaded linux_sysctl as virtual sysctl
[DEBUG ] Loaded sysmod as virtual sys
[DEBUG ] Loaded parted as virtual partition
[DEBUG ] Loaded apt as virtual pkg
[DEBUG ] Loaded debian_service as virtual service
[DEBUG ] Loaded useradd as virtual user
[DEBUG ] Loaded dpkg as virtual lowpkg
[DEBUG ] Loaded debconfmod as virtual debconf
[DEBUG ] Loaded djangomod as virtual django
[DEBUG ] Loaded cmdmod as virtual cmd
[DEBUG ] Loaded linux_lvm as virtual lvm
[DEBUG ] loading returner in ['/var/cache/salt/minion/extmods/returners', '/usr/lib/python2.7/dist-packages/salt/returners']
[DEBUG ] Skipping /var/cache/salt/minion/extmods/returners, it is not a directory
[DEBUG ] Loaded syslog_return as virtual syslog
[DEBUG ] Loaded carbon_return as virtual carbon
[DEBUG ] loading states in ['/var/cache/salt/minion/extmods/states', '/usr/lib/python2.7/dist-packages/salt/states']
[DEBUG ] Skipping /var/cache/salt/minion/extmods/states, it is not a directory
[DEBUG ] Loaded debconfmod as virtual debconf
[DEBUG ] loading render in ['/var/cache/salt/minion/extmods/renderers', '/usr/lib/python2.7/dist-packages/salt/renderers']
[DEBUG ] Skipping /var/cache/salt/minion/extmods/renderers, it is not a directory
[INFO ] Executing command 'ps -efH' in directory '/root'
[DEBUG ] output: UID PID PPID C STIME TTY TIME CMD
root 2 0 0 09:45 ? 00:00:00 [kthreadd]
root 3 2 0 09:45 ? 00:00:00 [ksoftirqd/0]
root 5 2 0 09:45 ? 00:00:00 [kworker/u:0]
root 6 2 0 09:45 ? 00:00:00 [migration/0]
root 7 2 0 09:45 ? 00:00:01 [watchdog/0]
root 8 2 0 09:45 ? 00:00:00 [cpuset]
root 9 2 0 09:45 ? 00:00:00 [khelper]
root 10 2 0 09:45 ? 00:00:00 [kdevtmpfs]
root 11 2 0 09:45 ? 00:00:00 [netns]
root 12 2 0 09:45 ? 00:00:00 [sync_supers]
root 13 2 0 09:45 ? 00:00:00 [bdi-default]
root 14 2 0 09:45 ? 00:00:00 [kintegrityd]
root 15 2 0 09:45 ? 00:00:00 [kblockd]
root 16 2 0 09:45 ? 00:00:00 [khungtaskd]
root 17 2 0 09:45 ? 00:00:00 [kswapd0]
root 18 2 0 09:45 ? 00:00:00 [ksmd]
root 19 2 0 09:45 ? 00:00:00 [khugepaged]
root 20 2 0 09:45 ? 00:00:00 [fsnotify_mark]
root 21 2 0 09:45 ? 00:00:00 [crypto]
root 24 2 0 09:45 ? 00:00:03 [kworker/0:1]
root 78 2 0 09:45 ? 00:00:00 [ata_sff]
root 103 2 0 09:45 ? 00:00:00 [mpt_poll_0]
root 113 2 0 09:45 ? 00:00:00 [mpt/0]
root 134 2 0 09:45 ? 00:00:00 [scsi_eh_0]
root 136 2 0 09:45 ? 00:00:00 [scsi_eh_1]
root 137 2 0 09:45 ? 00:00:00 [scsi_eh_2]
root 138 2 0 09:45 ? 00:00:00 [kworker/u:1]
root 175 2 0 09:45 ? 00:00:00 [kdmflush]
root 183 2 0 09:45 ? 00:00:00 [kdmflush]
root 198 2 0 09:45 ? 00:00:00 [jbd2/dm-0-8]
root 199 2 0 09:45 ? 00:00:00 [ext4-dio-unwrit]
root 459 2 0 09:45 ? 00:00:00 [kpsmoused]
root 508 2 0 09:45 ? 00:00:00 [ttm_swap]
root 647 2 0 09:45 ? 00:00:00 [kdmflush]
root 649 2 0 09:45 ? 00:00:00 [kdmflush]
root 651 2 0 09:45 ? 00:00:00 [kdmflush]
root 653 2 0 09:45 ? 00:00:00 [kdmflush]
root 655 2 0 09:45 ? 00:00:00 [kdmflush]
root 1298 2 0 09:45 ? 00:00:00 [jbd2/sda1-8]
root 1299 2 0 09:45 ? 00:00:00 [ext4-dio-unwrit]
root 1300 2 0 09:45 ? 00:00:00 [jbd2/dm-6-8]
root 1301 2 0 09:45 ? 00:00:00 [ext4-dio-unwrit]
root 1302 2 0 09:45 ? 00:00:00 [jbd2/dm-5-8]
root 1303 2 0 09:45 ? 00:00:00 [ext4-dio-unwrit]
root 1304 2 0 09:45 ? 00:00:00 [jbd2/dm-2-8]
root 1305 2 0 09:45 ? 00:00:00 [ext4-dio-unwrit]
root 1306 2 0 09:45 ? 00:00:00 [jbd2/dm-3-8]
root 1307 2 0 09:45 ? 00:00:00 [ext4-dio-unwrit]
root 1308 2 0 09:45 ? 00:00:00 [jbd2/dm-4-8]
root 1309 2 0 09:45 ? 00:00:00 [ext4-dio-unwrit]
root 1607 2 0 09:46 ? 00:00:00 [rpciod]
root 1609 2 0 09:46 ? 00:00:00 [nfsiod]
root 1786 2 0 09:46 ? 00:00:00 [lockd]
root 1948 2 0 09:46 ? 00:00:00 [flush-254:2]
root 1950 2 0 09:46 ? 00:00:00 [flush-254:4]
root 22637 2 0 12:48 ? 00:00:00 [xfs_mru_cache]
root 22638 2 0 12:48 ? 00:00:00 [xfslogd]
root 22639 2 0 12:48 ? 00:00:00 [xfsdatad]
root 22640 2 0 12:48 ? 00:00:00 [xfsconvertd]
root 22643 2 0 12:48 ? 00:00:00 [jfsIO]
root 22644 2 0 12:48 ? 00:00:00 [jfsCommit]
root 22645 2 0 12:48 ? 00:00:00 [jfsSync]
root 23281 2 0 12:48 ? 00:00:00 [kworker/0:0]
root 1 0 0 09:45 ? 00:00:03 init [2]
root 332 1 0 09:45 ? 00:00:00 udevd --daemon
root 22619 332 0 12:48 ? 00:00:00 udevd --daemon
root 1571 1 0 09:46 ? 00:00:00 /sbin/rpcbind -w
statd 1602 1 0 09:46 ? 00:00:00 /sbin/rpc.statd
root 1616 1 0 09:46 ? 00:00:00 /usr/sbin/rpc.idmapd
root 2030 1 0 09:46 ? 00:00:00 /opt/pbis/sbin/lwsmd --start-as-daemon
root 2038 2030 0 09:46 ? 00:00:00 lw-container lwreg
root 2056 2030 0 09:46 ? 00:00:00 lw-container eventlog
root 2067 2030 0 09:46 ? 00:00:00 lw-container netlogon
root 2077 2030 0 09:46 ? 00:00:00 lw-container lwio
root 2090 2030 0 09:46 ? 00:00:11 lw-container lsass
root 2107 2030 0 09:46 ? 00:00:00 lw-container reapsysl
newrelic 2046 1 0 09:46 ? 00:00:00 /usr/sbin/nrsysmond -c /etc/newrelic/nrsysmond.cfg -p /var/run/nrsysmond.pid
newrelic 2047 2046 0 09:46 ? 00:00:06 /usr/sbin/nrsysmond -c /etc/newrelic/nrsysmond.cfg -p /var/run/nrsysmond.pid
root 2201 1 0 09:46 ? 00:00:00 /usr/sbin/acpid
daemon 2226 1 0 09:46 ? 00:00:00 /usr/sbin/atd
root 2268 1 0 09:46 ? 00:00:00 /usr/sbin/cron
ntp 2297 1 0 09:46 ? 00:00:00 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 105:109
root 2410 1 0 09:46 ? 00:00:00 /usr/lib/postfix/master
postfix 2432 2410 0 09:46 ? 00:00:00 qmgr -l -t fifo -u
postfix 28006 2410 0 13:06 ? 00:00:00 pickup -l -t fifo -u -c
root 2471 1 0 09:46 ? 00:00:00 /usr/sbin/sshd
root 3728 2471 0 11:05 ? 00:00:00 sshd: user1 [priv]
user1 3740 3728 0 11:05 ? 00:00:00 sshd: user1@pts/0
user1 3741 3740 0 11:05 pts/0 00:00:03 -bash
root 3829 3741 0 11:06 pts/0 00:00:00 sudo su
root 3830 3829 0 11:06 pts/0 00:00:00 su
root 3831 3830 0 11:06 pts/0 00:00:00 bash
root 28352 3831 92 13:37 pts/0 00:00:07 /usr/bin/python /usr/bin/salt-call -l debug state.sls environments.all.ssh test=True
root 28378 28352 0 13:37 pts/0 00:00:00 ps -efH
root 2498 1 0 09:46 ? 00:00:01 /usr/bin/python /usr/bin/supervisord
root 2741 1 0 09:46 ? 00:00:06 /usr/sbin/vmtoolsd
root 2764 1 0 09:46 tty1 00:00:00 /sbin/getty 38400 tty1
root 2765 1 0 09:46 tty2 00:00:00 /sbin/getty 38400 tty2
root 2766 1 0 09:46 tty3 00:00:00 /sbin/getty 38400 tty3
root 2767 1 0 09:46 tty4 00:00:00 /sbin/getty 38400 tty4
root 2768 1 0 09:46 tty5 00:00:00 /sbin/getty 38400 tty5
root 2769 1 0 09:46 tty6 00:00:00 /sbin/getty 38400 tty6
postgres 6689 1 0 12:15 ? 00:00:00 /usr/lib/postgresql/9.2/bin/postgres -D /var/lib/postgresql/9.2/main -c config_file=/etc/postgresql/9.2/main/postgresql.conf
postgres 6691 6689 0 12:15 ? 00:00:00 postgres: checkpointer process
postgres 6692 6689 0 12:15 ? 00:00:00 postgres: writer process
postgres 6693 6689 0 12:15 ? 00:00:00 postgres: wal writer process
postgres 6694 6689 0 12:15 ? 00:00:00 postgres: autovacuum launcher process
postgres 6695 6689 0 12:15 ? 00:00:00 postgres: stats collector process
postgres 10938 1 0 12:16 ? 00:00:00 /usr/sbin/pgpool -n
postgres 11065 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11066 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11067 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11068 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11069 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11070 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11071 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11072 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11073 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11074 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11075 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11076 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11077 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11078 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11079 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11080 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11081 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11082 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11083 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11084 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11085 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11086 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11087 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11088 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11089 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11090 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11091 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11092 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11093 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11094 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11095 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11096 10938 0 12:17 ? 00:00:00 pgpool: wait for connection request
postgres 11097 10938 0 12:17 ? 00:00:00 pgpool: PCP: wait for connection request
postgres 11098 10938 0 12:17 ? 00:00:00 pgpool: worker process
postgres 10939 1 0 12:16 ? 00:00:00 logger -t pgpool -p
local0.inforoot 15770 1 0 12:40 ? 00:00:00 /usr/sbin/rsyslogd -c5
root 23169 1 0 12:48 ? 00:00:01 /usr/bin/python /usr/bin/salt-minion -d
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
[DEBUG ] Decrypting the current master AES key
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
[DEBUG ] Reading configuration from /etc/salt/minion
[DEBUG ] loading grain in ['/var/cache/salt/minion/extmods/grains', '/usr/lib/python2.7/dist-packages/salt/grains']
[DEBUG ] Skipping /var/cache/salt/minion/extmods/grains, it is not a directory
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
[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
[INFO ] Loading fresh modules for state activity
[DEBUG ] loading module in ['/var/cache/salt/minion/extmods/modules', '/usr/lib/python2.7/dist-packages/salt/modules']
[DEBUG ] Skipping /var/cache/salt/minion/extmods/modules, it is not a directory
[DEBUG ] Loaded localemod as virtual locale
[DEBUG ] Loaded groupadd as virtual group
[DEBUG ] Loaded linux_sysctl as virtual sysctl
[DEBUG ] Loaded sysmod as virtual sys
[DEBUG ] Loaded parted as virtual partition
[DEBUG ] Loaded apt as virtual pkg
[DEBUG ] Loaded debian_service as virtual service
[DEBUG ] Loaded useradd as virtual user
[DEBUG ] Loaded dpkg as virtual lowpkg
[DEBUG ] Loaded debconfmod as virtual debconf
[DEBUG ] Loaded djangomod as virtual django
[DEBUG ] Loaded cmdmod as virtual cmd
[DEBUG ] Loaded linux_lvm as virtual lvm
[DEBUG ] loading states in ['/var/cache/salt/minion/extmods/states', '/usr/lib/python2.7/dist-packages/salt/states']
[DEBUG ] Skipping /var/cache/salt/minion/extmods/states, it is not a directory
[DEBUG ] Loaded debconfmod as virtual debconf
[DEBUG ] loading render in ['/var/cache/salt/minion/extmods/renderers', '/usr/lib/python2.7/dist-packages/salt/renderers']
[DEBUG ] Skipping /var/cache/salt/minion/extmods/renderers, it is not a directory
[DEBUG ] loading module in ['/var/cache/salt/minion/extmods/modules', '/usr/lib/python2.7/dist-packages/salt/modules']
[DEBUG ] Skipping /var/cache/salt/minion/extmods/modules, it is not a directory
[DEBUG ] Loaded localemod as virtual locale
[DEBUG ] Loaded groupadd as virtual group
[DEBUG ] Loaded linux_sysctl as virtual sysctl
[DEBUG ] Loaded sysmod as virtual sys
[DEBUG ] Loaded parted as virtual partition
[DEBUG ] Loaded apt as virtual pkg
[DEBUG ] Loaded debian_service as virtual service
[DEBUG ] Loaded useradd as virtual user
[DEBUG ] Loaded dpkg as virtual lowpkg
[DEBUG ] Loaded debconfmod as virtual debconf
[DEBUG ] Loaded djangomod as virtual django
[DEBUG ] Loaded cmdmod as virtual cmd
[DEBUG ] Loaded linux_lvm as virtual lvm
[INFO ] Fetching file 'salt://environments/all/ssh.sls'
[INFO ] Fetching file 'salt://environments/all/ssh/init.sls'
[DEBUG ] Jinja search path: '['/var/cache/salt/minion/files/base']'
[ERROR ] Rendering SLS environments.all.ssh failed, render error: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/utils/templates.py", line 63, in render_tmpl
output = render_str(tmplstr, context, tmplpath)
File "/usr/lib/python2.7/dist-packages/salt/utils/templates.py", line 116, in render_jinja_tmpl
output = jinja_env.from_string(tmplstr).render(**context)
File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 894, in render
return self.environment.handle_exception(exc_info, True)
File "<template>", line 22, in top-level template code
UndefinedError: 'str object' has no attribute 'iteritems'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1904, in render_state
rendered_sls=mods
File "/usr/lib/python2.7/dist-packages/salt/template.py", line 68, in compile_template
ret = render(input_data, env, sls, **render_kwargs)
File "/usr/lib/python2.7/dist-packages/salt/renderers/jinja.py", line 41, in render
tmp_data.get('data', 'Unknown render error in jinja renderer')
SaltRenderError: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/utils/templates.py", line 63, in render_tmpl
output = render_str(tmplstr, context, tmplpath)
File "/usr/lib/python2.7/dist-packages/salt/utils/templates.py", line 116, in render_jinja_tmpl
output = jinja_env.from_string(tmplstr).render(**context)
File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 894, in render
return self.environment.handle_exception(exc_info, True)
File "<template>", line 22, in top-level template code
UndefinedError: 'str object' has no attribute 'iteritems'
[DEBUG ] loading output in ['/var/cache/salt/minion/extmods/output', '/usr/lib/python2.7/dist-packages/salt/output']
[DEBUG ] Skipping /var/cache/salt/minion/extmods/output, it is not a directory
[DEBUG ] Loaded no_out as virtual quiet
[DEBUG ] Loaded json_out as virtual json
[DEBUG ] Loaded yaml_out as virtual yaml
[DEBUG ] Loaded pprint_out as virtual pprint
local:
Data failed to compile:
----------
Rendering SLS environments.all.ssh failed, render error: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/utils/templates.py", line 63, in render_tmpl
output = render_str(tmplstr, context, tmplpath)
File "/usr/lib/python2.7/dist-packages/salt/utils/templates.py", line 116, in render_jinja_tmpl
output = jinja_env.from_string(tmplstr).render(**context)
File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 894, in render
return self.environment.handle_exception(exc_info, True)
File "<template>", line 22, in top-level template code
UndefinedError: 'str object' has no attribute 'iteritems'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1904, in render_state
rendered_sls=mods
File "/usr/lib/python2.7/dist-packages/salt/template.py", line 68, in compile_template
ret = render(input_data, env, sls, **render_kwargs)
File "/usr/lib/python2.7/dist-packages/salt/renderers/jinja.py", line 41, in render
tmp_data.get('data', 'Unknown render error in jinja renderer')
SaltRenderError: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/utils/templates.py", line 63, in render_tmpl
output = render_str(tmplstr, context, tmplpath)
File "/usr/lib/python2.7/dist-packages/salt/utils/templates.py", line 116, in render_jinja_tmpl
output = jinja_env.from_string(tmplstr).render(**context)
File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 894, in render
return self.environment.handle_exception(exc_info, True)
File "<template>", line 22, in top-level template code
UndefinedError: 'str object' has no attribute 'iteritems'