Comment 1 for bug 1649442

Revision history for this message
licanwei (li-canwei2) wrote :

Now the disk_capacity gets from flavor.disk. but if the VM uses volume in storage array, the flavor.disk is 0.

[root@host_192_51_151_2 ~(keystone_admin)]# nova flavor-show 4
+----------------------------+----------+
| Property | Value |
+----------------------------+----------+
| OS-FLV-DISABLED:disabled | False |
| OS-FLV-EXT-DATA:ephemeral | 0 |
| disk | 80 |
| extra_specs | N/A |
| id | 4 |
| name | m1.large |
| os-flavor-access:is_public | True |
| ram | 8192 |
| rxtx_factor | 1.0 |
| swap | |
| vcpus | 4 |
+----------------------------+----------+
[root@host_192_51_151_2 ~(keystone_admin)]# nova flavor-show 0218bf36-375a-4272-a43a-b7a3b70a4c9b
+----------------------------+--------------------------------------+
| Property | Value |
+----------------------------+--------------------------------------+
| OS-FLV-DISABLED:disabled | False |
| OS-FLV-EXT-DATA:ephemeral | 0 |
| disk | 0 |
| extra_specs | N/A |
| id | 0218bf36-375a-4272-a43a-b7a3b70a4c9b |
| name | 4H8M0Gstorage |
| os-flavor-access:is_public | True |
| ram | 8192 |
| rxtx_factor | 1.0 |
| swap | |
| vcpus | 4 |
+----------------------------+--------------------------------------+