table broken when there are multiple line in the data

Bug #1476462 reported by Liyingjun on 2015-07-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-cinderclient
Undecided
Liyingjun
python-keystoneclient
Undecided
Liyingjun
python-novaclient
Low
Liyingjun

Bug Description

I have a volume type with multiple line description, when i print the volume type list, part of the ID missing:

$ cinder type-list
+--------------------------------------+----------+-------------+-----------+
| ID | Name | Description | Is_Public |
+--------------------------------------+----------+-------------+-----------+
| 9de17b91-f9a9-4424-b470-7b45a91a995e | test4 | - | False |
| ab95f9b2-f76b-47b9-af9d-1359448c483e | ssd | ssd | False |
  | False |-44fb-8763-289aad656460 | test | test xxx
    | | | | xxxx
| | | xxx | |
| f3406818-007d-41f2-877e-8afc5c4b0bac | defaults | - | True |
+--------------------------------------+----------+-------------+-----------+

Liyingjun (liyingjun) on 2015-07-21
Changed in python-cinderclient:
assignee: nobody → Liyingjun (liyingjun)

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

Changed in python-cinderclient:
status: New → In Progress
Liyingjun (liyingjun) on 2015-07-22
Changed in python-novaclient:
assignee: nobody → Liyingjun (liyingjun)
importance: Undecided → Low

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

Changed in python-novaclient:
status: New → In Progress
Liyingjun (liyingjun) on 2015-07-22
Changed in python-keystoneclient:
assignee: nobody → Liyingjun (liyingjun)

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

Changed in python-keystoneclient:
status: New → In Progress

Change abandoned by Li Yingjun (<email address hidden>) on branch: master
Review: https://review.openstack.org/204342
Reason: As mentioned by Steve, the entire CLI will be removed soon. So abandon..

Brant Knudson (blk-u) on 2015-07-22
Changed in python-keystoneclient:
status: In Progress → Won't Fix

Reviewed: https://review.openstack.org/204339
Committed: https://git.openstack.org/cgit/openstack/python-novaclient/commit/?id=1d39033c8e6fae42de0f5bff9b00790c6d4c4052
Submitter: Jenkins
Branch: master

commit 1d39033c8e6fae42de0f5bff9b00790c6d4c4052
Author: liyingjun <email address hidden>
Date: Wed Jul 22 10:01:44 2015 +0800

    Fixes table when there are multiline in result data

    The table doesn't display right when there are multiple line in
    result data. Fixes this by replace "\r" with "".

    Change-Id: Ia3ca4146f17c3ae097a2aad0092c25f6807fcbab
    Closes-bug: #1476462

Changed in python-novaclient:
status: In Progress → Fix Committed

Reviewed: https://review.openstack.org/203919
Committed: https://git.openstack.org/cgit/openstack/python-cinderclient/commit/?id=2ec9a2251d1faa8a167e975bccbaa2e59137e47d
Submitter: Jenkins
Branch: master

commit 2ec9a2251d1faa8a167e975bccbaa2e59137e47d
Author: liyingjun <email address hidden>
Date: Tue Jul 21 12:50:14 2015 +0800

    Fixes table when there are multiline in result data

    The table doesn't display right when there are multiple line in
    result data. Fixes this by replace "\r" with " ".

    Change-Id: I0b994466f3c65ea973e80d9f03ca9a248147d49d
    Closes-bug: #1476462

Changed in python-cinderclient:
status: In Progress → Fix Committed
Changed in python-novaclient:
milestone: none → 2.27.0
status: Fix Committed → Fix Released
Changed in python-cinderclient:
milestone: none → 1.4.0
status: Fix Committed → Fix Released

This issue was fixed in the openstack/python-cinderclient 1.4.0 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers