Hide Forgot
Description of problem: We cannot offline migrate an instance (nova migrate) that has its flavor deleted. It throws the error 'FlavorNotFound' which is an expected behavior. How about adding a warning message that takes a confirmation from the user that does he really wants to delete the flavor and display its consequences? Version-Release number of selected component (if applicable): RHOS 7,8,9 How reproducible: Always Steps to Reproduce: 1.Spawn an instance A with a flavor X. 2.Delete the flavor X. 3.Try to migrate the instance A(nova migrate): It will fail with 'FlavorNotFound' error. 4.Even if we create a flavor with same name, same ID, the instance would not be able to migrate with same error. Actual results: Nova Flavor gets deleted without any confirmation from user Expected results: While deleting a flavor, it should ask the user if he really wants to delete the flavor.
This type of workflow (as used in resize) has typically been pretty problematic. I don't think this level of protection belongs in the Nova client or API.
Product Management has reviewed and declined this request. You may appeal this decision by reopening this request.