rackspace/reddwarf — Issue #247: In Nova compute terminate_instance, only catch specific "not found" exception from "_shutdown_instance" instead of any exception
Author: TimSimpsonR
Created: 2011-10-27 16:33:51+00:00
State: open

Right now we're catching any exception that can be raise from _shutdown_instance.

The issue being avoided is that the OpenVZ driver will throw a very general exception when shutting down an instance if that instance can't be found. However what we're doing to catch this could catch exceptions we need to see in cases where the instance had no reason not to shut down and could still be costing us resources.

We probably need to update the OpenVZ to raise a more specific issue and then catch only that.