Open javaria105 opened 4 years ago
Wow! That's interesting. The data being read have been cut by maxsize
limit that produces a half of unicode character in the end of the buffer.
https://github.com/saltstack/salt/blob/master/salt/utils/vt.py#L676
Thank you for catch a good bug @javaria105 !
@saltstack/team-cloud anyone have time to look into this issue in the next week or so?
Description of Issue
When deploying VMs with Salt-cloud in parallel, we get an error message that says "'utf8' codec can't decode byte 0xe2 in position 1023". The command we use is
salt-cloud -P -m <map> -ldebug
, with "map" being a yaml map file. The full error message is below:Setup
Below is a map file we used where we got the error:
Steps to Reproduce Issue
In order to reproduce the issue, a map file like the one above is required. Once the map file is complete, run
salt-cloud -P -m <map> -ldebug
with the name of the map file in the "map" section.Versions Report
The version of pyvmomi we are running is
python2-pyvmomi-6.7.3-1.xxx.el7.noarch
.