[Trivial] Remove wrong format_message() conversion

This is a bug, follow up with the nova-cyborg-interaction patch,
comment by sean-k-mooney [1].

Conflicts:
  nova/compute/manager.py

NOTE(stephenfin): Conflicts are due to change
Ifc8fe3b8cc589d27e9d9f00122dffd7e6ed10b13 ("Remove unused function
parameters") which is trivial cleanup but likely too invasive to
backport.

[1] https://review.opendev.org/#/c/631244/69/nova/compute/manager.py@2599

Change-Id: I40bd9c0fa62c8087fa06af44b0b28dfe050fa1e6
Closes-Bug: #1890428
(cherry picked from commit 5d26fda5ea)
This commit is contained in:
zhangbailin 2020-08-01 16:45:03 +08:00 committed by Stephen Finucane
parent 034b2fa8fe
commit 30ee639b62
1 changed files with 1 additions and 1 deletions

View File

@ -2602,7 +2602,7 @@ class ComputeManager(manager.Manager):
arqs = self._get_bound_arq_resources(
context, dp_name, instance, accel_uuids)
except (Exception, eventlet.timeout.Timeout) as exc:
LOG.exception(exc.format_message())
LOG.exception(exc)
self._build_resources_cleanup(instance, network_info)
compute_utils.delete_arqs_if_needed(context, instance)
msg = _('Failure getting accelerator requests.')