The reason is in line "kwargs = utils.safe_encode_dict(kwargs)" that converts str into bytes (https://github.com/openstack/python-neutronclient/blob/master/neutronclient/client.py#L313)
The reason is in line "kwargs = utils.safe_ encode_ dict(kwargs) " that converts str into bytes (https:/ /github. com/openstack/ python- neutronclient/ blob/master/ neutronclient/ client. py#L313)