After failing to add a network element to the storage, it is not possible to redo this because of an issue with a file lock in the plugin regitry
a
Description
If adding a network element fails, retrying results in the plugin registry sending errors about a file being locked. This deadlock requires a complete restart of the controller or rather the plugin registry to solve it. So, there should be either a mechanism to remove the file lock after failing to add a network element or maybe this could be done by uisng a timeout on the lock.
Expected Behavior
After failing to add one network element for whatever reason, it can be added after the underlying issue has been fixed. Meaning, it is possible to access the previously locked file via the plugin registry.
Actual Behavior
File lock leads to deadlock which requires restart.