The SchedulerManager doesn't receive all the compute.instance.delete.end notifications

Sometimes the SchedulerManager doesn't receive the "compute.instance.delete.end"
notifications of VMs destroyed before to be active.

Bug: #1690126
Change-Id: If874d436b825e2f430e246ccc7663df1bebd461c
Sem-Ver: bugfix
This commit is contained in:
Lisa Zangrando 2017-05-11 12:57:06 +02:00
parent 493cba210b
commit 0e5e7b46de
1 changed files with 1 additions and 2 deletions

View File

@ -117,8 +117,7 @@ class Notifications(object):
else:
quota = self.projects[server.getProjectId()].getQuota()
if event_type == "compute.instance.delete.end" and \
state == "deleted":
if event_type == "compute.instance.delete.end":
LOG.info("the server %s has been deleted on host %s"
% (server_id, host))
try: