Cannot to delete vim, if barbican's secret does not existed.
When deleting vim, if the fernet key associated with vim does not exist in barbican, vim is also allowed to be deleted. Change-Id: Icec26074423fb0fcd04f0051706402c15da86d08 Closes-bug: #1783959
This commit is contained in:
parent
0da9469017
commit
13d85bdeb1
|
@ -245,7 +245,6 @@ class BarbicanKeyManager(key_manager.KeyManager):
|
|||
barbican_exception.HTTPServerError) as e:
|
||||
LOG.error("Error deleting object: %s", e)
|
||||
if self._is_secret_not_found_error(e):
|
||||
raise exception.ManagedObjectNotFoundError(
|
||||
uuid=managed_object_id)
|
||||
pass
|
||||
else:
|
||||
raise exception.KeyManagerError(reason=e)
|
||||
|
|
Loading…
Reference in New Issue