Bug 1218122
| Summary: | redirecting non-ascii characters returns error | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Eduard Barrera <ebarrera> |
| Component: | python-openstackclient | Assignee: | Julie Pichon <jpichon> |
| Status: | CLOSED WONTFIX | QA Contact: | Shai Revivo <srevivo> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.0 (Juno) | Keywords: | Triaged, ZStream |
| Target Milestone: | --- | ||
| Target Release: | 7.0 (Kilo) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-07-18 16:58:24 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Eduard Barrera
2015-05-04 08:50:33 UTC
i'm hitting this same problem:
# /usr/bin/openstack project list --quiet --format csv --long
"ID","Name","Description","Enabled"
"54d208f5565c4727a1ad77a3922eac26","admin","admin tenant",True
"c32f73afa3544bb8a5760e14ad0fc48c","Packstack","VM's for packstack testing",True
ERROR: openstack 'ascii' codec can't encode character u'\xe1' in position 1: ordinal not in range(128)
This bug has been fixed upstream: https://github.com/openstack/cliff/blob/master/cliff/formatters/commaseparated.py#L4 How many times are we going to hit non-ASCII bugs in OpenStack? ;-) We reported similar errors back in Havana. Also, the proposed fix in https://github.com/openstack/cliff/blob/master/cliff/formatters/commaseparated.py seems to be related to CSV. Doesn't OpenStack use JSON internally? How does a fix to CSV formatter solve the issue? For the record, we are hitting the same bug here with Red Hat OpenStack 7.3. So clearly, something else is going on here. Fix is in OSP10. Won't fix for OSP7 at this point due to EOL. |