Add shelve/unshelve wrinkle to volume-backed disk func test
This adds a shelve/unshelve scenario to the functional test
which checks that root_gb from the flavor does not show up
in placement for volume-backed servers. Because the shelve
happens after we've cold migrated the server to a new host,
the fake virt driver's finish_migration() method needed to
be implemented to track the instance on the destination host.
Reviewed: https:/ /review. openstack. org/584931 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=dc5c69d0d11 8be838245a18fb6 36b044249a9863
Committed: https:/
Submitter: Zuul
Branch: master
commit dc5c69d0d118be8 38245a18fb636b0 44249a9863
Author: Matt Riedemann <email address hidden>
Date: Mon Jul 23 11:13:37 2018 -0400
Add shelve/unshelve wrinkle to volume-backed disk func test
This adds a shelve/unshelve scenario to the functional test
which checks that root_gb from the flavor does not show up
in placement for volume-backed servers. Because the shelve
happens after we've cold migrated the server to a new host,
the fake virt driver's finish_migration() method needed to
be implemented to track the instance on the destination host.
Change-Id: Ica456f2512ebe7 814c5d20f205ba8 9b49c42050a
Related-Bug: #1469179