diff options
| author | Brian Lamar <brian.lamar@rackspace.com> | 2011-04-01 14:16:17 -0400 |
|---|---|---|
| committer | Brian Lamar <brian.lamar@rackspace.com> | 2011-04-01 14:16:17 -0400 |
| commit | dcb94be18b1f8b3591d7304208b64a296cdd71f6 (patch) | |
| tree | c380228764a4a3580a613bc4ffe1c368978b8891 | |
| parent | 7688cbb07ffcfd6446dc9ede60fb9eb610809c1d (diff) | |
Poller needs to check for BUILDING not NOSTATE now, since we're being more explict about what is going on.
| -rw-r--r-- | nova/compute/manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/compute/manager.py b/nova/compute/manager.py index db1d6950e..1e0997a97 100644 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -1104,7 +1104,7 @@ class ComputeManager(manager.SchedulerDependentManager): if vm_instance is None: # NOTE(justinsb): We have to be very careful here, because a # concurrent operation could be in progress (e.g. a spawn) - if db_state == power_state.NOSTATE: + if db_state == power_state.BUILDING: # Assume that NOSTATE => spawning # TODO(justinsb): This does mean that if we crash during a # spawn, the machine will never leave the spawning state, |
