Disambiguate logs in delete_allocation_for_instance

Two different error conditions in
SchedulerReportClient.delete_allocation_for_instance printed the same
warning log, which could be confusing. Reword one of them to
disambiguate.

Change-Id: Id1c5493a7270f2d0594e918df8704f671416a221
This commit is contained in:
Eric Fried 2019-07-19 17:02:32 -05:00
parent d29d1d1a9e
commit d02de0e149
1 changed files with 2 additions and 1 deletions

View File

@ -1998,7 +1998,8 @@ class SchedulerReportClient(object):
# at the moment there is no way placement returns a failure so we
# could even delete this code
LOG.warning('Unable to delete allocation for %(consumer_type)s '
'%(uuid)s: (%(code)i %(text)s)',
'%(uuid)s. Got %(code)i while retrieving existing '
'allocations: (%(text)s)',
{'consumer_type': consumer_type,
'uuid': uuid,
'code': r.status_code,