_filter_list report encode failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Shade |
New
|
Undecided
|
Unassigned |
Bug Description
while using ansible os_server to launch a new vm, it complains about the encoding error. This is due to we have unicode characters in vm name. I think shade is trying to find whether this vm is already in nova, but it failed to process unicode.
Traceback (most recent call last):
File "/tmp/ansible_
main()
File "/tmp/ansible_
_get_
File "/tmp/ansible_
server = cloud.get_
File "/usr/lib/
return _utils.
File "/usr/lib/
entities = func(name_or_id, filters, **kwargs)
File "/usr/lib/
return _utils.
File "/usr/lib/
str(e_name), str(name_or_id)))):
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)
This issue was fixed in the openstack/ python- openstacksdk 0.10.0 release.