I2f9ad3df25306e070c8c3538bfed1212d6d8682f fup: add log

Log that we're deleting a compute service with no associated compute
node records.

Change-Id: I72a867fe0287e1a3f75d717107011fbf447731d4
This commit is contained in:
Artom Lifshitz
2021-07-30 12:38:34 +02:00
parent 880611df0b
commit a3d0aa4772
+2 -1
View File
@@ -306,7 +306,8 @@ class ServiceController(wsgi.Controller):
# get_all_host() above will raise, as there are no longer
# any compute node records for the host. Catch it here and
# continue to allow compute service deletion.
pass
LOG.info('Deleting compute service with no associated '
'compute nodes.')
aggrs = self.aggregate_api.get_aggregates_by_host(context,
service.host)