nova/nova/tests/unit/api
Takashi NATSUME 8f78dc68d9 Avoid lazy-loading instance.flavor in cold migration
The instance.flavor is lazy-loaded currently in the resize method
in nova/compute/api.py.

Set expected_attrs=['flavor'] at the common.get_instance
in the _migrate method
in nova/api/openstack/compute/migrate_server.py
to avid lazy-loading instance.flavor.

Change-Id: Iba3b7c3e027ec78395a102c1fed46fa7a2ffa7be
Closes-Bug: #1829877
2019-06-03 15:28:21 +09:00
..
openstack Avoid lazy-loading instance.flavor in cold migration 2019-06-03 15:28:21 +09:00
__init__.py
test_auth.py conf: Move api options to a group 2016-11-25 16:32:31 -06:00
test_compute_req_id.py Migrate to oslo request_id middleware - mv 2.46 2017-05-27 10:11:44 +00:00
test_wsgi.py Refactor WSGI apps and utils to limit imports 2018-03-06 22:05:12 +00:00