diff options
| author | Josh Kearney <josh@jk0.org> | 2011-04-15 15:46:25 +0000 |
|---|---|---|
| committer | Tarmac <> | 2011-04-15 15:46:25 +0000 |
| commit | 6e0dab845749de8e97a940a3a178b940f4e7a55f (patch) | |
| tree | 8d9e3f25fed0c8546dfe8cf71bd25be482ff3abe | |
| parent | f551d62a450969af9f5edb9ecfcbbaa096df0aad (diff) | |
| parent | 4a8cfa72377546ff0647d774b6b9edafd03cf894 (diff) | |
Only poll for instance states that compute should care about.
| -rw-r--r-- | nova/compute/manager.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/nova/compute/manager.py b/nova/compute/manager.py index 68b163355..39d7af9c1 100644 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -1111,6 +1111,9 @@ class ComputeManager(manager.SchedulerDependentManager): # Are there VMs not in the DB? for vm_not_found_in_db in vms_not_found_in_db: name = vm_not_found_in_db - # TODO(justinsb): What to do here? Adopt it? Shut it down? - LOG.warning(_("Found VM not in DB: '%(name)s'. Ignoring") - % locals()) + + # We only care about instances that compute *should* know about + if name.startswith("instance-"): + # TODO(justinsb): What to do here? Adopt it? Shut it down? + LOG.warning(_("Found VM not in DB: '%(name)s'. Ignoring") + % locals()) |
