duplicate property in server show for volumes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Description
===========
Too many properties for volume attachments.
volumes, attached_volumes and volumes_attached have same info,
we can have volumes and attached_volumes (in pretty format).
Steps to reproduce
==================
- Add 2 volumes to server
- Run openstack server show cmd
$ openstack server show demo_vm_2 --fit-width -c name, -c volumes_attached -c attached_volumes -c volumes
Actual result
=============
+--
| Field | Value |
+--
| attached_volumes | [{'device': None, 'id': '<_id>', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_
| | {'device': None, 'id': '<_id1>', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_
| volumes | [{'device': None, 'id': '<_id>', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_
| | {'device': None, 'id': '<_id1>', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_
| volumes_attached | attachment_id=, bdm_id=, delete_
| | attachment_id=, bdm_id=, delete_
+--
if above is not clear see here: https:/
Here we have 3 properties for volume attachments, and they all have almost the same data, "volumes" is enough; it gives the data that's really required.
Expected result
===============
Something like nova client:
| os-extended-
or only property for volumes.
in project repo, it's said, the team is maintaining bugs at Story Board.
created bug there.
https:/ /storyboard. openstack. org/#!/ story/2010854