Ironic client doesn't know how to deal with unicode

Bug #1247156 reported by Lucas Alvares Gomes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-ironicclient
Fix Released
Undecided
Lucas Alvares Gomes

Bug Description

>$ ironic chassis-create -d "éééé"
'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)

The ironic client doesn't know how to deal with unicode

Currently the ironic api also doesn't know how to deal with unicode, there's a patch upstream trying to fix it (https://review.openstack.org/#/c/54737/) so in order to reproduce this problem you might need to first apply that patch.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-ironicclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/54942

Changed in python-ironicclient:
assignee: nobody → Lucas Alvares Gomes (lucasagomes)
status: New → In Progress
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-ironicclient (master)

Reviewed: https://review.openstack.org/54942
Committed: http://github.com/openstack/python-ironicclient/commit/11f7da97b6d4915a7d27d4c805807879e3667547
Submitter: Jenkins
Branch: master

commit 11f7da97b6d4915a7d27d4c805807879e3667547
Author: Lucas Alvares Gomes <email address hidden>
Date: Fri Nov 1 15:37:49 2013 +0000

    Deal with unicode strings

    The ironic client was trying to convert unicode strings received from the
    API to ascii causing it to fail, this patch will correct it.

    Change-Id: I8765abb188f758f982807a38f5d291fbc2be0da9
    Closes-Bug: #1247156

Changed in python-ironicclient:
status: In Progress → Fix Committed
Changed in python-ironicclient:
milestone: none → 0.7.0
status: Fix Committed → Fix Released
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.