list of attached volumes in nova show is unreadable

Bug #1255094 reported by Yogev Rabl
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
New
Undecided
moorryan

Bug Description

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

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

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

Tags: nova-manage
Revision history for this message
Xavier Queralt (xqueralt-deactivatedaccount) wrote :

I imagine you are referring to blueprint servers-add-volume-list

The dict containing the volume ID's should be parsed and presented properly by the nova client, no the nova api.

affects: nova → python-novaclient
Changed in python-novaclient:
importance: Undecided → Low
Changed in python-novaclient:
assignee: nobody → Shree Duth Awasthi (shreeduth-awasthi)
melanie witt (melwitt)
Changed in python-novaclient:
status: New → Confirmed
Revision history for this message
moorryan (moorryan) wrote :

hi - noticed that this had not bee looked at in awhile - thought I would have a go

Changed in python-novaclient:
assignee: Shree Duth Awasthi (shreeduth-awasthi) → moorryan (moorryan)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-novaclient (master)

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

Changed in python-novaclient:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-novaclient (master)

Change abandoned by Joe Gordon (<email address hidden>) on branch: master
Review: https://review.openstack.org/127563
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Revision history for this message
Takashi Natsume (natsume-takashi) wrote :

This bug report has been 'In Progress' status for more than two years, but there is no activity.
So set it back to 'New' status and 'Undecided' importance.

Changed in python-novaclient:
status: In Progress → New
importance: Low → Undecided
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.