summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Santa Barbara <justin@fathomdb.com>2011-03-28 01:08:50 -0700
committerJustin Santa Barbara <justin@fathomdb.com>2011-03-28 01:08:50 -0700
commit408de4bd5fe436e1829f4b916f0f20042e48eacc (patch)
treef54088bf518f8795ebc53458ceb59b8dc9c6a852
parent7ed45fe61416213a4fbfba7e45a765e43b933e16 (diff)
downloadnova-408de4bd5fe436e1829f4b916f0f20042e48eacc.tar.gz
nova-408de4bd5fe436e1829f4b916f0f20042e48eacc.tar.xz
nova-408de4bd5fe436e1829f4b916f0f20042e48eacc.zip
Clarified note about scope of the _poll_instance_states function
-rw-r--r--nova/compute/manager.py4
1 files changed, 3 insertions, 1 deletions
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. "