Fail to execute ps.proc_info

9 views
Skip to first unread message

Thang Nguyen

unread,
Aug 31, 2015, 12:18:11 AM8/31/15
to Salt-users
Dear all,

I've encountered an issue while trying to execute ps.proc_info in windows platform.
Here is the details:
 - Command: salt 'my_windows' ps.proc_info 0
 - Error:
The minion function caused an exception: Traceback (most recent call last):
      File "salt/minion.py", line 1071, in _thread_return
      File "salt/modules/ps.py", line 189, in proc_info
      File "psutil/__init__.py", line 448, in as_dict
      File "psutil/__init__.py", line 1010, in connections
      File "psutil/_pswindows.py", line 252, in wrapper
      File "psutil/_pswindows.py", line 454, in connections
      File "psutil/_pswindows.py", line 205, in net_connections
    KeyError: 0
- OS: windows
- OS release: 2008ServerR2

Hope to see your advice, thank all,

Justin Findlay

unread,
Sep 8, 2015, 5:16:58 PM9/8/15
to salt-...@googlegroups.com
This looks like a bug to me. Will you open an issue at
https://github.com/saltstack/salt/issues/new? Thanks.


Justin
Reply all
Reply to author
Forward
0 new messages