Date: Fri, 21 Nov 2014 00:39:11 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 195235] New: sysutils/py-salt requires lsof Message-ID: <bug-195235-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195235 Bug ID: 195235 Summary: sysutils/py-salt requires lsof Product: Ports Tree Version: Latest Hardware: Any OS: Any Status: Needs Triage Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: juan@ish.com.au CC: christer.edwards@gmail.com CC: christer.edwards@gmail.com Flags: maintainer-feedback?(christer.edwards@gmail.com) When running the latest py27-salt-2014.7.0 port as master, we get the following error. This is solved by installing lsof. The problem didn't exist in previous versions. salt -v "*" test.ping [ERROR ] An un-handled exception was caught by salt's global exception handler: OSError: [Errno 2] No such file or directory Traceback (most recent call last): File "/usr/local/bin/salt", line 9, in load_entry_point('salt==2014.7.0', 'console_scripts', 'salt')() File "/usr/local/lib/python2.7/site-packages/salt/scripts.py", line 240, in salt_main client.run() File "/usr/local/lib/python2.7/site-packages/salt/cli/__init__.py", line 186, in run for full_ret in cmd_func(**kwargs): File "/usr/local/lib/python2.7/site-packages/salt/client/__init__.py", line 584, in cmd_cli **kwargs): File "/usr/local/lib/python2.7/site-packages/salt/client/__init__.py", line 1212, in get_cli_event_returns connected_minions = salt.utils.minions.CkMinions(self.opts).connected_ids() File "/usr/local/lib/python2.7/site-packages/salt/utils/minions.py", line 418, in connected_ids addrs = salt.utils.network.local_port_tcp(int(self.opts['publish_port'])) File "/usr/local/lib/python2.7/site-packages/salt/utils/network.py", line 882, in local_port_tcp ret = remotes_on_local_tcp_port(port) File "/usr/local/lib/python2.7/site-packages/salt/utils/network.py", line 982, in remotes_on_local_tcp_port data = subprocess.check_output(['lsof', '-i4TCP:{0:d}'.format(port), '-n']) File "/usr/local/lib/python2.7/subprocess.py", line 566, in check_output process = Popen(stdout=PIPE, *popenargs, **kwargs) File "/usr/local/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/local/lib/python2.7/subprocess.py", line 1327, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory Traceback (most recent call last): File "/usr/local/bin/salt", line 9, in load_entry_point('salt==2014.7.0', 'console_scripts', 'salt')() File "/usr/local/lib/python2.7/site-packages/salt/scripts.py", line 240, in salt_main client.run() File "/usr/local/lib/python2.7/site-packages/salt/cli/__init__.py", line 186, in run for full_ret in cmd_func(**kwargs): File "/usr/local/lib/python2.7/site-packages/salt/client/__init__.py", line 584, in cmd_cli **kwargs): File "/usr/local/lib/python2.7/site-packages/salt/client/__init__.py", line 1212, in get_cli_event_returns connected_minions = salt.utils.minions.CkMinions(self.opts).connected_ids() File "/usr/local/lib/python2.7/site-packages/salt/utils/minions.py", line 418, in connected_ids addrs = salt.utils.network.local_port_tcp(int(self.opts['publish_port'])) File "/usr/local/lib/python2.7/site-packages/salt/utils/network.py", line 882, in local_port_tcp ret = remotes_on_local_tcp_port(port) File "/usr/local/lib/python2.7/site-packages/salt/utils/network.py", line 982, in remotes_on_local_tcp_port data = subprocess.check_output(['lsof', '-i4TCP:{0:d}'.format(port), '-n']) File "/usr/local/lib/python2.7/subprocess.py", line 566, in check_output process = Popen(stdout=PIPE, *popenargs, **kwargs) File "/usr/local/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/local/lib/python2.7/subprocess.py", line 1327, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory --- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> --- Maintainer CC'd -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195235-13>