Fuel Env List outputs Json under Changes which breaks formatting

Bug #1373471 reported by Michael Petersen
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Fuel Python (Deprecated)

Bug Description

In previous releases this command didn't output all of the additional information under changes. When setting up large environments the output breaks formatting and makes it unreadable:

Example with a small environment:

[root@fuel ~]# fuel env list
id | status | name | mode | release_id | changes | pending_release_id
---|--------|---------|------------|------------|----------------------------------------------------------------------------------------|-------------------
1 | new | New Env | ha_compact | 1 | [{u'node_id': None, u'name': u'attributes'}, {u'node_id': None, u'name': u'networks'}] | None

When the environment is bigger the output under changes will show up over multiple lines.

Changed in fuel:
assignee: nobody → Fuel Python Team (fuel-python)
milestone: none → 6.0
importance: Undecided → Medium
Revision history for this message
Aleksey Kasatkin (alekseyk-ru) wrote :

# fuel env list
id | status | name | mode | release_id | changes | pending_release_id
---|--------|--------|------------|------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------
4 | new | asdfgh | ha_compact | 2 | [{u'node_id': None, u'name': u'attributes'}, {u'node_id': None, u'name': u'networks'}, {u'node_id': 11, u'name': u'disks'}, {u'node_id': 12, u'name': u'disks'}] | None

Changed in fuel:
status: New → Confirmed
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 6.0 → 6.1
Dmitry Pyzhov (dpyzhov)
tags: added: module-client
removed: cli
Changed in fuel:
milestone: 6.1 → 7.0
tags: added: qa-agree-7.0
Revision history for this message
Aleksey Kasatkin (alekseyk-ru) wrote :

It does not break anything. Moved to 8.0.

tags: added: known-issue
Changed in fuel:
status: Confirmed → Won't Fix
Dmitry Pyzhov (dpyzhov)
no longer affects: fuel/8.0.x
Changed in fuel:
status: Won't Fix → Confirmed
milestone: 7.0 → 8.0
Dmitry Pyzhov (dpyzhov)
tags: added: area-python
Revision history for this message
Maciej Kwiek (maciej-iai) wrote :

It seems, that 'changes' column is not shown in cli anymore so this particular bug is fixed, but I think we should file a bug that will handle rendering of really long output in cli, which does not behave gracefully right now (you can check it by assigning a really long label to nodes and display it by fuel2 label list).

Revision history for this message
Maciej Kwiek (maciej-iai) wrote :

Submitted a new, more general bug, marking this one as invalid.

Changed in fuel:
status: Confirmed → Invalid
Revision history for this message
Maciej Kwiek (maciej-iai) wrote :
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.