output table of datasource-list shouldn't contain unicode prefix

Bug #1508320 reported by Rui Chen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-congressclient
Fix Released
Undecided
Rui Chen

Bug Description

The content of 'config' column is string with unicode prefix, that make users confusion, we should output the string format rather than unicode.

$ openstack congress datasource list
+--------------------------------------+------------+---------+------+--------------------------------------------------------------------------------------------------------------------------------------------------+
| id | name | enabled | type | config |
+--------------------------------------+------------+---------+------+--------------------------------------------------------------------------------------------------------------------------------------------------+
| 06f02db8-6263-4b53-9e78-cba98aa47ab0 | cinder | True | None | {u'username': u'admin', u'tenant_name': u'admin', u'auth_url': u'http://10.229.40.104:5000/v2.0', u'password': u'<hidden>', u'poll_time': u'10'} |
| 210767a3-64f2-4453-a988-ffba96116fc8 | neutronv2 | True | None | {u'username': u'admin', u'tenant_name': u'admin', u'auth_url': u'http://10.229.40.104:5000/v2.0', u'password': u'<hidden>', u'poll_time': u'10'} |
| 477d3034-e676-472f-8849-a87764803ed9 | glancev2 | True | None | {u'username': u'admin', u'tenant_name': u'admin', u'auth_url': u'http://10.229.40.104:5000/v2.0', u'password': u'<hidden>', u'poll_time': u'10'} |
| 7eb92f69-4c00-4132-be26-637948621622 | ceilometer | True | None | {u'username': u'admin', u'tenant_name': u'admin', u'auth_url': u'http://10.229.40.104:5000/v2.0', u'password': u'<hidden>', u'poll_time': u'10'} |
| 8475f79a-305f-4739-8a12-06884494f016 | keystone | True | None | {u'username': u'admin', u'tenant_name': u'admin', u'auth_url': u'http://10.229.40.104:5000/v2.0', u'password': u'<hidden>', u'poll_time': u'10'} |
| cf80bad1-91e0-4cc2-a4d3-53fd3b6333c7 | nova | True | None | {u'username': u'admin', u'tenant_name': u'admin', u'auth_url': u'http://10.229.40.104:5000/v2.0', u'password': u'<hidden>', u'poll_time': u'10'} |
+--------------------------------------+------------+---------+------+--------------------------------------------------------------------------------------------------------------------------------------------------+

Rui Chen (kiwik-chenrui)
Changed in python-congressclient:
assignee: nobody → Rui Chen (kiwik-chenrui)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-congressclient (master)

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

Changed in python-congressclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-congressclient (master)

Reviewed: https://review.openstack.org/237917
Committed: https://git.openstack.org/cgit/openstack/python-congressclient/commit/?id=3efb993e408e2f65f6d18ed98419cccad87349a3
Submitter: Jenkins
Branch: master

commit 3efb993e408e2f65f6d18ed98419cccad87349a3
Author: Rui Chen <email address hidden>
Date: Wed Oct 21 15:42:02 2015 +0800

    Remove unicode prefix from output of datasource-list

    When we execute command 'congress datasource list', the output content
    of 'config' column is string with unicode prefix, that make users
    confusion, we should output the string format rather than unicode.

    Change-Id: I26f46fb8eef3a89908ec388e2046218480ab560d
    Closes-Bug: #1508320

Changed in python-congressclient:
status: In Progress → 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.