Description of problem: In case a stopped instance is started after the flavor of it has been deleted and archived, the instance does not start up. Version-Release number of selected component (if applicable): OSP 6 How reproducible: always Steps to Reproduce: 1. Create a flavor 2. Create an instance based on the flavor 3. Delete the flavor 4. Stop the instance 5. Start the instance 6. Archive the flavor 7. Stop the instance 8. Start the instance Actual results: The instance does not start in Step (8) Expected results: The instance should still start. Additional info: This scenario does work if OSP 7 is used.
OSP7 specifically addresses this by putting flavor data into the instance record itself. That was a ton of work and definitely not backportable to OSP7. In all time before OSP7, if you actually hard delete the flavor from the database (as you're doing by a delete+archive) then the instance can't start because we have lost vital data about it. The solution is to never purge flavors in OSP6 and previous.