Traceback (most recent call last):


 "/usr/lib/python3.6/site-packages/salt/cli/caller.py", line 218, in call

ret['return'] = self.minion.executors[fname](self.opts, data, func, args, kwargs)


 "/usr/lib/python3.6/site-packages/salt/executors/direct_call.py", line 12, in execute

return func(*args, **kwargs)


 "/usr/lib/python3.6/site-packages/salt/modules/haproxyconn.py", line 373, in show_backends

return ha_conn.sendCmd(ha_cmd)


 "/usr/local/lib/python3.6/site-packages/haproxy/conn.py", line 33, in sendCmd

self.sock.send(cmd.getCmd())
TypeError: a bytes-like object is required, not 'str'

Traceback (most recent call last):


 "/usr/lib/python2.7/site-packages/salt/utils/stringutils.py", line 329, in expr_match

if fnmatch.fnmatch(line, expr):


 "/usr/lib64/python2.7/fnmatch.py", line 43, in fnmatch

return fnmatchcase(name, pat)


 "/usr/lib64/python2.7/fnmatch.py", line 74, in fnmatchcase

if not pat in _cache:
TypeError: unhashable type: 'set'
