Openstack image show should display size in human friendly format
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Fix Released
|
Low
|
Badhmapriya Boopalan |
Bug Description
Issue : Currently, there is no option to display the image size in a human readable format(such as kb, MB, GB, TB,..)
Scenario : View image details in openstack
stack@openstack
+------
| Field | Value |
+------
| checksum | eb9139e4942121f
| container_format | ami |
| created_at | 2016-11-
| disk_format | ami |
| file | /v2/images/
| id | 4de4936a-
| min_disk | 0 |
| min_ram | 0 |
| name | cirros-
| owner | 61448364d58f4f6
| properties | kernel_
| ramdisk_
| protected | False |
| schema | /v2/schemas/image |
| size | 25165824 |
| status | active |
| tags | |
| updated_at | 2016-11-
| virtual_size | None |
| visibility | public |
+------
Note : size = 25165824
However, in glance client, there is an option to view image details in human-readable format, as illustrated below.
stack@openstack
+------
| Property | Value |
+------
| checksum | eb9139e4942121f
| container_format | ami |
| created_at | 2016-11-
| disk_format | ami |
| id | 4de4936a-
| kernel_id | c81806b8-
| min_disk | 0 |
| min_ram | 0 |
| name | cirros-
| owner | 61448364d58f4f6
| protected | False |
| ramdisk_id | e1a3062a-
| size | 24MB |
| status | active |
| tags | [] |
| updated_at | 2016-11-
| virtual_size | None |
| visibility | public |
+------
Note : size = 24MB
There is should be an option in openstack, to view size in more human friendly format
Changed in python-openstackclient: | |
assignee: | nobody → Badhmapriya Boopalan (priyaboopalan) |
Changed in python-openstackclient: | |
status: | Confirmed → In Progress |
Sounds reasonable