LOG.warning on unplug_vifs InstanceNotFound
This changes the LOG level from exception to warning on an InstanceNotFound exception during unplug_vifs. Since no action is being taken on this exception the warning level is more appropriate. Change-Id: I8778e3aa80089445fb51431db9a2feeb9db0399b
This commit is contained in:
parent
b676299541
commit
17e8070fd1
|
@ -1053,9 +1053,8 @@ class PowerVMDriver(driver.ComputeDriver):
|
|||
try:
|
||||
tf_base.run(flow, instance=instance)
|
||||
except exception.InstanceNotFound:
|
||||
LOG.exception('VM was not found during unplug operation '
|
||||
'as it is already possibly deleted.',
|
||||
instance=instance)
|
||||
LOG.warning('VM was not found during unplug operation as it is '
|
||||
'already possibly deleted.', instance=instance)
|
||||
except Exception:
|
||||
LOG.exception("PowerVM error trying to unplug vifs.",
|
||||
instance=instance)
|
||||
|
|
Loading…
Reference in New Issue