Model Lock Failure - The model is already locked by user running application OneClick.
search cancel

Model Lock Failure - The model is already locked by user running application OneClick.

book

Article ID: 20613

calendar_today

Updated On:

Products

Spectrum Network Observability

Issue/Introduction

You cannot add or delete anything on one device model in OneClick because it is locked by a user (see message in title above).

Environment

Release: All Supported Releases
Component: SPCDIS - Discovery and Modeling

Resolution

There is a possibility to unlock models over the OneClick Web Page. Please be advised that all the changes done by the user that locked this model are gone afterwards. So make sure you check with the "locking" user, before you go ahead with the following solution:

  1. Access the OneClick Web Page (as an Administrator user) --> Administration --> Debugging --> Model Locks
  2. There will be entries showing the locked models.
  3. The lock can be forcibly "removed" from the table listing.

Please see related Tech Doc - KB000051576 - Spectrum - Model Lock Error while trying to discover the devices manually after migration.

*If the above solution does not release the lock then Stop and Restart Tomcat (./stopTomcat.sh \ ./startTomcat.sh) on the OneClick Server.