2017-11-28 01:36:05 |
Charlotte Han |
description |
Description
===========
Users use "nova migration-list | grep resize" to see resize operation records, but they can't know which flavor is used for resize. Because "migrations" talbe record new flavor information using flavor's id which is consistent with "id" in "flavors" table, but users only can see 'flavorid' by "nova flavor-list".
Steps to reproduce
==================
* I did create two flavor
nova flavor-create test_01 test_01 128 1 1
nova flavor-create test_02 test_02 256 2 2
* then I did create an instance
nova boot --flavor test_01 --image abac216f-db4f-4c69-9d44-18405cf84d8f --nic net-id=ba8d7500-2d2a-425f-83b3-ffa45a5ad28a test_resize
* then I did resize instance from test_01 to test_02
nova resize e0661223-6ff0-461e-a9e4-f1db9be21787 test_02
* the I did look for resize migration records
nova migration-list | grep resize
| 204 | computer1 | ctrl3 | computer1 | ctrl3 | 193.168.1.13 | finished | e0661223-6ff0-461e-a9e4-f1db9be21787 | 12 | 14 | 2017-11-26T04:22:57.000000 | 2017-11-26T04:23:09.000000 | resize |
old flavor is 12, new flavor is 14
* I did search all flavors
nova flavor-list
+------------+--------------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+------------+--------------+-----------+------+-----------+------+-------+-------------+-----------
| test_01 | test_01 | 128 | 1 | 0 | | 1 | 1.0 | True |
| test_02 | test_02 | 256 | 2 | 0 | | 2 | 1.0 | True
+------------+--------------+-----------+------+-----------+------+-------+-------------+-----------+
Expected result
===============
As a user, I want to know which flavor is "14"?
Actual result
=============
User can't know what kind of flavor is "14"?
Environment
===========
1. Exact version of OpenStack you are running. See the following
list for all releases: http://docs.openstack.org/releases/
Pike |
Description
===========
Users use "nova migration-list | grep resize" to see resize operation records, but they can't know which flavor is used for resize. Because "migrations" talbe record new flavor information using flavor's id which is consistent with "id" in "flavors" table, but users only can see 'flavorid' by "nova flavor-list".
Steps to reproduce
==================
* I did create two flavor
nova flavor-create test_01 test_01 128 1 1
nova flavor-create test_02 test_02 256 2 2
* then I did create an instance
nova boot --flavor test_01 --image abac216f-db4f-4c69-9d44-18405cf84d8f --nic net-id=ba8d7500-2d2a-425f-83b3-ffa45a5ad28a test_resize
* then I did resize instance from test_01 to test_02
nova resize e0661223-6ff0-461e-a9e4-f1db9be21787 test_02
* the I did look for resize migration records
nova migration-list | grep resize
| 204 | computer1 | ctrl3 | computer1 | ctrl3 | 193.168.1.13 | finished | e0661223-6ff0-461e-a9e4-f1db9be21787 | 1 | 2 | 2017-11-26T04:22:57.000000 | 2017-11-26T04:23:09.000000 | resize |
old flavor is 1, new flavor is 2
* I did search all flavors
nova flavor-list
+------------+--------------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+------------+--------------+-----------+------+-----------+------+-------+-------------+-----------
| test_01 | test_01 | 128 | 1 | 0 | | 1 | 1.0 | True |
| test_02 | test_02 | 256 | 2 | 0 | | 2 | 1.0 | True
+------------+--------------+-----------+------+-----------+------+-------+-------------+-----------+
Expected result
===============
As a user, I want to know which flavor is "2"?
for example:
nova migration-list | grep resize
| 204 | computer1 | ctrl3 | computer1 | ctrl3 | 193.168.1.13 | finished | e0661223-6ff0-461e-a9e4-f1db9be21787 | test_01 | test_02 | 2017-11-26T04:22:57.000000 | 2017-11-26T04:23:09.000000 | resize |
Actual result
=============
User can't know what kind of flavor is "2"?
Environment
===========
1. Exact version of OpenStack you are running. See the following
list for all releases: http://docs.openstack.org/releases/
Pike |
|
2017-11-29 02:01:41 |
Charlotte Han |
description |
Description
===========
Users use "nova migration-list | grep resize" to see resize operation records, but they can't know which flavor is used for resize. Because "migrations" talbe record new flavor information using flavor's id which is consistent with "id" in "flavors" table, but users only can see 'flavorid' by "nova flavor-list".
Steps to reproduce
==================
* I did create two flavor
nova flavor-create test_01 test_01 128 1 1
nova flavor-create test_02 test_02 256 2 2
* then I did create an instance
nova boot --flavor test_01 --image abac216f-db4f-4c69-9d44-18405cf84d8f --nic net-id=ba8d7500-2d2a-425f-83b3-ffa45a5ad28a test_resize
* then I did resize instance from test_01 to test_02
nova resize e0661223-6ff0-461e-a9e4-f1db9be21787 test_02
* the I did look for resize migration records
nova migration-list | grep resize
| 204 | computer1 | ctrl3 | computer1 | ctrl3 | 193.168.1.13 | finished | e0661223-6ff0-461e-a9e4-f1db9be21787 | 1 | 2 | 2017-11-26T04:22:57.000000 | 2017-11-26T04:23:09.000000 | resize |
old flavor is 1, new flavor is 2
* I did search all flavors
nova flavor-list
+------------+--------------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+------------+--------------+-----------+------+-----------+------+-------+-------------+-----------
| test_01 | test_01 | 128 | 1 | 0 | | 1 | 1.0 | True |
| test_02 | test_02 | 256 | 2 | 0 | | 2 | 1.0 | True
+------------+--------------+-----------+------+-----------+------+-------+-------------+-----------+
Expected result
===============
As a user, I want to know which flavor is "2"?
for example:
nova migration-list | grep resize
| 204 | computer1 | ctrl3 | computer1 | ctrl3 | 193.168.1.13 | finished | e0661223-6ff0-461e-a9e4-f1db9be21787 | test_01 | test_02 | 2017-11-26T04:22:57.000000 | 2017-11-26T04:23:09.000000 | resize |
Actual result
=============
User can't know what kind of flavor is "2"?
Environment
===========
1. Exact version of OpenStack you are running. See the following
list for all releases: http://docs.openstack.org/releases/
Pike |
Description
===========
Users use "nova migration-list | grep resize" to see resize operation records, but they can't know which flavor is used for resize. Because "migrations" table record new flavor information using flavor's id which is consistent with "id" in "flavors" table, but users only can see 'flavorid' by "nova flavor-list".
Steps to reproduce
==================
* I did create two flavor
nova flavor-create test_01 test_01 128 1 1
nova flavor-create test_02 test_02 256 2 2
* then I did create an instance
nova boot --flavor test_01 --image abac216f-db4f-4c69-9d44-18405cf84d8f --nic net-id=ba8d7500-2d2a-425f-83b3-ffa45a5ad28a test_resize
* then I did resize instance from test_01 to test_02
nova resize e0661223-6ff0-461e-a9e4-f1db9be21787 test_02
* the I did look for resize migration records
nova migration-list | grep resize
| 204 | computer1 | ctrl3 | computer1 | ctrl3 | 193.168.1.13 | finished | e0661223-6ff0-461e-a9e4-f1db9be21787 | 1 | 2 | 2017-11-26T04:22:57.000000 | 2017-11-26T04:23:09.000000 | resize |
old flavor is 1, new flavor is 2
* I did search all flavors
nova flavor-list
+------------+--------------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+------------+--------------+-----------+------+-----------+------+-------+-------------+-----------
| test_01 | test_01 | 128 | 1 | 0 | | 1 | 1.0 | True |
| test_02 | test_02 | 256 | 2 | 0 | | 2 | 1.0 | True
+------------+--------------+-----------+------+-----------+------+-------+-------------+-----------+
Expected result
===============
As a user, I want to know which flavor is "2"?
for example:
nova migration-list | grep resize
| 204 | computer1 | ctrl3 | computer1 | ctrl3 | 193.168.1.13 | finished | e0661223-6ff0-461e-a9e4-f1db9be21787 | test_01 | test_02 | 2017-11-26T04:22:57.000000 | 2017-11-26T04:23:09.000000 | resize |
Actual result
=============
User can't know what kind of flavor is "2"?
Environment
===========
1. Exact version of OpenStack you are running. See the following
list for all releases: http://docs.openstack.org/releases/
Pike |
|