Bug 1034762 - openstack-nova: the list of attached volumes to an instance is hard to read
Summary: openstack-nova: the list of attached volumes to an instance is hard to read
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-novaclient
Version: 4.0
Hardware: x86_64
OS: All
low
low
Target Milestone: ---
: 4.0
Assignee: Jakub Ruzicka
QA Contact: Ami Jeain
URL: https://bugs.launchpad.net/nova/+bug/...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-26 13:24 UTC by Yogev Rabl
Modified: 2019-09-09 16:35 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-26 14:17:48 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1255094 0 None None None Never

Description Yogev Rabl 2013-11-26 13:24:50 UTC
Description of problem:
The implementation of the the RFE Bug 978519 is problematic: 

The list of the volumes attached is presented in the 'nova show' output as a list of dictionaries, like so: 

os-extended-volumes:volumes_attached | [{u'id': u'cfaba0b7-a578-48f3-8f2b-53b8c7f6447b'}| 

The "u'id" key is irrelevant to the administrator and it is unnecessary. 
When there are more than 2 volumes attached to the instance the display is unreadable: 

| os-extended-volumes:volumes_attached | [{u'id': u'cfaba0b7-a578-48f3-8f2b-53b8c7f6447b'}, {u'id': u'07fd2432-3ae8-402e-acfd-fb2146942f99'}, {u'id': u'37683c4d-0bbd-4eb7-900a-cb7596375221'}, {u'id': u'554c605a-7c9b-4192-af42-3be5daf3c203'}, {u'id': u'f01fa946-a6e5-4581-ac18-f482f454794e'}] |


Version-Release number of selected component (if applicable):
openstack-nova-common-2013.2-5.el6ost.noarch
openstack-nova-network-2013.2-5.el6ost.noarch
python-novaclient-2.15.0-1.el6ost.noarch
python-nova-2013.2-5.el6ost.noarch
openstack-nova-api-2013.2-5.el6ost.noarch
openstack-nova-console-2013.2-5.el6ost.noarch
openstack-nova-compute-2013.2-5.el6ost.noarch
openstack-nova-conductor-2013.2-5.el6ost.noarch
openstack-nova-novncproxy-2013.2-5.el6ost.noarch
openstack-nova-scheduler-2013.2-5.el6ost.noarch
openstack-nova-cert-2013.2-5.el6ost.noarch

Red Hat Enterprise Linux Server release 6.5

How reproducible:
everytime

Steps to Reproduce:
1. attach volumes to an instance
2. run nova show <instance name / uid>
3.

Actual results:


Expected results:
a clean list of the uid's of the volumes attached to the instance. 

Additional info:

Comment 1 Xavier Queralt 2013-11-26 13:45:42 UTC
The dict containing the volume ID's should be parsed and presented properly by the nova client, not in nova.

Comment 2 Jakub Ruzicka 2013-11-26 13:54:10 UTC
This is an upstream wishlisth bug. Please report upstream and link the External Tracker.

https://bugs.launchpad.net/python-novaclient/+filebug

Comment 4 Jakub Ruzicka 2013-11-26 14:16:27 UTC
Oops, I missed the upstream bug in URL. Added as External Tracker.

I think reporting upstream is sufficient in this case. The fix will be included in next client release once it's merged.

As a side note, please don't reference downstream bugs in upstream bug tracker.

Comment 5 Yogev Rabl 2013-11-27 10:37:38 UTC
I've removed the needinfo


Note You need to log in before you can comment on or make changes to this bug.