[novaclient] "nova list" fails if instance name consist unicode characters

Bug #1538616 reported by Alexander Gubanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
Medium
Andriy Kurilin

Bug Description

Due to bug verification https://bugs.launchpad.net/mos/+bug/1534568 I found another bug - "nova list" fails if instance name consist unicode characters.

root@node-1:~# nova list
ERROR (UnicodeEncodeError): 'ascii' codec can't encode character u'\u2665' in position 4: ordinal not in range(128)
More details here http://pastebin.com/N5qaAJ06

Env: MOS 8.0 (build 470) neutron gre, 3 controller nodes, 2 compute nodes with cinder

I've also verified it on devstack - it works, details http://pastebin.com/3tKYbhVk

Changed in mos:
assignee: MOS Nova (mos-nova) → Andrey Kurilin (andreykurilin)
description: updated
Revision history for this message
Andriy Kurilin (andreykurilin) wrote :

The fix in upstream: https://review.openstack.org/#/c/248626/
Release with the fix: novaclient 3.0.0 .

This fix will be synced with all code from Mitaka.

tags: added: area-nova
removed: nova
Revision history for this message
Bug Checker Bot (bug-checker) wrote : Autochecker

(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:

actual result

expected result

steps to reproduce

For more detailed information on the contents of each of the listed sections see https://wiki.openstack.org/wiki/Fuel/How_to_contribute#Here_is_how_you_file_a_bug

tags: added: need-info
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

Hi Dev team, please, make sure that we will include the fix from upstream to MOS 9.0 release.

Thank you!

tags: added: keep-in-9.0
Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

Per #1 we already have the needed package version - http://mirror.fuel-infra.org/mos-repos/ubuntu/9.0/pool/main/p/python-novaclient/ - 3.3.0 and 3.0.0 was needed

Changed in mos:
status: Confirmed → Fix Committed
Anna Babich (ababich)
tags: added: on-verification
Revision history for this message
Anna Babich (ababich) wrote :

The fix has been verified and will be moved to Fix Released, but another bug happened during the verification: https://bugs.launchpad.net/mos/+bug/1565911

Changed in mos:
status: Fix Committed → Fix Released
tags: removed: on-verification
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.