← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1436683] [NEW] nova flavor-list swap size is shown blank, it should be 0 as ephemeral

 

You have been subscribed to a public bug:

nova flavor-list swap size is shown blank, it should be 0 as ephemeral
for consistency and good user experience. Also it is not clear the size
shown is in which unit.

Steps to reproduce:-
> nova flavor-list
+--------------------------------------+----------------+-----------+------+-----------+------+-------+-------------+-----------+
| ID                                   | Name           | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+--------------------------------------+----------------+-----------+------+-----------+------+-------+-------------+-----------+
| 1                                    | m1.tiny        | 512       | 1    | 0         |      | 1     | 1.0         | True      |
| 2                                    | m1.small       | 2048      | 20   | 0         |      | 1     | 1.0         | True      |
| 3                                    | m1.medium      | 4096      | 40   | 0         |      | 2     | 1.0         | True      |
| 4                                    | m1.large       | 8192      | 80   | 0         |      | 4     | 1.0         | True      |
| 42                                   | nano           | 64        | 1    | 0         |      | 1     | 1.0         | False     |
| 5                                    | m1.xlarge      | 16384     | 160  | 0         |      | 8     | 1.0         | True      |
| 51bd5d47-1935-45f4-84db-5958f4d8a0fd | OTC            | 3096      | 30   | 0         |      | 1     | 1.0         | True      |
| 7                                    | macro          | 1024      | 5    | 0         |      | 1     | 1.0         | True      |
| 82                                   | test_flav      | 1024      | 1    | 0         | 20   | 1     | 1.0         | True      |
| 9                                    | computeFlavor  | 8192      | 30   | 0         |      | 4     | 1.0         | True      |
| cc711fc7-42ed-4d41-bb09-5cf637f2b8cb | OsInstallation | 8192      | 20   | 15        | 4    | 4     | 1.0         | True      |
+--------------------------------------+----------------+-----------+------+-----------+------+-------+-------------+-----------+

Here ephemeral disk is shown as 0, but swap space is shown "" when
doesn't exist. It should also be displayed as 0, also user doesn't know
what unit of size is used to display resources. Size unit should also be
displayed in output table header.

** Affects: nova
     Importance: Wishlist
     Assignee: Pooja Jadhav (poojajadhav)
         Status: Confirmed

-- 
nova flavor-list swap size is shown blank, it should be 0 as ephemeral
https://bugs.launchpad.net/bugs/1436683
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova).