You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use 0.15.3 for both minion and master, and I want to do some benchmark, so I install sysbench(0.4.12-5.el6) in minion. When I exec in the master it says:
# salt 'xxx' sysbench.cpu
xxx:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/salt/minion.py", line 443, in _thread_return
ret['return'] = func(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/salt/modules/sysbench.py", line 78, in cpu
ret_val[key] = _parser(result)
File "/usr/lib/python2.6/site-packages/salt/modules/sysbench.py", line 37, in _parser
total_execution = re.search(_total_execution, result).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
The text was updated successfully, but these errors were encountered:
This fixessaltstack#6175 by altering the regex for total execution time.
Additionally, this commit incudes a spelling change, and a modification
to the dicts returned by the _parser() helper function. There is no
reason why the dictionary keys should have trailing whitespace.
This fixes#6175 by altering the regex for total execution time.
Additionally, this commit incudes a spelling change, and a modification
to the dicts returned by the _parser() helper function. There is no
reason why the dictionary keys should have trailing whitespace.
I use 0.15.3 for both minion and master, and I want to do some benchmark, so I install sysbench(0.4.12-5.el6) in minion. When I exec in the master it says:
The text was updated successfully, but these errors were encountered: