mistral workflow create UnicodeEncodeError in python3

Bug #1836043 reported by Miles Yang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mistralclient
New
Undecided
Unassigned

Bug Description

in python3, mistral workflow-create/update will raise UnicodeEncodeError if yaml cantains chinese.

# mistral workflow-update -f yaml gw_deploy/workflows/vm/tencent_cvm_create.yaml
ERROR (app) 'latin-1' codec can't encode characters in position 111-112: Body ('中文') is not valid Latin-1. Use body.encode('utf-8') if you want to send it encoded in UTF-8.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.