yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #69438
[Bug 1734504] [NEW] User can't know which flavor used for resize by the result of "nova migration-list"
Public bug reported:
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
** Affects: nova
Importance: Low
Status: New
** Changed in: nova
Importance: Undecided => Low
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1734504
Title:
User can't know which flavor used for resize by the result of "nova
migration-list"
Status in OpenStack Compute (nova):
New
Bug 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
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1734504/+subscriptions