From 408de4bd5fe436e1829f4b916f0f20042e48eacc Mon Sep 17 00:00:00 2001 From: Justin Santa Barbara Date: Mon, 28 Mar 2011 01:08:50 -0700 Subject: Clarified note about scope of the _poll_instance_states function --- nova/compute/manager.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nova/compute/manager.py b/nova/compute/manager.py index 0e42a4bd2..93eca61fb 100644 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -1060,7 +1060,9 @@ class ComputeManager(manager.SchedulerDependentManager): if db_state == power_state.NOSTATE: #Assume that NOSTATE => spawning #TODO(justinsb): This does mean that if we crash during a - #spawn, the machine will never leave the spawning state. + #spawn, the machine will never leave the spawning state, + #but this is just the way nova is; this function isn't + #trying to correct that problem. #We could have a separate task to correct this error. #TODO(justinsb): What happens during a live migration? LOG.info(_("Found instance '%(name)s' in DB but no VM. " -- cgit